Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fetch Operate artifacts from Operate repository instead of Zeebe #290

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: "1.20"

- name: Build
working-directory: ./release-notes-fetcher
run: go build
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
working-directory: ./release-notes-fetcher
run: mkdir -p tmp

# Operate and tasklist binaries are uploaded to zeebes repo
# Tasklist binaries are uploaded to zeebes repo
- name: Download Zeebe resources
working-directory: ./release-notes-fetcher/tmp
run: >
Expand All @@ -69,15 +69,22 @@ jobs:
-p "camunda-zeebe-$GITHUB_REF_NAME.tar.gz.sha1sum"
-p "camunda-zeebe-$GITHUB_REF_NAME.zip"
-p "camunda-zeebe-$GITHUB_REF_NAME.zip.sha1sum"
-p "camunda-operate-$GITHUB_REF_NAME.zip"
-p "camunda-operate-$GITHUB_REF_NAME.zip.sha1sum"
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz"
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz.sha1sum"
-p "camunda-tasklist-$GITHUB_REF_NAME.zip"
-p "camunda-tasklist-$GITHUB_REF_NAME.zip.sha1sum"
-p "camunda-tasklist-$GITHUB_REF_NAME.tar.gz"
-p "camunda-tasklist-$GITHUB_REF_NAME.tar.gz.sha1sum"

- name: Download Operate resources
working-directory: ./release-notes-fetcher/tmp
run: >
gh release
download "$GITHUB_REF_NAME"
-R camunda/operate
-p "camunda-operate-$GITHUB_REF_NAME.zip"
-p "camunda-operate-$GITHUB_REF_NAME.zip.sha1sum"
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz"
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz.sha1sum"

- name: Login to Camunda Cloud
working-directory: ./release-notes-fetcher
run: echo ${{ steps.generate-camunda-cloud-github-token.outputs.token }} | gh auth login --with-token
Expand Down
12 changes: 8 additions & 4 deletions release-notes-fetcher/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,19 @@ gh release \
-p "camunda-zeebe-$GITHUB_REF_NAME.tar.gz.sha1sum" \
-p "camunda-zeebe-$GITHUB_REF_NAME.zip" \
-p "camunda-zeebe-$GITHUB_REF_NAME.zip.sha1sum" \
-p "camunda-operate-$GITHUB_REF_NAME.zip" \
-p "camunda-operate-$GITHUB_REF_NAME.zip.sha1sum" \
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz" \
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz.sha1sum" \
-p "camunda-tasklist-$GITHUB_REF_NAME.zip" \
-p "camunda-tasklist-$GITHUB_REF_NAME.zip.sha1sum" \
-p "camunda-tasklist-$GITHUB_REF_NAME.tar.gz" \
-p "camunda-tasklist-$GITHUB_REF_NAME.tar.gz.sha1sum"

gh release \
download "$GITHUB_REF_NAME" \
-R camunda/operate \
-p "camunda-operate-$GITHUB_REF_NAME.zip" \
-p "camunda-operate-$GITHUB_REF_NAME.zip.sha1sum" \
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz" \
-p "camunda-operate-$GITHUB_REF_NAME.tar.gz.sha1sum" \

gh release \
download "$GITHUB_REF_NAME" \
-R camunda-cloud/identity \
Expand Down
Loading