Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Jan 5, 2024
1 parent 3c729da commit 04d1a6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
22 changes: 5 additions & 17 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,24 +359,12 @@ publish_redhat_marketplace_operators:
script:
- echo "CI_COMMIT_TAG $CI_COMMIT_TAG"
- echo "CI_PROJECT_DIR $CI_PROJECT_DIR"
- VERSION_TAG=vX.Y.Z
- VERSION={$VERSION_TAG:1}
- git config --global user.email $GITLAB_USER_EMAIL
- git config --global user.name $GITLAB_USER_NAME
- aws ssm get-parameter --region us-east-1 --name ci.datadog-operator..github-robot-token --with-decryption --query "Parameter.Value" --out text > git-token.txt
- aws ssm get-parameter --region us-east-1 --name ci.datadog-operator.github-robot-token --with-decryption --query "Parameter.Value" --out text > git-token.txt
- gh auth login --with-token < git-token.txt
- gh auth setup-git
- make bundle-redhat
- ./.gitlab/community-operators_pr.sh

#publish_community_marketplace_operators:
## stage: post-release
# stage: community-prs-testing
# rules:
# - when: manual
## - if: $CI_COMMIT_TAG
## when: manual
## - when: never
## needs:
## - "publish_public_tag"
# tags: [ "runner:docker", "size:large" ]
# image: $JOB_DOCKER_IMAGE
# script:
# - make bundle-redhat
- ./.gitlab/community-operators_pr.sh $VERSION community-operators community-operators-prod
2 changes: 1 addition & 1 deletion .gitlab/community_operator_prs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ do

clone_and_sync_fork
update_bundle
create_pr
# create_pr

done

Expand Down

0 comments on commit 04d1a6b

Please sign in to comment.