diff --git a/.github/workflows/release-update-java-operator-plugins.yml b/.github/workflows/release-update-java-operator-plugins.yml
deleted file mode 100644
index 01aa0709..00000000
--- a/.github/workflows/release-update-java-operator-plugins.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-name: Update java-operator-plugins
-
-on:
- workflow_call:
- inputs:
- qosdk-version:
- type: string
- required: true
- quarkus-version:
- type: string
- required: true
- secrets:
- qosdk-bot-token:
- required: true
-jobs:
- update-java-operator-plugins:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- with:
- repository: operator-framework/java-operator-plugins
-
- - name: Update QOSDK version to ${{inputs.qosdk-version}} in java-operator-plugins
- run: |
- sed -i -e 's|.*|${{inputs.qosdk-version}}|' $(pwd)/pkg/quarkus/v1beta/scaffolds/internal/templates/pomxml.go
- sed -i -e 's|.*|${{inputs.qosdk-version}}|' $(pwd)/testdata/quarkus/memcached-quarkus-operator/pom.xml
-
- echo "Using Quarkus ${{ inputs.quarkus-version }}"
- ./mvnw versions:set-property -Dproperty=quarkus.version -DnewVersion=${{inputs.quarkus-version}} -f ./testdata/quarkus/memcached-quarkus-operator/pom.xml versions:commit
- sed -i -e 's|.*|${{inputs.quarkus-version}}|' $(pwd)/pkg/quarkus/v1beta/scaffolds/internal/templates/pomxml.go
-
- - name: Create java-operator-plugins pull request
- uses: peter-evans/create-pull-request@v6
- id: jop-pr
- with:
- title: "feat: update QOSDK to ${{inputs.qosdk-version}}"
- commit-message: "feat: update QOSDK to ${{inputs.qosdk-version}}"
- committer: metacosm
- author: metacosm
- branch: qosdk-release-${{inputs.qosdk-version}}
- token: ${{ secrets.qosdk-bot-token }}
- push-to-fork: qosdk-bot/java-operator-plugins
- delete-branch: true
-
- - name: Check java-operator-plugins PR
- if: ${{ steps.jop-pr.outputs.pull-request-number }}
- run: |
- echo "Pull Request Number - ${{ steps.jop-pr.outputs.pull-request-number }}"
- echo "Pull Request URL - ${{ steps.jop-pr.outputs.pull-request-url }}"
\ No newline at end of file
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9be2cc54..8b795193 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -112,18 +112,6 @@ jobs:
- name: Push tags
run: git push && git push --tags
- update-java-plugins:
- needs:
- - release
- uses: ./.github/workflows/release-update-java-operator-plugins.yml
-# only update java-operator-plugins if we are releasing the latest version of QOSDK
- if: "${{ needs.release.outputs.released && needs.release.outputs.needs-quarkus-platform-main-pr == 'true' }}"
- with:
- qosdk-version: ${{needs.release.outputs.qosdk-version}}
- quarkus-version: ${{needs.release.outputs.quarkus-version}}
- secrets:
- qosdk-bot-token: ${{ secrets.QOSDK_BOT_TOKEN }}
-
update-quarkus-platform:
needs:
- release