Skip to content

Commit

Permalink
chore: fetch Operate artifacts from Operate repository instead of Zeebe
Browse files Browse the repository at this point in the history
  • Loading branch information
huygur authored and jessesimpson36 committed Aug 28, 2023
1 parent 8bbcb0f commit 3fa80a6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
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

0 comments on commit 3fa80a6

Please sign in to comment.