-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshippable.yml
67 lines (61 loc) · 2.14 KB
/
shippable.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
jobs:
- name: verify-v-6-6-4
type: runSh
steps:
- IN: master-gitRepo
- IN: sample_kv_int
- TASK:
name: check-get-git-changes
script:
- echo "hello"
- shipctl get_git_changes --resource="master-gitRepo"
- TASK:
name: get_integration_resource_field
script:
- shipctl get_integration_resource_field sample_kv_int key1
- name: verify-v-6-7-4
type: runSh
steps:
- IN: sample_kv_int
- IN: sample_aws_int
# remove clone step after release
- TASK:
name: patched
script:
- git clone https://github.com/scriptnull/node.git nodeRepo
- ./nodeRepo/shipctl/x86_64/Ubuntu_16.04/install.sh
- shipctl get_integration_resource_field sample_kv_int key1
- shipctl get_integration_resource_field sample_kv_int invalid_key
- shipctl get_integration_resource_field sample_aws_int accessKey
- shipctl get_integration_resource_field sample_aws_int invalid_key
- shipctl get_integration_resource_field invalid_resource_name accessKey
- TASK:
name: unpatched
script:
- shipctl get_integration_resource_field sample_kv_int key1
- shipctl get_integration_resource_field sample_kv_int invalid_key
- shipctl get_integration_resource_field sample_aws_int accessKey
- shipctl get_integration_resource_field sample_aws_int invalid_key
- shipctl get_integration_resource_field invalid_resource_name accessKey
- name: verify-v-6-8-1
type: runSh
steps:
- TASK:
name: check-env-for-slack-envs
script:
- echo "hello"
- printenv
resources:
- name: master-gitRepo
type: gitRepo
integration: drship_github
pointer:
sourceName: sample-organisation/gitRepo
branch: prod_get_git_changes
buildOnPullRequest: true
- name: sample_kv_int
type: integration
integration: sample_kv
- name: sample_aws_int
type: integration
integration: sample_aws