diff --git a/flytetools/.github/workflows/end2end.yml b/flytetools/.github/workflows/end2end.yml index e7926c8623..74642aa41e 100644 --- a/flytetools/.github/workflows/end2end.yml +++ b/flytetools/.github/workflows/end2end.yml @@ -12,24 +12,9 @@ on: required: true type: string jobs: - list: - runs-on: ubuntu-latest - name: "Create a list of latest 2 release" - steps: - - uses: actions/checkout@v2 - - name: "Provide the list" - id: create-list - run: echo "::set-output name=releases::$( curl -sL "https://api.github.com/repos/flyteorg/flyte/releases" | jq -c '.[] | select(.prerelease==false) | .tag_name' | jq --slurp . | jq -c . | jq -c '.[0:2]')" - outputs: - releases: "${{ steps.create-list.outputs.releases }}" - endtoend: name: End to End tests runs-on: ubuntu-latest - needs: [list] - strategy: - matrix: - version: "${{ fromJson(needs.list.outputs.releases) }}" steps: - name: Checkout uses: actions/checkout@v2 @@ -48,7 +33,7 @@ jobs: run: | cp /tmp/tmp/docker-images/snapshot.tar snapshot.tar flytectl config init - flytectl sandbox start --source=$(pwd) --version=${{ matrix.version }} + flytectl sandbox start --source=$(pwd) - name: Prime docker cache run: | flytectl sandbox exec -- docker load -i /root/snapshot.tar @@ -75,9 +60,10 @@ jobs: flytectl sandbox exec -- helm repo add flyteorg https://flyteorg.github.io/flyte flytectl sandbox exec -- helm repo update flytectl sandbox exec -- helm upgrade flyte -n flyte --kubeconfig=/etc/rancher/k3s/k3s.yaml flyteorg/flyte -f /flyteorg/share/flyte/values.yaml --wait --set flyte.${{ github.event.repository.name }}.image.repository=flyteorg/${{ github.event.repository.name }},flyte.${{ github.event.repository.name }}.image.tag=latest + flytectl sandbox exec -- k3s kubectl get pods -n flyte -oyaml - name: Post Upgrade Tests env: PRIORITIES: "${{ inputs.priorities }}" run: | - make end2end_execute \ No newline at end of file + make end2end_execute diff --git a/flytetools/.github/workflows/integration.yml b/flytetools/.github/workflows/integration.yml index 1b5e6a6907..6ba821cde6 100644 --- a/flytetools/.github/workflows/integration.yml +++ b/flytetools/.github/workflows/integration.yml @@ -7,7 +7,6 @@ on: description: "Cache key for docker image" required: true type: string - jobs: integration: name: Integration tests