Skip to content

Commit e2b1d74

Browse files
authored
Update OLM bundle workflow
- Renamed "publish" jobs to have different names - Uncomment conditional. This was left-behind from a DEV branch [skip ci]
1 parent f86fbf5 commit e2b1d74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/testing_and_publishing_OLM_bundle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
./OLM-Package-Repo/testfiles/uninstall-rabbitmq-cluster-operator.sh $OLM_INDEX_TAG
187187
188188
publish-bundle-operatorhub:
189-
name: Publish on OperatorHub and Openshift marketplace
189+
name: Create branch for OperatorHub PR
190190
runs-on: ubuntu-latest
191191
needs: test-olm-package
192192
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
@@ -222,10 +222,10 @@ jobs:
222222
git push --set-upstream origin "rabbitmq-cluster-operator-$BUNDLE_VERSION"
223223
224224
publish-bundle-redhat-marketplace:
225-
name: Publish on OperatorHub and Openshift marketplace
225+
name: Create branch for Openshift marketplace PR
226226
runs-on: ubuntu-latest
227227
needs: test-olm-package
228-
# if: ${{ startsWith(github.ref, 'refs/tags/v') }}
228+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
229229
steps:
230230
- name: Checkout community-operators-prod fork (Openshift Ecosystem)
231231
uses: actions/checkout@v4
@@ -255,4 +255,4 @@ jobs:
255255
sed -i -e "s/latest/$BUNDLE_VERSION/g" ./operators/rabbitmq-cluster-operator/"$BUNDLE_VERSION"/manifests/rabbitmq.clusterserviceversion.yaml
256256
git add operators/rabbitmq-cluster-operator
257257
git commit -s -m "RabbitMQ Operator release $BUNDLE_VERSION"
258-
git push --set-upstream origin "rabbitmq-cluster-operator-$BUNDLE_VERSION"
258+
git push --set-upstream origin "rabbitmq-cluster-operator-$BUNDLE_VERSION"

0 commit comments

Comments
 (0)