forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (69 loc) · 2.1 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: tests
on:
push:
branches:
- master
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Fetch the code
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f doc-requirements.txt ]; then pip install -r doc-requirements.txt; fi
- name: Build the documentation
run: make docs
end-to-end-kustomize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Kustomize and diff
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"
- name: End2End
env:
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PASSWORD: "${{ secrets.GITHUB_TOKEN }}"
run: |
kubectl cluster-info
kubectl get pods -n kube-system
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
# launch flyte end2end
kubectl apply -f "./deployment/test/flyte_generated.yaml"
make end2end_execute
end-to-end-helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Kustomize and diff
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"
- name: End2End
env:
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PASSWORD: "${{ secrets.GITHUB_TOKEN }}"
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