Skip to content

Commit

Permalink
Automate uploading MonoBleedingEdge.7z to Stevedore
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinimurt committed Feb 23, 2020
1 parent f954ad9 commit 66ab5e0
Show file tree
Hide file tree
Showing 18 changed files with 66 additions and 49 deletions.
4 changes: 2 additions & 2 deletions .yamato/build_android.yml → .yamato/Build Android.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build_android
name: Build Android

agent:
type: Unity::VM::osx
image: platform-foundation/mac-bokken:latest
flavor: m1.mac

commands:
- .yamato/build_android.sh
- .yamato/scripts/build_android.sh

artifacts:
android:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build_osx_classlibs
name: Build Classlibs OSX

agent:
type: Unity::VM::osx
image: platform-foundation/mac-bokken:latest
flavor: m1.mac

commands:
- .yamato/build_osx_classlibs.sh
- .yamato/scripts/build_osx_classlibs.sh


artifacts:
Expand Down
4 changes: 2 additions & 2 deletions .yamato/build_linux_x64.yml → .yamato/Build Linux x64.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build_linux_x64
name: Build Linux x64

agent:
type: Unity::VM
image: platform-foundation/linux-ubuntu-18.04-mono-bokken:latest
flavor: b1.large

commands:
- .yamato/build_linux_x64.sh
- .yamato/scripts/build_linux_x64.sh

artifacts:
linux64:
Expand Down
4 changes: 2 additions & 2 deletions .yamato/build_linux_x86.yml → .yamato/Build Linux x86.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build_linux_x86
name: Build Linux x86

agent:
type: Unity::VM
image: platform-foundation/linux-ubuntu-18.04-mono-bokken:latest
flavor: b1.large

commands:
- .yamato/build_linux_x86.sh
- .yamato/scripts/build_linux_x86.sh

artifacts:
linux32:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build_osx_runtime
name: Build Runtime OSX

agent:
type: Unity::VM::osx
image: platform-foundation/mac-bokken:latest
flavor: m1.mac

commands:
- .yamato/build_osx_runtime.sh
- .yamato/scripts/build_osx_runtime.sh

artifacts:
osx-i386:
Expand Down
4 changes: 2 additions & 2 deletions .yamato/build_win.yml → .yamato/Build Windows x64.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build_win
name: Build Windows x64

agent:
type: Unity::VM
image: platform-foundation/windows-mono-bokken:latest
flavor: b1.xlarge

commands:
- .yamato/build_win.bat
- .yamato/scripts/build_win.bat

artifacts:
win64:
Expand Down
4 changes: 2 additions & 2 deletions .yamato/build_win_x86.yml → .yamato/Build Windows x86.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: build_win_x86
name: Build Windows x86

agent:
type: Unity::VM
image: platform-foundation/windows-mono-bokken:latest
flavor: b1.xlarge

commands:
- .yamato/build_win_x86.bat
- .yamato/scripts/build_win_x86.bat

artifacts:
win32:
Expand Down
38 changes: 38 additions & 0 deletions .yamato/Collate Builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Collate Builds

agent:
type: Unity::VM
image: cds-ops/ubuntu-18.04-agent:v1.0.11-765607
flavor: b1.large

dependencies:
- .yamato/Build Android.yml
- .yamato/Build Linux x64.yml
- .yamato/Build Linux x86.yml
- .yamato/Build Classlibs OSX.yml
- .yamato/Build Runtime OSX.yml
- .yamato/Build Windows x64.yml
- .yamato/Build Windows x86.yml

commands:
- .yamato/scripts/collate_builds.sh

triggers:
pull_requests:
- targets:
only:
- "unity-master"
recurring:
- branch: unity-master
frequency: daily # Should run between midnight and 6AM UTC

artifacts:
builds:
paths:
- collectedbuilds/builds.7z
stevedore:
paths:
- stevedore/MonoBleedingEdge.7z
stevedore_artifact_id:
paths:
- stevedore/artifactid.txt
14 changes: 14 additions & 0 deletions .yamato/Publish To Stevedore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Publish to Stevedore'

agent:
type: Unity::VM
image: cds-ops/cds-ubuntu-18.04-base:stable
flavor: b1.large

dependencies:
- .yamato/Collate Builds.yml

commands:
- curl -sSo StevedoreUpload.exe "$STEVEDORE_UPLOAD_TOOL_URL"
- mono StevedoreUpload.exe --repo=testing --version-len=12 --version="$GIT_REVISION" stevedore/MonoBleedingEdge.7z

35 changes: 0 additions & 35 deletions .yamato/collate_builds.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 66ab5e0

Please sign in to comment.