|
1 | 1 | ---
|
2 |
| -# This is designed to trap and retry failures because agent lost |
3 |
| -# connection. Agent exits with -1 in this case. |
4 |
| -agent_transients: &agent_transients |
5 |
| - exit_status: -1 |
6 |
| - limit: 3 |
7 |
| -# BK system error |
8 |
| -bk_system_error: &bk_system_error |
9 |
| - exit_status: 255 |
10 |
| - limit: 3 |
11 |
| -# job was interrupted by a signal (e.g. ctrl+c etc) |
12 |
| -bk_interrupted_by_signal: &bk_interrupted_by_signal |
13 |
| - exit_status: 15 |
14 |
| - limit: 3 |
15 |
| - |
16 |
| -script_runner: &script_runner |
17 |
| - agents: |
18 |
| - - "agent_count=8" |
19 |
| - - "capable_of_building=platform" |
20 |
| - - "environment=production" |
21 |
| - - "machine_type=quarter" |
22 |
| - - "permission_set=builder" |
23 |
| - - "platform=linux" |
24 |
| - - "queue=${CI_LINUX_BUILDER_QUEUE:-v4-20-08-12-083656-bk14222-38697241}" |
25 |
| - - "scaler_version=2" |
26 |
| - - "working_hours_time_zone=london" |
27 |
| - retry: |
28 |
| - automatic: |
29 |
| - - <<: *agent_transients |
30 |
| - - <<: *bk_system_error |
31 |
| - - <<: *bk_interrupted_by_signal |
32 |
| - |
33 |
| -# NOTE: step labels turn into commit-status names like {org}/{repo}/{pipeline}/{step-label}, lower-case and hyphenated. |
34 |
| -# These are then relied on to have stable names by other things, so once named, please beware renaming has consequences. |
35 |
| -env: |
36 |
| - SLACK_CHANNEL: "#unreal-gdk-builds" |
37 |
| - GDK_REPOSITORY: "git@github.com:spatialos/UnrealGDK.git" |
38 |
| - MAIN_MAP_NAME: "Control_Small" |
39 |
| - SPATIAL_PROJECT_NAME: "unreal_gdk" |
40 |
| - SPATIAL_RUNTIME_VERSION: "15.0.0" ## the runtime version of SpatialOS |
| 2 | +ci_version: &ci_version "1.1" |
41 | 3 |
|
42 | 4 | steps:
|
43 |
| - - label: "generate-pipeline-steps" |
44 |
| - commands: |
45 |
| - - "chmod -R +rwx ci" |
46 |
| - - "ci/generate-pipeline-steps.sh" |
47 |
| - env: |
48 |
| - ENGINE_VERSION: "${ENGINE_VERSION}" |
49 |
| - <<: *script_runner |
50 |
| - |
51 |
| - - wait |
52 |
| - |
53 |
| - - label: "slack-notify" |
54 |
| - if: | |
55 |
| - build.env("NIGHTLY_BUILD") == "true" || |
56 |
| - build.env("SLACK_NOTIFY") == "true" || |
57 |
| - build.env("FIREBASE_TEST") == "true" || |
58 |
| - build.branch == "master" |
59 |
| - command: "python3 ci/slack-notify.py" |
60 |
| - <<: *script_runner |
| 5 | + # New build pipeline |
| 6 | + # Trigger a 4.26 build |
| 7 | + - trigger: "unrealgdkbuild-ci" |
| 8 | + label: "exampleproject-ci" |
| 9 | + async: false |
| 10 | + build: |
| 11 | + branch: *ci_version |
| 12 | + message: "exampleproject-4.26 ${BUILDKITE_MESSAGE}" |
| 13 | + env: |
| 14 | + BUILD_TYPE: "EXAMPLE" |
| 15 | + GDK_BRANCH: "${GDK_BRANCH:-0.13.0}" # NOTE: temp fix for new ci release interop issues |
| 16 | + ENGINE_BRANCH: "${ENGINE_BRANCH:-4.26-SpatialOSUnrealGDK-0.13.0}" # NOTE: temp fix for new ci release interop issues |
| 17 | + ENGINE_MAJOR: "4.26" |
| 18 | + PROJECT_BRANCH: "${BUILDKITE_BRANCH}" |
| 19 | + USE_FASTBUILD: "True" |
| 20 | + IS_BUILDKITE_BUILD: "True" |
| 21 | + BUILD_ANDROID: "True" |
| 22 | + SKIP_TESTS: "True" |
| 23 | + CLEAN_BUILD: "False" |
| 24 | + START_DEPLOYMENT: "True" |
| 25 | + SPATIAL_PROJECT_NAME: "unreal_gdk" |
| 26 | +# TODO: bring back deployment link notifies UNR-5391 |
0 commit comments