-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.17 KB
/
sysdig-teams.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
name: Deploy Sysdig Teams via Helm Chart
on:
push:
branches:
- main
paths:
- "sysdig-teams/**"
- ".github/workflows/sysdig-teams.yml"
jobs:
deploy-sysdig-teams:
runs-on: ubuntu-20.04
permissions:
contents: read
strategy:
matrix:
include:
- host: https://api.gold.devops.gov.bc.ca:6443
plate: c6af30
token: GOLD_C6AF30_OPENSHIFT_TOKEN
- host: https://api.gold.devops.gov.bc.ca:6443
plate: eb75ad
token: GOLD_EB75AD_OPENSHIFT_TOKEN
- host: https://api.gold.devops.gov.bc.ca:6443
plate: e4ca1d
token: GOLD_E4CA1D_OPENSHIFT_TOKEN
steps:
- uses: hmarr/debug-action@v3
- uses: actions/checkout@v4
- name: Authenticate and set context
uses: redhat-actions/oc-login@v1
with:
openshift_server_url: ${{ matrix.host }}
openshift_token: ${{ secrets[matrix.token] }}
namespace: ${{ matrix.plate }}-tools
insecure_skip_tls_verify: true
- name: Deploy Sysdig Team via Helm chart
run: ./deploy-${{ matrix.plate }}.sh
working-directory: ./sysdig-teams