Skip to content

Commit

Permalink
fix: skip e2e test for mcr publish pipeline
Browse files Browse the repository at this point in the history
it runs e2e test once on the ghcr pipeline, there is no
point to run e2e again

Signed-off-by: jerryzhuang <zhuangqhc@gmail.com>
  • Loading branch information
zhuangqh committed Nov 15, 2024
1 parent 77ed191 commit 25c6456
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/publish-mcr-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,9 @@ jobs:
VERSION: ${{ needs.get-tag.outputs.release-tag }}
REGISTRY: ${{ secrets.KAITO_MCR_REGISTRY }}/public/aks/kaito

run-e2e-mcr:
permissions:
contents: read
id-token: write
statuses: write
needs: [ build-publish-mcr-image ]
uses: ./.github/workflows/e2e-workflow.yml
with:
git_sha: ${{ github.sha }}
isRelease: true
registry: "mcr.microsoft.com/aks/kaito"
k8s_version: ${{ vars.AKS_K8S_VERSION }}
tag: ${{ github.event.client_payload.tag }}

create-release:
runs-on: ubuntu-latest
needs: [ run-e2e-mcr ]
needs: [ build-publish-mcr-image ]
steps:
- name: 'Dispatch release tag'
uses: peter-evans/repository-dispatch@v3
Expand Down

0 comments on commit 25c6456

Please sign in to comment.