From 4d4d58a65fd59cc497064c46d82049bed651aaa3 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:04:05 -0400 Subject: [PATCH 01/74] Update CONTRIBUTING.md --- CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e595c8ed..b5791328 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,6 +3,8 @@ Welcome to the Resonate project! We appreciate your interest in helping us build reliable and scalable distributed systems. To get started, follow these simple steps: +## MAKE A NEW RELEASE NOTE. + ## Initial setup We follow the fork and branch workflow. There will be three Git repositories involved: @@ -101,4 +103,4 @@ Here are some areas where your contributions would be valuable: * Enhancements to our testing and reliability efforts. * Add support for the following databases: MySQL, Elasticsearch, MongoDB. -Thank you for your contributions and support in building a better Resonate! 🚀 \ No newline at end of file +Thank you for your contributions and support in building a better Resonate! 🚀 From d22cf71b6675adf5fa63264afab0f77a70ff486a Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:06:24 -0400 Subject: [PATCH 02/74] Update release.yaml --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 94ce4665..154434d4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,9 +1,8 @@ name: Release on: - release: - types: - - created + push: + branches: ["release-*"] permissions: contents: write From 759b9084aa12b282e7913435f8765f1cade27d82 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:08:16 -0400 Subject: [PATCH 03/74] Update CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b5791328..d661ebbe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ Welcome to the Resonate project! We appreciate your interest in helping us build reliable and scalable distributed systems. To get started, follow these simple steps: -## MAKE A NEW RELEASE NOTE. +## MAKE A COLLABORATIVE RELEASE NOTE ## Initial setup From 69e14ced91d0856d1113e108b2cb16fe2a8f6519 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:32:30 -0400 Subject: [PATCH 04/74] Update release.yaml --- .github/workflows/release.yaml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 154434d4..28e57b4f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,11 +3,27 @@ name: Release on: push: branches: ["release-*"] + workflow_dispatch: permissions: contents: write jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: echo ${{ github.sha }} > Release.txt + - name: Test + run: cat Release.txt + - name: Release + uses: softprops/action-gh-release@v2 + # if: startsWith(github.ref, 'refs/tags/') # tags to do hot fixes... + with: + files: Release.txt + release-linux-artifact: runs-on: ubuntu-latest steps: @@ -33,8 +49,8 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ github.event.release.tag_name }} ./bin/resonate_linux_x86_64 --clobber - gh release upload ${{ github.event.release.tag_name }} ./bin/resonate_linux_aarch64 --clobber + gh release upload ${{ github.ref_name }} ./bin/resonate_linux_x86_64 --clobber + gh release upload ${{ github.ref_name }} ./bin/resonate_linux_aarch64 --clobber release-darwin-artifact: runs-on: macos-latest @@ -57,5 +73,5 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ github.event.release.tag_name }} ./bin/resonate_darwin_x86_64 --clobber - gh release upload ${{ github.event.release.tag_name }} ./bin/resonate_darwin_aarch64 --clobber + gh release upload ${{ github.ref_name }} ./bin/resonate_darwin_x86_64 --clobber + gh release upload ${{ github.ref_name }} ./bin/resonate_darwin_aarch64 --clobber From dec87d66643fa4b67efddd45d54fded2905b8526 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:39:05 -0400 Subject: [PATCH 05/74] Update release.yaml --- .github/workflows/release.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 28e57b4f..f39dc47e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,14 +18,23 @@ jobs: run: echo ${{ github.sha }} > Release.txt - name: Test run: cat Release.txt + - name: Create Tag + id: create_tag + run: | + tag_name="v$(date +'%Y.%m.%d')" + git tag $tag_name + git push origin $tag_name + echo "::set-output name=tag_name::$tag_name" - name: Release uses: softprops/action-gh-release@v2 # if: startsWith(github.ref, 'refs/tags/') # tags to do hot fixes... with: files: Release.txt + tag_name: ${{ steps.create_tag.outputs.tag_name }} release-linux-artifact: runs-on: ubuntu-latest + needs: [build] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -54,6 +63,7 @@ jobs: release-darwin-artifact: runs-on: macos-latest + needs: [build] steps: - name: Checkout repository uses: actions/checkout@v4 From 4cadc82a9bb9689bfcda3493727615f826b6fdd2 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:41:27 -0400 Subject: [PATCH 06/74] Update release.yaml --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f39dc47e..9b0ae115 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,8 +58,8 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ github.ref_name }} ./bin/resonate_linux_x86_64 --clobber - gh release upload ${{ github.ref_name }} ./bin/resonate_linux_aarch64 --clobber + gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_linux_x86_64 --clobber + gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_linux_aarch64 --clobber release-darwin-artifact: runs-on: macos-latest @@ -83,5 +83,5 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ github.ref_name }} ./bin/resonate_darwin_x86_64 --clobber - gh release upload ${{ github.ref_name }} ./bin/resonate_darwin_aarch64 --clobber + gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_darwin_x86_64 --clobber + gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_darwin_aarch64 --clobber From 895b65cb98c7b14fe70b5777c0800ab5ad41f0f7 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:46:19 -0400 Subject: [PATCH 07/74] Update CONTRIBUTING.md --- CONTRIBUTING.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d661ebbe..944272d6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,8 +3,6 @@ Welcome to the Resonate project! We appreciate your interest in helping us build reliable and scalable distributed systems. To get started, follow these simple steps: -## MAKE A COLLABORATIVE RELEASE NOTE - ## Initial setup We follow the fork and branch workflow. There will be three Git repositories involved: From 3023551ab5fe311880c54a2f57ec6d49fe7c1667 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:31:53 -0400 Subject: [PATCH 08/74] Update release.yaml --- .github/workflows/release.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9b0ae115..fe088cbd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,8 +22,6 @@ jobs: id: create_tag run: | tag_name="v$(date +'%Y.%m.%d')" - git tag $tag_name - git push origin $tag_name echo "::set-output name=tag_name::$tag_name" - name: Release uses: softprops/action-gh-release@v2 From 729e035e96b9c23de00e17dcaff0ce3a01860c29 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:37:08 -0400 Subject: [PATCH 09/74] Update release.yaml --- .github/workflows/release.yaml | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fe088cbd..eb118272 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,8 +9,20 @@ permissions: contents: write jobs: + create_tag: + runs-on: ubuntu-latest + steps: + - name: Create Tag + id: create_tag + run: | + tag_name="v$(date +'%Y.%m.%d')" + echo "::set-output name=tag_name::$tag_name" + outputs: + tag_name: ${{ steps.create_tag.outputs.tag_name }} + build: runs-on: ubuntu-latest + needs: [create_tag] steps: - name: Checkout uses: actions/checkout@v4 @@ -25,14 +37,13 @@ jobs: echo "::set-output name=tag_name::$tag_name" - name: Release uses: softprops/action-gh-release@v2 - # if: startsWith(github.ref, 'refs/tags/') # tags to do hot fixes... with: files: Release.txt - tag_name: ${{ steps.create_tag.outputs.tag_name }} + tag_name: ${{ needs.create_tag.outputs.tag_name }} release-linux-artifact: runs-on: ubuntu-latest - needs: [build] + needs: [create_tag, build] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -56,12 +67,12 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_linux_x86_64 --clobber - gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_linux_aarch64 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_linux_x86_64 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_linux_aarch64 --clobber release-darwin-artifact: runs-on: macos-latest - needs: [build] + needs: [create_tag, build] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -81,5 +92,5 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_darwin_x86_64 --clobber - gh release upload ${{ steps.create_tag.outputs.tag_name }} ./bin/resonate_darwin_aarch64 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_darwin_x86_64 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_darwin_aarch64 --clobber From ac7147dc32f289466fc39025f7f54fa7b05fdd04 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:16:21 -0400 Subject: [PATCH 10/74] Update release.yaml --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eb118272..58d36e83 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,8 +38,8 @@ jobs: - name: Release uses: softprops/action-gh-release@v2 with: - files: Release.txt - tag_name: ${{ needs.create_tag.outputs.tag_name }} + body_path: Release.txt + tag_name: Resonate ${{ needs.create_tag.outputs.tag_name }} release-linux-artifact: runs-on: ubuntu-latest From 597211b75f908fd07eaf5d1969f9e52e7d643029 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:22:03 -0400 Subject: [PATCH 11/74] Update release.yaml --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 58d36e83..2fa38007 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,7 +39,10 @@ jobs: uses: softprops/action-gh-release@v2 with: body_path: Release.txt - tag_name: Resonate ${{ needs.create_tag.outputs.tag_name }} + name: Resonate ${{ needs.create_tag.outputs.tag_name }} + tag_name: ${{ needs.create_tag.outputs.tag_name }} + generate_release_notes: true + make_latest: true release-linux-artifact: runs-on: ubuntu-latest From aa4bce34baa674fea1caa7b2055b14eaa79eb33e Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:52:17 -0400 Subject: [PATCH 12/74] Update release.yaml --- .github/workflows/release.yaml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2fa38007..3be5667e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -64,14 +64,18 @@ jobs: CC=aarch64-linux-gnu-gcc GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build -o ./bin/linux-aarch64/ ./... chmod +x ./bin/linux-x86_64/resonate chmod +x ./bin/linux-aarch64/resonate - mv ./bin/linux-x86_64/resonate ./bin/resonate_linux_x86_64 - mv ./bin/linux-aarch64/resonate ./bin/resonate_linux_aarch64 + tar -czvf resonate_linux_x86_64.tar.gz ./bin/linux-x86_64/resonate + sha256sum resonate_linux_x86_64.tar.gz > resonate_linux_x86_64.tar.gz.sha256 + tar -czvf resonate_linux_aarch64.tar.gz ./bin/linux-aarch64/resonate + sha256sum resonate_linux_aarch64.tar.gz > resonate_linux_aarch64.tar.gz.sha256 - name: Upload Artifacts env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_linux_x86_64 --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_linux_aarch64 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_x86_64.tar.gz --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_x86_64.tar.gz.sha256 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_aarch64.tar.gz --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_aarch64.tar.gz.sha256 --clobber release-darwin-artifact: runs-on: macos-latest @@ -89,11 +93,16 @@ jobs: GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -o ./bin/darwin-aarch64/ ./... chmod +x ./bin/darwin-x86_64/resonate chmod +x ./bin/darwin-aarch64/resonate - mv ./bin/darwin-x86_64/resonate ./bin/resonate_darwin_x86_64 - mv ./bin/darwin-aarch64/resonate ./bin/resonate_darwin_aarch64 + tar -czvf resonate_darwin_x86_64.tar.gz ./bin/darwin-x86_64/resonate + sha256sum resonate_darwin_x86_64.tar.gz > resonate_darwin_x86_64.tar.gz.sha256 + tar -czvf resonate_darwin_aarch64.tar.gz ./bin/darwin-aarch64/resonate + sha256sum resonate_darwin_aarch64.tar.gz > resonate_darwin_aarch64.tar.gz.sha256 - name: Upload Artifacts env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_darwin_x86_64 --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} ./bin/resonate_darwin_aarch64 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_x86_64.tar.gz --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_x86_64.tar.gz.sha256 --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_aarch64.tar.gz --clobber + gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_aarch64.tar.gz.sha256 --clobber + From b49e0fb05ac6967805bf9952d127b2c89835796c Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:55:24 -0400 Subject: [PATCH 13/74] Update release.yaml --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3be5667e..5d55d10a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -94,9 +94,9 @@ jobs: chmod +x ./bin/darwin-x86_64/resonate chmod +x ./bin/darwin-aarch64/resonate tar -czvf resonate_darwin_x86_64.tar.gz ./bin/darwin-x86_64/resonate - sha256sum resonate_darwin_x86_64.tar.gz > resonate_darwin_x86_64.tar.gz.sha256 + shasum -a 256 resonate_darwin_x86_64.tar.gz > resonate_darwin_x86_64.tar.gz.sha256 tar -czvf resonate_darwin_aarch64.tar.gz ./bin/darwin-aarch64/resonate - sha256sum resonate_darwin_aarch64.tar.gz > resonate_darwin_aarch64.tar.gz.sha256 + shasum -a 256 resonate_darwin_aarch64.tar.gz > resonate_darwin_aarch64.tar.gz.sha256 - name: Upload Artifacts env: GH_TOKEN: ${{ github.token }} From 224e957bdd17bdedb48da3f5de85f97f3c522b86 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:39:14 -0400 Subject: [PATCH 14/74] Update and rename release.yaml to publish_github_release.yaml --- .github/workflows/{release.yaml => publish_github_release.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{release.yaml => publish_github_release.yaml} (99%) diff --git a/.github/workflows/release.yaml b/.github/workflows/publish_github_release.yaml similarity index 99% rename from .github/workflows/release.yaml rename to .github/workflows/publish_github_release.yaml index 5d55d10a..a5b4f307 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/publish_github_release.yaml @@ -1,4 +1,4 @@ -name: Release +name: Publish GitHub Release on: push: From 3561864a57169da645704df4ee8c586530c81f6b Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:39:38 -0400 Subject: [PATCH 15/74] Update and rename publish.yml to publish_github_image.yml --- .github/workflows/{publish.yml => publish_github_image.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{publish.yml => publish_github_image.yml} (98%) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish_github_image.yml similarity index 98% rename from .github/workflows/publish.yml rename to .github/workflows/publish_github_image.yml index ecc98d1b..1eab1fd5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish_github_image.yml @@ -1,5 +1,5 @@ # ref: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-a-registry-using-a-personal-access-token -name: Create and publish a Docker image +name: Publish GitHub Docker image # Configures this workflow to run every time a change is pushed to the branch called `release-*`. # This aligns with the release branching change coming in v1.0.0 for hot fixes. From 964b9fc0924e8d7750ceefe589899a1d5292e650 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:44:31 -0400 Subject: [PATCH 16/74] Create release.yml --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..643aaad8 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,13 @@ +name: Release Workflow + +on: + push: + branches: ["release-*"] + workflow_dispatch: + +jobs: + publish-github-image: + uses: ./.github/workflows/publish_github_image.yml + + publish-github-release: + uses: ./.github/workflows/publish_github_release.yaml From 465e40233b438747836b6d905e5c1087da1f33e7 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:44:42 -0400 Subject: [PATCH 17/74] Update publish_github_image.yml --- .github/workflows/publish_github_image.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish_github_image.yml b/.github/workflows/publish_github_image.yml index 1eab1fd5..c6ff4f87 100644 --- a/.github/workflows/publish_github_image.yml +++ b/.github/workflows/publish_github_image.yml @@ -4,8 +4,7 @@ name: Publish GitHub Docker image # Configures this workflow to run every time a change is pushed to the branch called `release-*`. # This aligns with the release branching change coming in v1.0.0 for hot fixes. on: - push: - branches: ["release-*"] + workflow_call: workflow_dispatch: # Defines two custom environment variables for the workflow. These are used for the Container From 86028d04ff1ec0d4313f0520b1ce6df5ee3b619e Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:44:53 -0400 Subject: [PATCH 18/74] Update publish_github_release.yaml --- .github/workflows/publish_github_release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish_github_release.yaml b/.github/workflows/publish_github_release.yaml index a5b4f307..4f32291f 100644 --- a/.github/workflows/publish_github_release.yaml +++ b/.github/workflows/publish_github_release.yaml @@ -1,8 +1,7 @@ name: Publish GitHub Release on: - push: - branches: ["release-*"] + workflow_call: workflow_dispatch: permissions: From f4dc214c484f0d1631d6e549c20f245e578c25d2 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:47:03 -0400 Subject: [PATCH 19/74] Rename publish_github_image.yml to publish_github_image.yaml --- .../{publish_github_image.yml => publish_github_image.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{publish_github_image.yml => publish_github_image.yaml} (100%) diff --git a/.github/workflows/publish_github_image.yml b/.github/workflows/publish_github_image.yaml similarity index 100% rename from .github/workflows/publish_github_image.yml rename to .github/workflows/publish_github_image.yaml From d19aa8f6c9a69e6a22c3ed8a98ba730c89fbbd0b Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:47:31 -0400 Subject: [PATCH 20/74] Update and rename release.yml to release.yaml --- .github/workflows/{release.yml => release.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{release.yml => release.yaml} (78%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yaml similarity index 78% rename from .github/workflows/release.yml rename to .github/workflows/release.yaml index 643aaad8..2a7c6652 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: jobs: publish-github-image: - uses: ./.github/workflows/publish_github_image.yml + uses: ./.github/workflows/publish_github_image.yaml publish-github-release: uses: ./.github/workflows/publish_github_release.yaml From f382592d7c4d5e5839998b74dc13c55b211cea7f Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:51:36 -0400 Subject: [PATCH 21/74] Rename publish_github_image.yaml to release_publish_github_image.yaml --- ...ublish_github_image.yaml => release_publish_github_image.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{publish_github_image.yaml => release_publish_github_image.yaml} (100%) diff --git a/.github/workflows/publish_github_image.yaml b/.github/workflows/release_publish_github_image.yaml similarity index 100% rename from .github/workflows/publish_github_image.yaml rename to .github/workflows/release_publish_github_image.yaml From 2432f631c714f031fb73e1a1647dbc20e7b1d2ba Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:51:48 -0400 Subject: [PATCH 22/74] Rename publish_github_release.yaml to release_publish_github_release.yaml --- ...sh_github_release.yaml => release_publish_github_release.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{publish_github_release.yaml => release_publish_github_release.yaml} (100%) diff --git a/.github/workflows/publish_github_release.yaml b/.github/workflows/release_publish_github_release.yaml similarity index 100% rename from .github/workflows/publish_github_release.yaml rename to .github/workflows/release_publish_github_release.yaml From 45bd22981c643090a40c0b990aae7af20b5fbcb8 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:52:02 -0400 Subject: [PATCH 23/74] Update release.yaml --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2a7c6652..a924bb15 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ on: jobs: publish-github-image: - uses: ./.github/workflows/publish_github_image.yaml + uses: ./.github/workflows/release_publish_github_image.yaml publish-github-release: - uses: ./.github/workflows/publish_github_release.yaml + uses: ./.github/workflows/release_publish_github_release.yaml From 2e61b530e7dda0db7f66460187af58509ad8cbcd Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:02:03 -0400 Subject: [PATCH 24/74] Create release_test_artifacts.yaml --- .github/workflows/release_test_artifacts.yaml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/release_test_artifacts.yaml diff --git a/.github/workflows/release_test_artifacts.yaml b/.github/workflows/release_test_artifacts.yaml new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/.github/workflows/release_test_artifacts.yaml @@ -0,0 +1 @@ + From a18efe51761a5c399d8fcce258fd79872ae677cd Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:03:00 -0400 Subject: [PATCH 25/74] Update release.yaml --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a924bb15..66f4fca5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,3 +11,6 @@ jobs: publish-github-release: uses: ./.github/workflows/release_publish_github_release.yaml + + verify-github-artifacts: + uses: ./.github/workflows/release_test_artifacts.yaml From e262f8e9e58761388a1f24aab72565b4f1992f3a Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:03:16 -0400 Subject: [PATCH 26/74] Rename release_test_artifacts.yaml to release_verify_artifacts.yaml --- ...{release_test_artifacts.yaml => release_verify_artifacts.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{release_test_artifacts.yaml => release_verify_artifacts.yaml} (100%) diff --git a/.github/workflows/release_test_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml similarity index 100% rename from .github/workflows/release_test_artifacts.yaml rename to .github/workflows/release_verify_artifacts.yaml From f82dc4529a24479ca21bd33803958c758bd3d0f5 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:03:31 -0400 Subject: [PATCH 27/74] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 66f4fca5..da17589e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,4 +13,4 @@ jobs: uses: ./.github/workflows/release_publish_github_release.yaml verify-github-artifacts: - uses: ./.github/workflows/release_test_artifacts.yaml + uses: ./.github/workflows/release_verify_artifacts.yaml From 5494f31f973d3dd2e832bddfe9b2bd7b639421fe Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:05:51 -0400 Subject: [PATCH 28/74] Update release_verify_artifacts.yaml --- .../workflows/release_verify_artifacts.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index 8b137891..badb3ad3 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -1 +1,37 @@ +name: Verify GitHub Artifacts +on: + workflow_call: + workflow_dispatch: + +permissions: + contents: write + +jobs: + verify: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Download and test GHCR image + run: | + # Login to GHCR + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + + # Pull the test image + docker pull ghcr.io/your-username/your-image:test + + # Run the test image + docker run --rm ghcr.io/your-username/your-image:test + + - name: Download and test release + run: | + # Download the release artifact + curl -L -O "https://github.com/your-username/your-repo/releases/download/test-release/your-artifact.tar.gz" + + # Extract the artifact + tar -xzf your-artifact.tar.gz + + # Run the extracted artifact + ./your-artifact From 3ab4bf46db1565cb7369e7716bbc0ebd27d8e6bb Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:07:12 -0400 Subject: [PATCH 29/74] Update release.yaml --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index da17589e..275b2817 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,4 +13,5 @@ jobs: uses: ./.github/workflows/release_publish_github_release.yaml verify-github-artifacts: + needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml From 831aea73eef3a02e7ebaa908a201471780cb6b3f Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:11:06 -0400 Subject: [PATCH 30/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index badb3ad3..4d2d6c01 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -20,10 +20,10 @@ jobs: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin # Pull the test image - docker pull ghcr.io/your-username/your-image:test + docker pull ghcr.io/guergabo/resonate:release-1.0 # Run the test image - docker run --rm ghcr.io/your-username/your-image:test + docker run --rm ghcr.io/guergabo/resonate:release-1.0 - name: Download and test release run: | From a4edcf583f7443ad0dc9220b0503c08cd7995ad5 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:15:01 -0400 Subject: [PATCH 31/74] Update release.yaml --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 275b2817..e7e97889 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,3 +1,4 @@ +# Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. name: Release Workflow on: From 158a26209a2799563382554b828f99c061c0da3b Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:30:02 -0400 Subject: [PATCH 32/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index 4d2d6c01..4247e955 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -5,7 +5,8 @@ on: workflow_dispatch: permissions: - contents: write + contents: read + packages: read jobs: verify: From fb6a7c45ebb1cc476192dd46fada82196a85f7bf Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:31:23 -0400 Subject: [PATCH 33/74] Update release.yaml --- .github/workflows/release.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e7e97889..75be7231 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,12 +7,12 @@ on: workflow_dispatch: jobs: - publish-github-image: - uses: ./.github/workflows/release_publish_github_image.yaml + # publish-github-image: + # uses: ./.github/workflows/release_publish_github_image.yaml - publish-github-release: - uses: ./.github/workflows/release_publish_github_release.yaml + # publish-github-release: + # uses: ./.github/workflows/release_publish_github_release.yaml verify-github-artifacts: - needs: [publish-github-image, publish-github-release] + # needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml From 53603c1029d646e7eb96df7a80f45eddafea8ef1 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:36:20 -0400 Subject: [PATCH 34/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index 4247e955..d4843306 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -26,13 +26,13 @@ jobs: # Run the test image docker run --rm ghcr.io/guergabo/resonate:release-1.0 - - name: Download and test release + - name: Download and test GH release run: | # Download the release artifact - curl -L -O "https://github.com/your-username/your-repo/releases/download/test-release/your-artifact.tar.gz" + curl -L -O "https://github.com/guergabo/resonate/releases/download/v2024.03.18/resonate_linux_x86_64.tar.gz" # Extract the artifact - tar -xzf your-artifact.tar.gz + tar -xzf resonate_linux_x86_64.tar.gz # Run the extracted artifact - ./your-artifact + ./bin/linux-x86_64/resonate From 7aaa2d8103a862ce273ad20ee1a6a34cffee79a2 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:41:22 -0400 Subject: [PATCH 35/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index d4843306..c0ab4f7a 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -9,8 +9,18 @@ permissions: packages: read jobs: + seed: + runs-on: ubuntu-latest + steps: + - id: seed + name: Set random seed + run: echo seed=$RANDOM >> $GITHUB_OUTPUT + outputs: + seed: ${{ inputs.seed || steps.seed.outputs.seed }} + verify: runs-on: ubuntu-latest + needs: [seed] steps: - name: Checkout code uses: actions/checkout@v2 @@ -24,7 +34,7 @@ jobs: docker pull ghcr.io/guergabo/resonate:release-1.0 # Run the test image - docker run --rm ghcr.io/guergabo/resonate:release-1.0 + docker run --rm ghcr.io/guergabo/resonate:release-1.0 dst run --seed ${{ needs.seed.outputs.seed }} --aio-store sqlite - name: Download and test GH release run: | @@ -35,4 +45,4 @@ jobs: tar -xzf resonate_linux_x86_64.tar.gz # Run the extracted artifact - ./bin/linux-x86_64/resonate + ./bin/linux-x86_64/resonate dst run --seed ${{ needs.seed.outputs.seed }} --aio-store sqlite From f91aaa74f82ad0f0323294f3feab71cebb4ff309 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:47:34 -0400 Subject: [PATCH 36/74] Update release.yaml --- .github/workflows/release.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 75be7231..e7e97889 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,12 +7,12 @@ on: workflow_dispatch: jobs: - # publish-github-image: - # uses: ./.github/workflows/release_publish_github_image.yaml + publish-github-image: + uses: ./.github/workflows/release_publish_github_image.yaml - # publish-github-release: - # uses: ./.github/workflows/release_publish_github_release.yaml + publish-github-release: + uses: ./.github/workflows/release_publish_github_release.yaml verify-github-artifacts: - # needs: [publish-github-image, publish-github-release] + needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml From 620ed4536c500d31aac7ebd7942fcce289cbaa9b Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 21:34:04 -0400 Subject: [PATCH 37/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index c0ab4f7a..e5aff46b 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -2,6 +2,7 @@ name: Verify GitHub Artifacts on: workflow_call: + # TODO: docker image tag... just latest? release tag v1.0.0 workflow_dispatch: permissions: @@ -17,14 +18,14 @@ jobs: run: echo seed=$RANDOM >> $GITHUB_OUTPUT outputs: seed: ${{ inputs.seed || steps.seed.outputs.seed }} + - verify: + verify-github-image: runs-on: ubuntu-latest needs: [seed] steps: - name: Checkout code uses: actions/checkout@v2 - - name: Download and test GHCR image run: | # Login to GHCR @@ -36,6 +37,13 @@ jobs: # Run the test image docker run --rm ghcr.io/guergabo/resonate:release-1.0 dst run --seed ${{ needs.seed.outputs.seed }} --aio-store sqlite + + verify-github-release: + runs-on: ubuntu-latest + needs: [seed] + steps: + - name: Checkout code + uses: actions/checkout@v2 - name: Download and test GH release run: | # Download the release artifact From 4832276de89285ebd5aa375c6c7ad2260431194a Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 21:51:16 -0400 Subject: [PATCH 38/74] Update release_publish_github_image.yaml --- .../release_publish_github_image.yaml | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release_publish_github_image.yaml b/.github/workflows/release_publish_github_image.yaml index c6ff4f87..3e03e84f 100644 --- a/.github/workflows/release_publish_github_image.yaml +++ b/.github/workflows/release_publish_github_image.yaml @@ -1,14 +1,9 @@ -# ref: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-a-registry-using-a-personal-access-token name: Publish GitHub Docker image -# Configures this workflow to run every time a change is pushed to the branch called `release-*`. -# This aligns with the release branching change coming in v1.0.0 for hot fixes. on: workflow_call: workflow_dispatch: -# Defines two custom environment variables for the workflow. These are used for the Container -# registry domain, and a name for the Docker image that this workflow builds. env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} @@ -25,7 +20,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - # Add support for more platforms with QEMU (optional) + # Add support for more platforms with QEMU # https://github.com/docker/setup-qemu-action - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -51,13 +46,17 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - # This step uses the `docker/build-push-action` action to build the image, based on your + tags: | + type=ref,event=branch + type=ref,event=pr + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=sha + + # This step uses the `docker/build-push-action` action to build the image, based on our # repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages. # It uses the `context` parameter to define the build's context as the set of files located - # in the specified path. For more information, - # see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the - # `docker/build-push-action` repository. It uses the `tags` and `labels` parameters to tag + # in the specified path. It uses the `tags` and `labels` parameters to tag # and label the image with the output from the "meta" step. - name: Build and push Docker image uses: docker/build-push-action@v5 From 7509a87548bd13747b559aeeec2a123e901b1fbd Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:03:58 -0400 Subject: [PATCH 39/74] Update release.yaml --- .github/workflows/release.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e7e97889..c60b5ffc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,10 +9,16 @@ on: jobs: publish-github-image: uses: ./.github/workflows/release_publish_github_image.yaml + with: + tag: v1.0.0 publish-github-release: uses: ./.github/workflows/release_publish_github_release.yaml - + with: + tag: v1.0.0 + verify-github-artifacts: needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml + with: + tag: v1.0.0 From e78f086fb57e35c423dcb6d178f641c03e0bbc70 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:05:57 -0400 Subject: [PATCH 40/74] Update release_publish_github_image.yaml --- .github/workflows/release_publish_github_image.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release_publish_github_image.yaml b/.github/workflows/release_publish_github_image.yaml index 3e03e84f..af1db103 100644 --- a/.github/workflows/release_publish_github_image.yaml +++ b/.github/workflows/release_publish_github_image.yaml @@ -2,6 +2,12 @@ name: Publish GitHub Docker image on: workflow_call: + inputs: + tag: + description: 'The tag version to use for the release' + required: true + type: string + workflow_dispatch: env: From acbf8b9334270b7888ff2887d5155cc469c12478 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:11:57 -0400 Subject: [PATCH 41/74] Update release_publish_github_release.yaml --- .../release_publish_github_release.yaml | 55 ++++++++++--------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release_publish_github_release.yaml b/.github/workflows/release_publish_github_release.yaml index 4f32291f..483a0c3c 100644 --- a/.github/workflows/release_publish_github_release.yaml +++ b/.github/workflows/release_publish_github_release.yaml @@ -2,26 +2,20 @@ name: Publish GitHub Release on: workflow_call: + inputs: + tag: + description: 'The tag version to use for verification' + required: true + type: string + workflow_dispatch: permissions: contents: write -jobs: - create_tag: +jobs: + create-release: runs-on: ubuntu-latest - steps: - - name: Create Tag - id: create_tag - run: | - tag_name="v$(date +'%Y.%m.%d')" - echo "::set-output name=tag_name::$tag_name" - outputs: - tag_name: ${{ steps.create_tag.outputs.tag_name }} - - build: - runs-on: ubuntu-latest - needs: [create_tag] steps: - name: Checkout uses: actions/checkout@v4 @@ -29,23 +23,18 @@ jobs: run: echo ${{ github.sha }} > Release.txt - name: Test run: cat Release.txt - - name: Create Tag - id: create_tag - run: | - tag_name="v$(date +'%Y.%m.%d')" - echo "::set-output name=tag_name::$tag_name" - name: Release uses: softprops/action-gh-release@v2 with: body_path: Release.txt - name: Resonate ${{ needs.create_tag.outputs.tag_name }} - tag_name: ${{ needs.create_tag.outputs.tag_name }} + name: Resonate ${{ inputs.tag }} + tag_name: ${{ inputs.tag }} generate_release_notes: true make_latest: true release-linux-artifact: runs-on: ubuntu-latest - needs: [create_tag, build] + needs: [create-release] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -59,13 +48,20 @@ jobs: sudo apt-get install -y gcc-aarch64-linux-gnu - name: Build for both amd64 and arm64 run: | + # Build resonate binaries GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o ./bin/linux-x86_64/ ./... CC=aarch64-linux-gnu-gcc GOOS=linux GOARCH=arm64 CGO_ENABLED=1 go build -o ./bin/linux-aarch64/ ./... + + # Change permissions chmod +x ./bin/linux-x86_64/resonate chmod +x ./bin/linux-aarch64/resonate + + # Compress binaries tar -czvf resonate_linux_x86_64.tar.gz ./bin/linux-x86_64/resonate - sha256sum resonate_linux_x86_64.tar.gz > resonate_linux_x86_64.tar.gz.sha256 tar -czvf resonate_linux_aarch64.tar.gz ./bin/linux-aarch64/resonate + + # Create checksums + sha256sum resonate_linux_x86_64.tar.gz > resonate_linux_x86_64.tar.gz.sha256 sha256sum resonate_linux_aarch64.tar.gz > resonate_linux_aarch64.tar.gz.sha256 - name: Upload Artifacts env: @@ -78,7 +74,7 @@ jobs: release-darwin-artifact: runs-on: macos-latest - needs: [create_tag, build] + needs: [create-release] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -88,13 +84,20 @@ jobs: go-version: 1.21 - name: Build for both amd64 and arm64 run: | + # Build resonate binaries GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -o ./bin/darwin-x86_64/ ./... GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -o ./bin/darwin-aarch64/ ./... + + # Change permissions chmod +x ./bin/darwin-x86_64/resonate chmod +x ./bin/darwin-aarch64/resonate - tar -czvf resonate_darwin_x86_64.tar.gz ./bin/darwin-x86_64/resonate - shasum -a 256 resonate_darwin_x86_64.tar.gz > resonate_darwin_x86_64.tar.gz.sha256 + + # Compress binaries + tar -czvf resonate_darwin_x86_64.tar.gz ./bin/darwin-x86_64/resonate tar -czvf resonate_darwin_aarch64.tar.gz ./bin/darwin-aarch64/resonate + + # Create checksums + shasum -a 256 resonate_darwin_x86_64.tar.gz > resonate_darwin_x86_64.tar.gz.sha256 shasum -a 256 resonate_darwin_aarch64.tar.gz > resonate_darwin_aarch64.tar.gz.sha256 - name: Upload Artifacts env: From 97a0c2379022fd29e9f8fc9bb9f243b8f77b2086 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:14:19 -0400 Subject: [PATCH 42/74] Update release.yaml --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c60b5ffc..6f4f1c1c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,5 @@ # Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. +# trigger name: Release Workflow on: From 4c4a691d6b966077b242bcc544f519dcbf7b5ae9 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:15:28 -0400 Subject: [PATCH 43/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index e5aff46b..6966b724 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -2,7 +2,12 @@ name: Verify GitHub Artifacts on: workflow_call: - # TODO: docker image tag... just latest? release tag v1.0.0 + inputs: + tag: + description: 'The tag version to use for verification' + required: true + type: string + workflow_dispatch: permissions: From 2fc0749666ed457adb9f91e0102c6086158a1fd0 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:15:45 -0400 Subject: [PATCH 44/74] Update release.yaml --- .github/workflows/release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6f4f1c1c..c60b5ffc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,4 @@ # Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. -# trigger name: Release Workflow on: From e88f9be2fe565fcc3c9c2ae7076ffca3a5643ece Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:17:38 -0400 Subject: [PATCH 45/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index 6966b724..5ef524fd 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -52,7 +52,7 @@ jobs: - name: Download and test GH release run: | # Download the release artifact - curl -L -O "https://github.com/guergabo/resonate/releases/download/v2024.03.18/resonate_linux_x86_64.tar.gz" + curl -L -O "https://github.com/guergabo/resonate/releases/download/${{ inputs.tag }}/resonate_linux_x86_64.tar.gz" # Extract the artifact tar -xzf resonate_linux_x86_64.tar.gz From f86d3438819fa9f9f5b50d6f61332bc42b919159 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:18:06 -0400 Subject: [PATCH 46/74] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c60b5ffc..762419ca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,6 @@ # Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. name: Release Workflow - +# on: push: branches: ["release-*"] From 92f4bd9b141cfedf428dacbc7a679e0b2a767ee2 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:21:28 -0400 Subject: [PATCH 47/74] Update release_publish_github_release.yaml --- .../release_publish_github_release.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release_publish_github_release.yaml b/.github/workflows/release_publish_github_release.yaml index 483a0c3c..c90bd55c 100644 --- a/.github/workflows/release_publish_github_release.yaml +++ b/.github/workflows/release_publish_github_release.yaml @@ -67,10 +67,10 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_x86_64.tar.gz --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_x86_64.tar.gz.sha256 --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_aarch64.tar.gz --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_linux_aarch64.tar.gz.sha256 --clobber + gh release upload ${{ inputs.tag }} resonate_linux_x86_64.tar.gz --clobber + gh release upload ${{ inputs.tag }} resonate_linux_x86_64.tar.gz.sha256 --clobber + gh release upload ${{ inputs.tag }} resonate_linux_aarch64.tar.gz --clobber + gh release upload ${{ inputs.tag }} resonate_linux_aarch64.tar.gz.sha256 --clobber release-darwin-artifact: runs-on: macos-latest @@ -103,8 +103,8 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_x86_64.tar.gz --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_x86_64.tar.gz.sha256 --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_aarch64.tar.gz --clobber - gh release upload ${{ needs.create_tag.outputs.tag_name }} resonate_darwin_aarch64.tar.gz.sha256 --clobber + gh release upload ${{ inputs.tag }} resonate_darwin_x86_64.tar.gz --clobber + gh release upload ${{ inputs.tag }} resonate_darwin_x86_64.tar.gz.sha256 --clobber + gh release upload ${{ inputs.tag }} resonate_darwin_aarch64.tar.gz --clobber + gh release upload ${{ inputs.tag }} resonate_darwin_aarch64.tar.gz.sha256 --clobber From c943a3b490616558f32bc7c37d85225d53565f0a Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:21:51 -0400 Subject: [PATCH 48/74] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 762419ca..c60b5ffc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,6 @@ # Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. name: Release Workflow -# + on: push: branches: ["release-*"] From 1d9a9cc8820412d77c2a1d9831f378f6603f5531 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:07:28 -0400 Subject: [PATCH 49/74] Update and rename cicd.yaml to ci.yaml --- .github/workflows/{cicd.yaml => ci.yaml} | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) rename .github/workflows/{cicd.yaml => ci.yaml} (99%) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/ci.yaml similarity index 99% rename from .github/workflows/cicd.yaml rename to .github/workflows/ci.yaml index 939ec7ad..d07a3833 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: CICD +name: CI on: push: @@ -40,31 +40,25 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Go uses: actions/setup-go@v5 with: go-version-file: go.mod cache: false - - name: Install and run golangci-lint uses: golangci/golangci-lint-action@v4 # nosemgrep with: version: v1.54 args: --verbose --timeout=3m - - name: Run go test and generate coverage report run: | go test -v -coverprofile=coverage.out -coverpkg=./... ./... - - name: Upload coverage report to Codecov uses: codecov/codecov-action@v4 # nosemgrep with: token: ${{ secrets.CODECOV_TOKEN }} - - name: Build resonate run: go build -o resonate - - name: Cache resonate binary uses: actions/cache/save@v4 with: @@ -81,26 +75,21 @@ jobs: path: resonate key: resonate-${{ github.sha }} fail-on-cache-miss: true - - name: Run resonate server run: | chmod +x resonate ./resonate serve --aio-store-sqlite-path :memory: & - - name: Checkout test harness uses: actions/checkout@v4 with: repository: resonatehq/durable-promise-test-harness - - name: Build test harness run: | go build -o harness - - name: Run linearizability check run: | chmod +x harness ./harness verify -r 1000 -c 10 - - uses: actions/upload-artifact@v4 if: ${{ always() }} with: From a9ecdedd2aaf56629aa7176d5c2479490633eb94 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:08:06 -0400 Subject: [PATCH 50/74] Update ci.yaml --- .github/workflows/ci.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d07a3833..d80f204e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,14 +14,12 @@ permissions: jobs: build: runs-on: ubuntu-latest - env: TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_HOST: "localhost" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_PORT: "5432" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_USERNAME: "username" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_PASSWORD: "password" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_DATABASE: "resonate_test" - services: postgres: image: postgres:15 @@ -36,7 +34,6 @@ jobs: --health-retries 5 ports: - 5432:5432 - steps: - name: Checkout repository uses: actions/checkout@v4 From f792e43429d7dd3619aa7ac6208711f17f23c01c Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:13:37 -0400 Subject: [PATCH 51/74] Update release_publish_github_image.yaml --- .github/workflows/release_publish_github_image.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release_publish_github_image.yaml b/.github/workflows/release_publish_github_image.yaml index af1db103..50991da4 100644 --- a/.github/workflows/release_publish_github_image.yaml +++ b/.github/workflows/release_publish_github_image.yaml @@ -53,11 +53,8 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=ref,event=branch - type=ref,event=pr - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=sha + type=raw,value=${{ inputs.tag }} + type=raw,value=latest # This step uses the `docker/build-push-action` action to build the image, based on our # repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages. From 999991c90411c2faacab66e91e633130e71bbb3c Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:15:12 -0400 Subject: [PATCH 52/74] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c60b5ffc..762419ca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,6 @@ # Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. name: Release Workflow - +# on: push: branches: ["release-*"] From 8629c6812c86735e67f8c6afaa2032996aae6bd9 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:28:50 -0400 Subject: [PATCH 53/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index 5ef524fd..d56b0549 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -37,7 +37,7 @@ jobs: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin # Pull the test image - docker pull ghcr.io/guergabo/resonate:release-1.0 + docker pull ghcr.io/guergabo/resonate:${{ inputs.tag }} # Run the test image docker run --rm ghcr.io/guergabo/resonate:release-1.0 dst run --seed ${{ needs.seed.outputs.seed }} --aio-store sqlite From e813ff0b8e51125f71904b0b835aa8cf2b2266fa Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:29:40 -0400 Subject: [PATCH 54/74] Update release.yaml --- .github/workflows/release.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 762419ca..8a8f5006 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,24 +1,24 @@ # Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. name: Release Workflow -# + on: push: branches: ["release-*"] workflow_dispatch: jobs: - publish-github-image: - uses: ./.github/workflows/release_publish_github_image.yaml - with: - tag: v1.0.0 + # publish-github-image: + # uses: ./.github/workflows/release_publish_github_image.yaml + # with: + # tag: v1.0.0 - publish-github-release: - uses: ./.github/workflows/release_publish_github_release.yaml - with: - tag: v1.0.0 + # publish-github-release: + # uses: ./.github/workflows/release_publish_github_release.yaml + # with: + # tag: v1.0.0 verify-github-artifacts: - needs: [publish-github-image, publish-github-release] + #needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: tag: v1.0.0 From 57f44577f79af2bb66e75889bf794d485f2dee46 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:30:45 -0400 Subject: [PATCH 55/74] Update release_verify_artifacts.yaml --- .github/workflows/release_verify_artifacts.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_verify_artifacts.yaml b/.github/workflows/release_verify_artifacts.yaml index d56b0549..4cb7a56e 100644 --- a/.github/workflows/release_verify_artifacts.yaml +++ b/.github/workflows/release_verify_artifacts.yaml @@ -40,7 +40,7 @@ jobs: docker pull ghcr.io/guergabo/resonate:${{ inputs.tag }} # Run the test image - docker run --rm ghcr.io/guergabo/resonate:release-1.0 dst run --seed ${{ needs.seed.outputs.seed }} --aio-store sqlite + docker run --rm ghcr.io/guergabo/resonate:${{ inputs.tag }} dst run --seed ${{ needs.seed.outputs.seed }} --aio-store sqlite verify-github-release: From c309f9b3d7ad0b49fb9d93fee14604719a3ecb8c Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:32:46 -0400 Subject: [PATCH 56/74] Update release.yaml --- .github/workflows/release.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8a8f5006..c60b5ffc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,18 +7,18 @@ on: workflow_dispatch: jobs: - # publish-github-image: - # uses: ./.github/workflows/release_publish_github_image.yaml - # with: - # tag: v1.0.0 + publish-github-image: + uses: ./.github/workflows/release_publish_github_image.yaml + with: + tag: v1.0.0 - # publish-github-release: - # uses: ./.github/workflows/release_publish_github_release.yaml - # with: - # tag: v1.0.0 + publish-github-release: + uses: ./.github/workflows/release_publish_github_release.yaml + with: + tag: v1.0.0 verify-github-artifacts: - #needs: [publish-github-image, publish-github-release] + needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: tag: v1.0.0 From d7d448a69ca8f4ade7031ab5b92842be2828cd9c Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:53:57 -0400 Subject: [PATCH 57/74] Update release_publish_github_image.yaml --- .github/workflows/release_publish_github_image.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release_publish_github_image.yaml b/.github/workflows/release_publish_github_image.yaml index 50991da4..47a4fffc 100644 --- a/.github/workflows/release_publish_github_image.yaml +++ b/.github/workflows/release_publish_github_image.yaml @@ -69,3 +69,5 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + provenance: true + sbom: true From fa1ec14aff2ed861f4ad312b6a254d4de160290a Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:12:37 -0400 Subject: [PATCH 58/74] Update release.yaml --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c60b5ffc..cd8d6018 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,15 +10,15 @@ jobs: publish-github-image: uses: ./.github/workflows/release_publish_github_image.yaml with: - tag: v1.0.0 + tag: v1.0.1 publish-github-release: uses: ./.github/workflows/release_publish_github_release.yaml with: - tag: v1.0.0 + tag: v1.0.1 verify-github-artifacts: needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: - tag: v1.0.0 + tag: v1.0.1 From e9afb60232cdc751e3ae24d4bd926f2b85261c76 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:32:55 -0400 Subject: [PATCH 59/74] Update release.yaml --- .github/workflows/release.yaml | 39 ++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd8d6018..8a6bc442 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,18 +7,31 @@ on: workflow_dispatch: jobs: - publish-github-image: - uses: ./.github/workflows/release_publish_github_image.yaml - with: - tag: v1.0.1 + bump-version: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Bump version and push tag + uses: anothrNick/github-tag-action@1.64.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + + # publish-github-image: + # uses: ./.github/workflows/release_publish_github_image.yaml + # with: + # tag: v1.0.1 - publish-github-release: - uses: ./.github/workflows/release_publish_github_release.yaml - with: - tag: v1.0.1 + # publish-github-release: + # uses: ./.github/workflows/release_publish_github_release.yaml + # with: + # tag: v1.0.1 - verify-github-artifacts: - needs: [publish-github-image, publish-github-release] - uses: ./.github/workflows/release_verify_artifacts.yaml - with: - tag: v1.0.1 + # verify-github-artifacts: + # needs: [publish-github-image, publish-github-release] + # uses: ./.github/workflows/release_verify_artifacts.yaml + # with: + # tag: v1.0.1 From 19da50b167a8c46707062a32bfc04cb3301da24c Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:36:24 -0400 Subject: [PATCH 60/74] patch release.yaml --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8a6bc442..c8f6be46 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,6 +19,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true + # # publish-github-image: # uses: ./.github/workflows/release_publish_github_image.yaml From e8512e326c9574e00ad2d401b00174b2aff1c930 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:39:29 -0400 Subject: [PATCH 61/74] patch(test): Update release.yaml --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c8f6be46..96833074 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true - # + MAJOR_STRING_TOKEN: major( + MINOR_STRING_TOKEN: minor( + PATCH_STRING_TOKEN: patch( + DEFAULT_BUMP: none # publish-github-image: # uses: ./.github/workflows/release_publish_github_image.yaml From be0dbd003488b13fdc13899a4fbe2d3112a4d8e4 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:42:26 -0400 Subject: [PATCH 62/74] Update release.yaml --- .github/workflows/release.yaml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 96833074..ad9053eb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,19 +23,21 @@ jobs: MINOR_STRING_TOKEN: minor( PATCH_STRING_TOKEN: patch( DEFAULT_BUMP: none - - # publish-github-image: - # uses: ./.github/workflows/release_publish_github_image.yaml - # with: - # tag: v1.0.1 + outputs: + new_tag: ${{ steps.bump_version.outputs.new_tag }} + + publish-github-image: + uses: ./.github/workflows/release_publish_github_image.yaml + with: + tag: ${{ needs.bump-version.outputs.new_tag }} - # publish-github-release: - # uses: ./.github/workflows/release_publish_github_release.yaml - # with: - # tag: v1.0.1 + publish-github-release: + uses: ./.github/workflows/release_publish_github_release.yaml + with: + tag: ${{ needs.bump-version.outputs.new_tag }} - # verify-github-artifacts: - # needs: [publish-github-image, publish-github-release] - # uses: ./.github/workflows/release_verify_artifacts.yaml - # with: - # tag: v1.0.1 + verify-github-artifacts: + needs: [publish-github-image, publish-github-release] + uses: ./.github/workflows/release_verify_artifacts.yaml + with: + tag: ${{ needs.bump-version.outputs.new_tag }} From 36ac81befbbbf886c5c794726cf768e840fa552f Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:43:38 -0400 Subject: [PATCH 63/74] Update release.yaml --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ad9053eb..7796f4c6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,17 +27,19 @@ jobs: new_tag: ${{ steps.bump_version.outputs.new_tag }} publish-github-image: + needs: [bump-version] uses: ./.github/workflows/release_publish_github_image.yaml with: tag: ${{ needs.bump-version.outputs.new_tag }} publish-github-release: + needs: [bump-version] uses: ./.github/workflows/release_publish_github_release.yaml with: tag: ${{ needs.bump-version.outputs.new_tag }} verify-github-artifacts: - needs: [publish-github-image, publish-github-release] + needs: [bump-version, publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: tag: ${{ needs.bump-version.outputs.new_tag }} From fd07bf047a963230e4964bbb7db5c2909c4b481b Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:45:34 -0400 Subject: [PATCH 64/74] patch(test): Update release.yaml --- .github/workflows/release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7796f4c6..20bbaab4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,6 @@ jobs: MAJOR_STRING_TOKEN: major( MINOR_STRING_TOKEN: minor( PATCH_STRING_TOKEN: patch( - DEFAULT_BUMP: none outputs: new_tag: ${{ steps.bump_version.outputs.new_tag }} From 9ddad1c7ffb272c13a1c0b909b7e6f157389cdf0 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:49:36 -0400 Subject: [PATCH 65/74] Update release.yaml --- .github/workflows/release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 20bbaab4..72e855c0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Bump version and push tag + id: tag_version uses: anothrNick/github-tag-action@1.64.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -29,16 +30,16 @@ jobs: needs: [bump-version] uses: ./.github/workflows/release_publish_github_image.yaml with: - tag: ${{ needs.bump-version.outputs.new_tag }} + tag: ${{ steps.tag_version.outputs.new_tag }} publish-github-release: needs: [bump-version] uses: ./.github/workflows/release_publish_github_release.yaml with: - tag: ${{ needs.bump-version.outputs.new_tag }} + tag: ${{ steps.tag_version.outputs.new_tag }} verify-github-artifacts: needs: [bump-version, publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: - tag: ${{ needs.bump-version.outputs.new_tag }} + tag: ${{ steps.tag_version.outputs.new_tag }} From 19ad8e9980507855a39d424882d395b655776089 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:49:46 -0400 Subject: [PATCH 66/74] Update release.yaml --- .github/workflows/release.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 72e855c0..befd38aa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,8 +23,6 @@ jobs: MAJOR_STRING_TOKEN: major( MINOR_STRING_TOKEN: minor( PATCH_STRING_TOKEN: patch( - outputs: - new_tag: ${{ steps.bump_version.outputs.new_tag }} publish-github-image: needs: [bump-version] From 091d892ade78bea60e1e3113359ec662b83d0402 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 00:53:34 -0400 Subject: [PATCH 67/74] Update release.yaml --- .github/workflows/release.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index befd38aa..cc652865 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,3 +1,4 @@ + # Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. name: Release Workflow @@ -23,21 +24,23 @@ jobs: MAJOR_STRING_TOKEN: major( MINOR_STRING_TOKEN: minor( PATCH_STRING_TOKEN: patch( + outputs: + new_tag: ${{ steps.tag_version.outputs.new_tag }} publish-github-image: needs: [bump-version] uses: ./.github/workflows/release_publish_github_image.yaml with: - tag: ${{ steps.tag_version.outputs.new_tag }} + tag: ${{ needs.bump-version.outputs.new_tag }} publish-github-release: needs: [bump-version] uses: ./.github/workflows/release_publish_github_release.yaml with: - tag: ${{ steps.tag_version.outputs.new_tag }} + tag: ${{ needs.bump-version.outputs.new_tag }} verify-github-artifacts: needs: [bump-version, publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: - tag: ${{ steps.tag_version.outputs.new_tag }} + tag: ${{ needs.bump-version.outputs.new_tag }} From d387cd1c49c3bc8adf9f141deec65711b78cbc46 Mon Sep 17 00:00:00 2001 From: guergabo <65991626+guergabo@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:00:19 -0400 Subject: [PATCH 68/74] Update release.yaml --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cc652865..3b948d10 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,6 +24,7 @@ jobs: MAJOR_STRING_TOKEN: major( MINOR_STRING_TOKEN: minor( PATCH_STRING_TOKEN: patch( + TAG_CONTEXT: branch outputs: new_tag: ${{ steps.tag_version.outputs.new_tag }} From 39dad46b3db71310eedb26ea051d6a05f5b30a51 Mon Sep 17 00:00:00 2001 From: Gabriel Guerra Date: Fri, 12 Apr 2024 16:24:54 -0400 Subject: [PATCH 69/74] fix(cleanup) --- .github/workflows/release.yaml | 42 +++++-------------- ... => release_publish_github_artifacts.yaml} | 27 ++---------- 2 files changed, 15 insertions(+), 54 deletions(-) rename .github/workflows/{release_publish_github_release.yaml => release_publish_github_artifacts.yaml} (85%) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3b948d10..d866e73e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,47 +1,27 @@ - -# Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. +# Release workflow is the main workflow that coordinates various GitHub workflows involved in a release of Resonate. name: Release Workflow on: - push: - branches: ["release-*"] + release: + types: + - published workflow_dispatch: jobs: - bump-version: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Bump version and push tag - id: tag_version - uses: anothrNick/github-tag-action@1.64.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - WITH_V: true - MAJOR_STRING_TOKEN: major( - MINOR_STRING_TOKEN: minor( - PATCH_STRING_TOKEN: patch( - TAG_CONTEXT: branch - outputs: - new_tag: ${{ steps.tag_version.outputs.new_tag }} - publish-github-image: needs: [bump-version] uses: ./.github/workflows/release_publish_github_image.yaml with: - tag: ${{ needs.bump-version.outputs.new_tag }} + tag: ${{ github.ref_name }} - publish-github-release: + publish-github-artifacts: needs: [bump-version] - uses: ./.github/workflows/release_publish_github_release.yaml + uses: ./.github/workflows/release_publish_github_artifacts.yaml with: - tag: ${{ needs.bump-version.outputs.new_tag }} - - verify-github-artifacts: + tag: ${{ github.ref_name }} + + verify-github-artifacts: needs: [bump-version, publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: - tag: ${{ needs.bump-version.outputs.new_tag }} + tag: ${{ github.ref_name }} diff --git a/.github/workflows/release_publish_github_release.yaml b/.github/workflows/release_publish_github_artifacts.yaml similarity index 85% rename from .github/workflows/release_publish_github_release.yaml rename to .github/workflows/release_publish_github_artifacts.yaml index c90bd55c..0359b62e 100644 --- a/.github/workflows/release_publish_github_release.yaml +++ b/.github/workflows/release_publish_github_artifacts.yaml @@ -4,34 +4,16 @@ on: workflow_call: inputs: tag: - description: 'The tag version to use for verification' + description: "The tag version to use for verification" required: true type: string - + workflow_dispatch: permissions: contents: write -jobs: - create-release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Build - run: echo ${{ github.sha }} > Release.txt - - name: Test - run: cat Release.txt - - name: Release - uses: softprops/action-gh-release@v2 - with: - body_path: Release.txt - name: Resonate ${{ inputs.tag }} - tag_name: ${{ inputs.tag }} - generate_release_notes: true - make_latest: true - +jobs: release-linux-artifact: runs-on: ubuntu-latest needs: [create-release] @@ -87,7 +69,7 @@ jobs: # Build resonate binaries GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -o ./bin/darwin-x86_64/ ./... GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -o ./bin/darwin-aarch64/ ./... - + # Change permissions chmod +x ./bin/darwin-x86_64/resonate chmod +x ./bin/darwin-aarch64/resonate @@ -107,4 +89,3 @@ jobs: gh release upload ${{ inputs.tag }} resonate_darwin_x86_64.tar.gz.sha256 --clobber gh release upload ${{ inputs.tag }} resonate_darwin_aarch64.tar.gz --clobber gh release upload ${{ inputs.tag }} resonate_darwin_aarch64.tar.gz.sha256 --clobber - From ddf5c4581ffc1fe6864954d54d1ba8e9eb87e222 Mon Sep 17 00:00:00 2001 From: Gabriel Guerra Date: Fri, 12 Apr 2024 16:25:51 -0400 Subject: [PATCH 70/74] fix(cleanup): X2 --- .github/workflows/release.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d866e73e..bba8ff16 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,19 +9,17 @@ on: jobs: publish-github-image: - needs: [bump-version] uses: ./.github/workflows/release_publish_github_image.yaml with: tag: ${{ github.ref_name }} publish-github-artifacts: - needs: [bump-version] uses: ./.github/workflows/release_publish_github_artifacts.yaml with: tag: ${{ github.ref_name }} verify-github-artifacts: - needs: [bump-version, publish-github-image, publish-github-release] + needs: [publish-github-image, publish-github-release] uses: ./.github/workflows/release_verify_artifacts.yaml with: tag: ${{ github.ref_name }} From 8eb292c9afa65c479f034ba4bd1f487dde149d80 Mon Sep 17 00:00:00 2001 From: Gabriel Guerra Date: Fri, 12 Apr 2024 16:36:53 -0400 Subject: [PATCH 71/74] fix(cleanup): X3 --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bba8ff16..90a1fedd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,7 @@ jobs: tag: ${{ github.ref_name }} verify-github-artifacts: - needs: [publish-github-image, publish-github-release] + needs: [publish-github-image, publish-github-artifacts] uses: ./.github/workflows/release_verify_artifacts.yaml with: tag: ${{ github.ref_name }} From f318739f0a8631516d8300ab64a494b2489fb8b7 Mon Sep 17 00:00:00 2001 From: Gabriel Guerra Date: Fri, 12 Apr 2024 16:41:06 -0400 Subject: [PATCH 72/74] fix(cleanup): X4 --- .github/workflows/release_publish_github_artifacts.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release_publish_github_artifacts.yaml b/.github/workflows/release_publish_github_artifacts.yaml index 0359b62e..4a865c8d 100644 --- a/.github/workflows/release_publish_github_artifacts.yaml +++ b/.github/workflows/release_publish_github_artifacts.yaml @@ -16,7 +16,6 @@ permissions: jobs: release-linux-artifact: runs-on: ubuntu-latest - needs: [create-release] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -56,7 +55,6 @@ jobs: release-darwin-artifact: runs-on: macos-latest - needs: [create-release] steps: - name: Checkout repository uses: actions/checkout@v4 From b06380a0eb7d896bef42252dc61517cb9d478d3b Mon Sep 17 00:00:00 2001 From: Gabriel Guerra Date: Fri, 12 Apr 2024 16:58:51 -0400 Subject: [PATCH 73/74] fix(cleanup): X5 --- .github/workflows/ci.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d80f204e..939ec7ad 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: CI +name: CICD on: push: @@ -14,12 +14,14 @@ permissions: jobs: build: runs-on: ubuntu-latest + env: TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_HOST: "localhost" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_PORT: "5432" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_USERNAME: "username" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_PASSWORD: "password" TEST_AIO_SUBSYSTEMS_STORE_CONFIG_POSTGRES_DATABASE: "resonate_test" + services: postgres: image: postgres:15 @@ -34,28 +36,35 @@ jobs: --health-retries 5 ports: - 5432:5432 + steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: go-version-file: go.mod cache: false + - name: Install and run golangci-lint uses: golangci/golangci-lint-action@v4 # nosemgrep with: version: v1.54 args: --verbose --timeout=3m + - name: Run go test and generate coverage report run: | go test -v -coverprofile=coverage.out -coverpkg=./... ./... + - name: Upload coverage report to Codecov uses: codecov/codecov-action@v4 # nosemgrep with: token: ${{ secrets.CODECOV_TOKEN }} + - name: Build resonate run: go build -o resonate + - name: Cache resonate binary uses: actions/cache/save@v4 with: @@ -72,21 +81,26 @@ jobs: path: resonate key: resonate-${{ github.sha }} fail-on-cache-miss: true + - name: Run resonate server run: | chmod +x resonate ./resonate serve --aio-store-sqlite-path :memory: & + - name: Checkout test harness uses: actions/checkout@v4 with: repository: resonatehq/durable-promise-test-harness + - name: Build test harness run: | go build -o harness + - name: Run linearizability check run: | chmod +x harness ./harness verify -r 1000 -c 10 + - uses: actions/upload-artifact@v4 if: ${{ always() }} with: From 68298e07022e98fbafc585908e073609c3b294f2 Mon Sep 17 00:00:00 2001 From: Gabriel Guerra Date: Fri, 12 Apr 2024 17:00:56 -0400 Subject: [PATCH 74/74] fix(cleanup): X6 --- .github/workflows/{ci.yaml => cicd.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{ci.yaml => cicd.yaml} (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/cicd.yaml similarity index 100% rename from .github/workflows/ci.yaml rename to .github/workflows/cicd.yaml