Skip to content

Commit d4af646

Browse files
committed
Update Yamato use of environment variables.
Environment variables no longer propagate to dependent jobs. Collapse dependent publish jobs to top level so environment variable is used.
1 parent 487a2eb commit d4af646

5 files changed

+28
-61
lines changed

.yamato/publish_to_stevedore_linux.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.yamato/publish_to_stevedore_osx.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
name: Publish To Stevedore (Public)
22

3+
agent:
4+
type: Unity::VM
5+
image: platform-foundation/linux-ubuntu-18.04-mono-bokken:latest
6+
flavor: b1.large
7+
38
variables:
49
STEVEDORE_REPO: public
510

611
dependencies:
7-
- .yamato/publish_to_stevedore_linux.yml
8-
- .yamato/publish_to_stevedore_osx.yml
9-
- .yamato/publish_to_stevedore_windows.yml
12+
- .yamato/build_linux_x64.yml
13+
- .yamato/build_osx_x64arm64.yml
14+
- .yamato/build_windows_x86.yml
15+
- .yamato/build_windows_x64.yml
16+
17+
commands:
18+
- curl -sSo StevedoreUpload "$STEVEDORE_UPLOAD_TOOL_LINUX_X64_URL"
19+
- chmod +x StevedoreUpload
20+
- ./StevedoreUpload --version-len=12 --repo=$STEVEDORE_REPO --version="$GIT_REVISION" artifacts/unity/*
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
name: Publish To Stevedore (Testing)
22

3+
agent:
4+
type: Unity::VM
5+
image: platform-foundation/linux-ubuntu-18.04-mono-bokken:latest
6+
flavor: b1.large
7+
38
variables:
49
STEVEDORE_REPO: testing
510

611
dependencies:
7-
- .yamato/publish_to_stevedore_linux.yml
8-
- .yamato/publish_to_stevedore_osx.yml
9-
- .yamato/publish_to_stevedore_windows.yml
12+
- .yamato/build_linux_x64.yml
13+
- .yamato/build_osx_x64arm64.yml
14+
- .yamato/build_windows_x86.yml
15+
- .yamato/build_windows_x64.yml
16+
17+
commands:
18+
- curl -sSo StevedoreUpload "$STEVEDORE_UPLOAD_TOOL_LINUX_X64_URL"
19+
- chmod +x StevedoreUpload
20+
- ./StevedoreUpload --version-len=12 --repo=$STEVEDORE_REPO --version="$GIT_REVISION" artifacts/unity/*

.yamato/publish_to_stevedore_windows.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)