This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
51 lines (49 loc) · 1.51 KB
/
ci.yaml
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
name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
jobs:
ci-master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Run browsertest container against latest master images
run: make test_integration_master
- name: Dump logs on failure
if: failure()
run: |
docker-compose -f docker-compose.infra.yml logs
docker-compose -f docker-compose.master.yml logs
- name: Notify slack
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v2
with:
channel: libero-reviewer-tech
status: FAILED
color: warning
chart:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Basic Helm Lint
run: helm lint charts/libero-reviewer
- name: Validate Chart's Output
run: |
wget -q https://github.com/instrumenta/kubeval/releases/download/0.15.0/kubeval-linux-amd64.tar.gz
tar -xzf kubeval-linux-amd64.tar.gz
make setup_chart
KUBEVAL=./kubeval make validate_chart
- name: Publish Chart using GH-Pages
uses: stefanprodan/helm-gh-pages@master
if: github.ref == 'refs/heads/master'
with:
token: "${{ secrets.CHART_RELEASE_TOKEN }}"
charts_url: https://libero.github.io/reviewer