diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e59420e0e..5b24a6487 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -113,7 +113,7 @@ jobs: - name: Set cache key output id: create_cache_key run: | - echo "cache_key=/tmp/docker-images-${{ github.run_id }}" >> "$GITHUB_OUTPUT" + echo "cache_key_${{ matrix.package }}=/tmp/docker-images-${{ github.run_id }}" >> "$GITHUB_OUTPUT" - name: Prime docker cache run: (docker load -i /tmp/tmp/docker-images/snapshot-builder.tar || true) && (docker load -i /tmp/tmp/docker-images/snapshot.tar || true) - name: Build dockerfile @@ -157,7 +157,7 @@ jobs: uses: actions/cache@v3 with: path: /tmp/tmp/docker-images - key: ${{ needs.docker-build.outputs.cache_key }} + key: ${{ needs.docker-build.outputs.cache_key_${{ matrix.package }} }} - name: Create Sandbox Cluster run: | cp /tmp/tmp/docker-images/snapshot.tar snapshot.tar @@ -211,7 +211,7 @@ jobs: uses: actions/cache@v3 with: path: /tmp/tmp/docker-images - key: ${{ needs.docker-build.outputs.cache_key }} + key: ${{ needs.docker-build.outputs.cache_key_${{ matrix.package }} }} - name: Prime docker cache run: docker load -i /tmp/tmp/docker-images/snapshot-builder.tar || true - uses: engineerd/setup-kind@v0.5.0 @@ -277,33 +277,34 @@ jobs: DEFAULT_BUMP: patch RELEASE_BRANCHES: ${{ steps.extract_branch.outputs.branch_name }} - goreleaser: - needs: [changes, bump_version] - if: ${{ needs.changes.outputs.packages != '[]' }} - name: Goreleaser - strategy: - fail-fast: false - matrix: - package: ${{ fromJSON(needs.changes.outputs.packages) }} - runs-on: ubuntu-latest - defaults: - run: - working-directory: ${{ matrix.package }} - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: "0" - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: ${{ env.GO_VERSION }} - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 - with: - args: release --rm-dist - workdir: ${{ matrix.package }} - env: - GITHUB_TOKEN: ${{ secrets.FLYTE_BOT_PAT }} + # Temporarily disable it +# goreleaser: +# needs: [changes, bump_version] +# if: ${{ needs.changes.outputs.packages != '[]' }} +# name: Goreleaser +# strategy: +# fail-fast: false +# matrix: +# package: ${{ fromJSON(needs.changes.outputs.packages) }} +# runs-on: ubuntu-latest +# defaults: +# run: +# working-directory: ${{ matrix.package }} +# steps: +# - uses: actions/checkout@v2 +# with: +# fetch-depth: "0" +# - name: Set up Go +# uses: actions/setup-go@v2 +# with: +# go-version: ${{ env.GO_VERSION }} +# - name: Run GoReleaser +# uses: goreleaser/goreleaser-action@v2 +# with: +# args: release --rm-dist +# workdir: ${{ matrix.package }} +# env: +# GITHUB_TOKEN: ${{ secrets.FLYTE_BOT_PAT }} bump_component_version: needs: [ changes, bump_version, goreleaser ] diff --git a/Makefile b/Makefile index 94e4b232d..4cdb3d71c 100644 --- a/Makefile +++ b/Makefile @@ -107,3 +107,7 @@ build_native_flyte: update_boilerplate: @curl https://raw.githubusercontent.com/flyteorg/boilerplate/master/boilerplate/update.sh -o boilerplate/update.sh @boilerplate/update.sh + +.PHONY: end2end_execute +end2end_execute: + pass # TODO: updated it \ No newline at end of file