Skip to content

Commit

Permalink
Revert 51 (#55)
Browse files Browse the repository at this point in the history
* Revert "Added end2end test agaist latest 2 release (#51)"

This reverts commit 2b5fb6f.

Signed-off-by: Eduardo Apolinario <[email protected]>

* make end2end_execute

Signed-off-by: Eduardo Apolinario <[email protected]>

* small fix

Signed-off-by: Yuvraj <[email protected]>

Co-authored-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Yuvraj <[email protected]>
  • Loading branch information
3 people authored Mar 4, 2022
1 parent 2b5fb6f commit 5a528ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
20 changes: 3 additions & 17 deletions flytetools/.github/workflows/end2end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
make end2end_execute
1 change: 0 additions & 1 deletion flytetools/.github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
description: "Cache key for docker image"
required: true
type: string

jobs:
integration:
name: Integration tests
Expand Down

0 comments on commit 5a528ef

Please sign in to comment.