Skip to content

ZO-4519: Deploy nightwatch to k8s #5

ZO-4519: Deploy nightwatch to k8s

ZO-4519: Deploy nightwatch to k8s #5

Workflow file for this run

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: |

Check failure on line 22 in .github/workflows/nightwatch.yaml

View workflow run for this annotation

GitHub Actions / Build and deploy nightwatch tests

Invalid workflow file

The workflow is not valid. .github/workflows/nightwatch.yaml (Line: 22, Col: 13): Unrecognized named-value: 'env'. Located at position 1 within expression: env.tag
--override-type=strategic --overrides='{"spec": {
"serviceAccount": "baseproject",
"containers": [{
"name": "nightwatch-test-${{env.tag}}",
"env": [
{"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)