-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (41 loc) · 1.07 KB
/
ci.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
name: ci
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
# - name: Setup Minikube
# uses: manusa/[email protected]
# with:
# minikube version: 'v1.32.0'
# kubernetes version: 'v1.29.0'
# driver: 'docker'
# github token: ${{ secrets.GITHUB_TOKEN }}
- name: Start minikube
run: |
minikube version
minikube start
- name: Test
run: |
./test/run_scaling_tests.sh
- name: Publish
if: github.ref == 'refs/heads/main'
env:
USERNAME: ${{ github.actor }}
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
run: |
./bin/push_docker_image.sh
# - name: Update image tag in cwm-worker-deployment-minio/helm/values.yaml
# if: github.ref == 'refs/heads/main'
# env:
# DEPLOY_KEY: ${{ secrets.CWM_WORKER_MINIO_DEPLOY_KEY }}
# run: |
# ./bin/update_minio_image_tag.sh