Skip to content

Commit

Permalink
Added flytectl sandbox for running end2end (flyteorg#1860)
Browse files Browse the repository at this point in the history
* Added flytectl sandbox for running end2end

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

* Added flytectl sandbox for running end2end

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

* Added flytectl sandbox for running end2end

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

* revert kustomize changes

Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia authored Nov 24, 2021
1 parent fa987df commit 41e08db
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,21 @@ jobs:
run: DELTA_CHECK=true make kustomize
- name: Helm and diff
run: DELTA_CHECK=true make helm
- uses: engineerd/[email protected]
with:
version: "v0.11.1"
- uses: unionai/[email protected]
name: Setup flytectl
- name: Create Sandbox Cluster
run: |
flytectl config init
flytectl sandbox start --source=$(pwd)
- name: Upgrade Helm charts
run: flytectl sandbox exec -- helm upgrade flyte -n flyte --kubeconfig=/etc/rancher/k3s/k3s.yaml /root/charts/flyte/ -f /root/charts/flyte/values-sandbox.yaml
- name: End2End
env:
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PASSWORD: "${{ secrets.GITHUB_TOKEN }}"
KUBECONFIG: /home/runner/.flyte/k3s/k3s.yaml
run: |
kubectl cluster-info
kubectl get pods -n kube-system
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
# launch flyte end2end
make helm_update
make helm_install
make end2end_execute

0 comments on commit 41e08db

Please sign in to comment.