Skip to content
This repository was archived by the owner on Mar 24, 2023. It is now read-only.

Commit c185e4d

Browse files
committed
add an integration test for the github asset strip_path param
1 parent 687999c commit c185e4d

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

integration/init_app/github-template-func/expected/.ship/release.yml

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ assets:
2020
dest: ./github-noslash
2121
source: public
2222
ref: ad1e78d13c33fae7a7ce22ed19920945ceea23e9
23+
- github:
24+
repo: replicatedhq/test-charts
25+
path: template-functions
26+
dest: ./github-stripped
27+
strip_path: "{{repl ParseBool \"true\"}}"
28+
source: public
29+
ref: ad1e78d13c33fae7a7ce22ed19920945ceea23e9
2330
config:
2431
v1:
2532
- name: option_group
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#This file tests a part of the Config suite of template functions in Ship
2+
3+
Config option: abc123
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#This file tests a part of the Integration suite of template functions in Ship
2+
3+
Release semver: 1.0.1-SNAPSHOT
4+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#This file tests a part of the Static suite of template functions in Ship
2+
3+
TwoPlusTwo: 4
4+
UPPERCASE: UPPERCASE

integration/init_app/github-template-func/input/.ship/release.yml

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ assets:
2020
dest: ./github-noslash
2121
source: public
2222
ref: ad1e78d13c33fae7a7ce22ed19920945ceea23e9
23+
- github:
24+
repo: replicatedhq/test-charts
25+
path: template-functions
26+
dest: ./github-stripped
27+
strip_path: "{{repl ParseBool \"true\"}}"
28+
source: public
29+
ref: ad1e78d13c33fae7a7ce22ed19920945ceea23e9
2330
config:
2431
v1:
2532
- name: option_group

0 commit comments

Comments
 (0)