-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (31 loc) · 1.02 KB
/
nightwatch.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
name: Build and deploy nightwatch tests
on:
push:
branches:
- main
paths:
- '.github/workflows/nightwatch.yaml'
- 'smoketest/**'
pull_request:
paths:
- '.github/workflows/nightwatch.yaml'
- 'smoketest/**'
jobs:
build:
uses: zeitonline/gh-action-workflows/.github/workflows/[email protected]
secrets: inherit
with:
versions: smoketest/k8s/base/versions
# copy&paste from k8s/base and k8s/staging manifest
args: |
--override-type=json --overrides='[
{"op": "add", "path": "/spec/serviceAccount", "value": "baseproject"},
{"op": "add", "path": "/spec/containers/0/env", "value": [
{"name": "HTTPS_PROXY", "value": "http://static-ip-proxy.ops.zeit.de:3128"},
{"name": "VIVI_XMLRPC_PASSWORD", "valueFrom": {"secretKeyRef": {
"name": "principals",
"key": "vivi_zeit.cms.principals_system.nightwatch"
}}}
]}
]'
# deploy happens via flux (on `main` branch)