From 064e160dd46ae1b0db333324ad846777d07b0a49 Mon Sep 17 00:00:00 2001 From: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com> Date: Tue, 14 May 2024 16:02:33 -0700 Subject: [PATCH 1/3] ci: update relayer releases --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4b0f60..fb69a03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release cw-relayer and contracts +name: Release relayer and contracts on: push: @@ -60,7 +60,7 @@ jobs: with: go-version: 1.19 cache: true - cache-dependency-path: cw-relayer/go.sum + cache-dependency-path: relayer/go.sum - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/*}" >> $GITHUB_ENV @@ -96,7 +96,7 @@ jobs: # Ref: https://github.com/goreleaser/goreleaser/pull/2503 version: v0.179.0 args: release --rm-dist --skip-validate - workdir: cw-relayer + workdir: relayer env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_CURRENT_TAG: ${{ env.RELEASE_VERSION }} @@ -119,7 +119,7 @@ jobs: - name: testnet uses: ./.github/relayer-testnet with: - RELAYER_BINARY_NAME: cw-relayer + RELAYER_BINARY_NAME: relayer GLIBC_VERSION: ${{ env.GLIBC_VERSION }} RELEASE_VERSION: ${{ env.RELEASE_VERSION }} PULUMI_PROJECT_DIR: infra/ @@ -128,4 +128,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} UMEE_INFRA_SSH_KEY: ${{ secrets.UMEE_INFRA_SSH_KEY }} GCP_WORKLOAD_IDENTITY_PROVIDER: projects/451365972553/locations/global/workloadIdentityPools/ojo-pool/providers/ojo-gh-provider - GCP_SERVICE_ACCOUNT: 'ojo-gh-actions-service@ojo-network.iam.gserviceaccount.com' \ No newline at end of file + GCP_SERVICE_ACCOUNT: 'ojo-gh-actions-service@ojo-network.iam.gserviceaccount.com' From efba5ee635ff32d0db20527ae0d97c52867e86b4 Mon Sep 17 00:00:00 2001 From: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com> Date: Tue, 14 May 2024 16:03:33 -0700 Subject: [PATCH 2/3] remove artifacts --- .github/workflows/release.yml | 62 ----------------------------------- 1 file changed, 62 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb69a03..d879ba0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,40 +13,6 @@ permissions: id-token: write jobs: - contract: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install latest stable - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - components: rustfmt, clippy - - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/*}" >> $GITHUB_ENV - - - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Generate Cargo.lock - run: | - cargo fetch --verbose --manifest-path ./cosmwasm/Cargo.toml - - name: Build/Release Artifacts - if: startsWith(github.ref, 'refs/tags/') - run: | - docker run --rm -v "$(pwd)/cosmwasm":/code \ - --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \ - --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ - cosmwasm/workspace-optimizer:0.12.7 - tar -zcvf cosmwasm-artifacts-${{ env.RELEASE_VERSION }}.tar.gz cosmwasm/artifacts - - name: Release - if: startsWith(github.ref, 'refs/tags/') - uses: softprops/action-gh-release@v1 - with: - files: | - cosmwasm-artifacts-${{ env.RELEASE_VERSION }}.tar.gz - goreleaser: strategy: matrix: @@ -101,31 +67,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_CURRENT_TAG: ${{ env.RELEASE_VERSION }} GLIBC_VERSION: ${{ env.GLIBC_VERSION }} - - update-infra: - needs: [contract, goreleaser] - runs-on: ubuntu-20.04 - steps: - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/*}" >> $GITHUB_ENV - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Check GLIBC version - run: | - echo "GLIBC_VERSION=$(ldd --version | grep ldd | awk '{print $NF}')" >> $GITHUB_ENV - - - name: testnet - uses: ./.github/relayer-testnet - with: - RELAYER_BINARY_NAME: relayer - GLIBC_VERSION: ${{ env.GLIBC_VERSION }} - RELEASE_VERSION: ${{ env.RELEASE_VERSION }} - PULUMI_PROJECT_DIR: infra/ - PULUMI_STACK_NAME: wasmtest - PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - UMEE_INFRA_SSH_KEY: ${{ secrets.UMEE_INFRA_SSH_KEY }} - GCP_WORKLOAD_IDENTITY_PROVIDER: projects/451365972553/locations/global/workloadIdentityPools/ojo-pool/providers/ojo-gh-provider - GCP_SERVICE_ACCOUNT: 'ojo-gh-actions-service@ojo-network.iam.gserviceaccount.com' From 0c77bece3bc5b996232d3216afe4f19f608af2ca Mon Sep 17 00:00:00 2001 From: Adam Wozniak <29418299+adamewozniak@users.noreply.github.com> Date: Tue, 14 May 2024 16:06:26 -0700 Subject: [PATCH 3/3] go version --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d879ba0..29291dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.21 cache: true cache-dependency-path: relayer/go.sum