diff --git a/.github/workflows/testing_and_publishing_OLM_bundle.yml b/.github/workflows/testing_and_publishing_OLM_bundle.yml index ec777186b..587234bce 100644 --- a/.github/workflows/testing_and_publishing_OLM_bundle.yml +++ b/.github/workflows/testing_and_publishing_OLM_bundle.yml @@ -199,12 +199,14 @@ jobs: with: repository: rabbitmq/community-operators path: ./community-operators + token: ${{ secrets.RABBITMQ_CI_TOKEN }} - name: Checkout community-operators-prod fork (Openshift Ecosystem) uses: actions/checkout@v4 with: repository: rabbitmq/community-operators-prod path: ./community-operators-prod + token: ${{ secrets.RABBITMQ_CI_TOKEN }} - name: Download OLM artifact uses: actions/download-artifact@v4 @@ -214,8 +216,8 @@ jobs: - name: Create branch for OperatorHub PR env: BUNDLE_VERSION: ${{ needs.test-olm-package.outputs.olm_package_version }} - # RABBITMQ_CI_EMAIL: https://tpe-vault-rock.eng.vmware.com/ui/vault/secrets/secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details - # RABBITMQ_CI_TOKEN: https://tpe-vault-rock.eng.vmware.com/ui/vault/secrets/secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details + # RABBITMQ_CI_EMAIL: secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details + # RABBITMQ_CI_TOKEN: secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details run: | mkdir -p community-operators/operators/rabbitmq-cluster-operator pushd community-operators/operators/rabbitmq-cluster-operator || exit 1 @@ -230,14 +232,14 @@ jobs: sed -i -e "s/latest/$BUNDLE_VERSION/g" ./$BUNDLE_VERSION/manifests/rabbitmq.clusterserviceversion.yaml git add . git commit -s -m "RabbitMQ operator new release" - git push https://rabbitmq-ci:"${{ secrets.RABBITMQ_CI_TOKEN }}"@github.com/rabbitmq/community-operators + git push popd - name: Create branch for Openshift Ecosystem PR env: BUNDLE_VERSION: ${{ needs.test-olm-package.outputs.olm_package_version }} - # RABBITMQ_CI_EMAIL: https://tpe-vault-rock.eng.vmware.com/ui/vault/secrets/secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details - # RABBITMQ_CI_TOKEN: https://tpe-vault-rock.eng.vmware.com/ui/vault/secrets/secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details + # RABBITMQ_CI_EMAIL: secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details + # RABBITMQ_CI_TOKEN: secret_rabbitmq/kv/Shared-Shared-RabbitMQ%2Frabbitmq-ci/details run: | cd community-operators-prod/operators/rabbitmq-cluster-operator git config --local user.name "rabbitmq-ci" @@ -252,4 +254,4 @@ jobs: sed -i -e "s/latest/$BUNDLE_VERSION/g" ./$BUNDLE_VERSION/manifests/rabbitmq.clusterserviceversion.yaml git add . git commit -s -m "RabbitMQ operator new release" - git push https://rabbitmq-ci:"${{ secrets.RABBITMQ_CI_TOKEN }}"@github.com/rabbitmq/community-operators-prod \ No newline at end of file + git push \ No newline at end of file