-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathacceptance-pipeline-overlay.yml
53 lines (51 loc) · 1.02 KB
/
acceptance-pipeline-overlay.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
50
51
52
53
#@ load("@ytt:overlay", "overlay")
#@overlay/match by=overlay.all
---
resources:
#@overlay/append
- name: tests
type: git
icon: github-circle
source:
uri: ((tests-git-uri))
branch: ((tests-git-branch))
username: ((git-username))
password: ((git-password))
#@overlay/match by=overlay.all
---
jobs:
#@overlay/append
- name: run-acceptance-tests
plan:
- get: tests
trigger: false
- task: run
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cypress/included
tag: 3.6.0
inputs:
- name: tests
caches:
- path: tests/node_modules
run:
path: /usr/local/bin/cypress
args:
- run
- -e
- base_url=((tests-target-uri))
- --project
- tests
on_success:
put: notify
params:
channel: ((slack-channel))
alert_type: success
on_failure:
put: notify
params:
channel: ((slack-channel))
alert_type: failed