This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
47 lines (39 loc) · 1.67 KB
/
e2e.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
name: E2E
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: E2E
runs-on: ubuntu-22.04
strategy:
matrix:
kubernetes: ["1.21"]
steps:
- name: Install python dependencies
run: sudo apt-get update && sudo apt-get install -y python3-setuptools python3-pip
- name: Check out code
uses: actions/checkout@v3
- name: Create KinD cluster
run: ./pleasew run //scripts/development/kind:setup -- --kubernetes_version="${{ matrix.kubernetes }}"
- name: Deploy Dracon supporting resources
run: |
./pleasew deploy //scripts/development/k8s:namespace
./pleasew deploy //scripts/development/k8s/enricher-db --wait
./pleasew deploy //scripts/development/k8s/minio-storage --wait
./pleasew deploy //scripts/development/k8s/elasticsearch-kibana --wait
- name: Setup and Run Example pipelines
run: |
./pleasew dracon setup --namespace dracon --pipeline examples/pipelines/golang-project
./pleasew dracon run --namespace dracon --pipeline examples/pipelines/golang-project
./pleasew dracon setup --namespace dracon --pipeline examples/pipelines/mixed-lang-project
./pleasew dracon run --namespace dracon --pipeline examples/pipelines/mixed-lang-project
./pleasew dracon setup --namespace dracon --pipeline examples/pipelines/python-project
./pleasew dracon run --namespace dracon --pipeline examples/pipelines/python-project
./pleasew run //test/e2e:wait_for_pipelineruns
- name: Delete KinD cluster
run: ./pleasew run //scripts/development/kind:delete