-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make variant in
pkg.yaml
explicit
Fixes #183 Note: this is a breaking change. Also highlight alpine variant in the graph. Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information
Showing
22 changed files
with
42 additions
and
4 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
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,5 +1,6 @@ | ||
--- | ||
name: final | ||
variant: alpine | ||
steps: | ||
- test: | ||
- test "${BUILD:-x}" = "aarch64-linux-musl" | ||
|
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,5 @@ | ||
name: check-cache | ||
variant: alpine | ||
dependencies: | ||
- stage: fill-cache | ||
steps: | ||
|
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,5 @@ | ||
name: fill-cache | ||
variant: alpine | ||
steps: | ||
- cachePaths: | ||
- /.cache | ||
|
1 change: 1 addition & 0 deletions
1
internal/pkg/integration/testdata/platform-override/final/pkg.yaml
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,5 +1,6 @@ | ||
--- | ||
name: final | ||
variant: scratch | ||
dependencies: | ||
- stage: onlyarm | ||
platform: linux/arm64 | ||
|
1 change: 1 addition & 0 deletions
1
internal/pkg/integration/testdata/platform-override/onlyarm/pkg.yaml
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,5 +1,6 @@ | ||
--- | ||
name: onlyarm | ||
variant: alpine | ||
steps: | ||
- test: | ||
- test "${BUILD:-x}" = "aarch64-linux-musl" | ||
|
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,5 @@ | ||
name: go | ||
variant: alpine | ||
steps: | ||
- sources: | ||
- url: https://dl.google.com/go/go1.12.5.src.tar.gz | ||
|
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,5 @@ | ||
name: final | ||
variant: alpine | ||
dependencies: | ||
- stage: stage-a | ||
- stage: stage-b | ||
|
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,5 @@ | ||
name: stage-a | ||
variant: alpine | ||
steps: | ||
- prepare: | ||
- mkdir -p /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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: stage-b | ||
variant: alpine | ||
steps: | ||
- prepare: | ||
- mkdir -p /root | ||
|
1 change: 1 addition & 0 deletions
1
internal/pkg/integration/testdata/stages/stage-d/stage-c/pkg.yaml
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,5 @@ | ||
name: stage-c | ||
variant: alpine | ||
steps: | ||
- prepare: | ||
- mkdir -p /root | ||
|
1 change: 1 addition & 0 deletions
1
internal/pkg/integration/testdata/stages/stage-d/stage-d/pkg.yaml
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,5 @@ | ||
name: stage-d | ||
variant: alpine | ||
dependencies: | ||
- stage: stage-c | ||
steps: | ||
|
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,5 @@ | ||
name: final | ||
variant: alpine | ||
dependencies: | ||
- stage: global-vars | ||
- stage: std-vars | ||
|
1 change: 1 addition & 0 deletions
1
internal/pkg/integration/testdata/variables/global-vars/pkg.yaml
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,5 @@ | ||
name: global-vars | ||
variant: alpine | ||
steps: | ||
- prepare: | ||
- mkdir -p /root | ||
|
1 change: 1 addition & 0 deletions
1
internal/pkg/integration/testdata/variables/local-vars/pkg.yaml
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,5 @@ | ||
name: local-vars | ||
variant: alpine | ||
steps: | ||
- prepare: | ||
- mkdir -p /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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: override | ||
variant: alpine | ||
steps: | ||
- prepare: | ||
- mkdir -p /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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: std-vars | ||
variant: alpine | ||
steps: | ||
- | ||
prepare: | ||
|
1 change: 1 addition & 0 deletions
1
internal/pkg/integration/testdata/variables/vars-yaml/inner/pkg.yaml
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,5 @@ | ||
name: vars-yaml-inner | ||
variant: alpine | ||
steps: | ||
- | ||
prepare: | ||
|
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,5 @@ | ||
name: vars-yaml-0 | ||
variant: alpine | ||
dependencies: | ||
- stage: vars-yaml-inner | ||
from: /result | ||
|
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