-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb1110b
commit a64fa9a
Showing
150 changed files
with
4,392 additions
and
1,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:12.20.1-alpine | ||
FROM node:16-alpine | ||
LABEL SCM_URL https://github.com/salesforce/cix | ||
USER root | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: 2.1 | ||
pipeline: | ||
- step: | ||
name: minimal | ||
image: alpine:3.9 | ||
commands-output: minimal | ||
commands: | ||
- echo "You will only see stdout/stderr (minimal)" | ||
- step: | ||
name: echo | ||
image: alpine:3.9 | ||
commands-output: echo | ||
commands: | ||
- echo "This echo command will be echo'd (echo without a timestamp)" | ||
- step: | ||
name: timestamp | ||
image: alpine:3.9 | ||
commands-output: timestamp | ||
commands: | ||
- echo "This echo command will be echo'd (echo with a timestamp)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
version: 2.1 | ||
pipeline: | ||
- step: | ||
name: loop | ||
image: alpine:3.9 | ||
name: for-each-empty | ||
image: alpine:3.9 | ||
for-each: $$FOO | ||
element-variable: ELEMENT | ||
parallel: true | ||
commands-output: minimal | ||
commands: | ||
- "[ $((RANDOM % 10)) -ge 8 ] && exit 1 || exit 0" # occasionally fail the command | ||
# entire pipeline will fail, if any command in any of the loops fails (unlike retry) | ||
loop: $$LOOPS | ||
- echo $ELEMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,4 @@ pipeline: | |
name: fifth | ||
image: alpine:3.9 | ||
commands: | ||
- hostname | ||
- hostname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: 2.1 | ||
pipeline: | ||
- step: | ||
name: set-user | ||
image: alpine:3.9 | ||
user: 12300 | ||
commands: | ||
- id | ||
- step: | ||
name: set-uid-and-gid | ||
image: alpine:3.9 | ||
user: 12300:12300 | ||
commands: | ||
- id | ||
- step: | ||
name: set-user-string | ||
image: alpine:3.9 | ||
# 'games' is a user listed in the alpine image's /etc/passwd file | ||
user: games | ||
commands: | ||
- id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.