cleanup pipelines, integration tests only
parent
f725479d7a
commit
c5d16f0da5
|
|
@ -64,3 +64,19 @@ jobs:
|
||||||
targetPlatform: ${{ matrix.targetPlatform }}
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
awsBaseStackName: game-ci-stack-integration-tests
|
awsBaseStackName: game-ci-stack-integration-tests
|
||||||
|
- uses: ./
|
||||||
|
id: aws-fargate-unity-build
|
||||||
|
env:
|
||||||
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
AWS_DEFAULT_REGION: eu-west-2
|
||||||
|
CloudRunnerBranch: remote-builder/unified-providers
|
||||||
|
DEBUG: true
|
||||||
|
with:
|
||||||
|
cloudRunnerCluster: aws
|
||||||
|
projectPath: ${{ matrix.projectPath }}
|
||||||
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
awsBaseStackName: game-ci-stack-integration-tests
|
||||||
|
|
|
||||||
|
|
@ -1,78 +0,0 @@
|
||||||
name: Cloud Runner - AWS Build
|
|
||||||
|
|
||||||
on:
|
|
||||||
push: { branches: [main, aws, remote-builder/unified-providers] }
|
|
||||||
|
|
||||||
env:
|
|
||||||
AWS_REGION: 'eu-west-1'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
buildForAllPlatforms:
|
|
||||||
name: AWS Fargate Build
|
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
projectPath:
|
|
||||||
- test-project
|
|
||||||
unityVersion:
|
|
||||||
# - 2019.2.11f1
|
|
||||||
- 2019.3.15f1
|
|
||||||
targetPlatform:
|
|
||||||
#- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
|
||||||
#- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
|
||||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
|
||||||
#- iOS # Build an iOS player.
|
|
||||||
#- Android # Build an Android .apk.
|
|
||||||
#- WebGL # WebGL.
|
|
||||||
# - StandaloneWindows # Build a Windows standalone.
|
|
||||||
# - WSAPlayer # Build an Windows Store Apps player.
|
|
||||||
# - PS4 # Build a PS4 Standalone.
|
|
||||||
# - XboxOne # Build a Xbox One Standalone.
|
|
||||||
# - tvOS # Build to Apple's tvOS platform.
|
|
||||||
# - Switch # Build a Nintendo Switch player
|
|
||||||
# steps
|
|
||||||
steps:
|
|
||||||
- name: Checkout (default)
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
- name: Configure AWS Credentials
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: eu-west-2
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
AWS_DEFAULT_REGION: eu-west-2
|
|
||||||
CloudRunnerBranch: remote-builder/unified-providers
|
|
||||||
DEBUG: true
|
|
||||||
INCLUDE_CLOUD_RUNNER_TEST: true
|
|
||||||
- uses: ./
|
|
||||||
id: aws-fargate-unity-build
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
AWS_DEFAULT_REGION: eu-west-2
|
|
||||||
CloudRunnerBranch: remote-builder/unified-providers
|
|
||||||
DEBUG: true
|
|
||||||
with:
|
|
||||||
cloudRunnerCluster: aws
|
|
||||||
projectPath: ${{ matrix.projectPath }}
|
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
|
||||||
targetPlatform: ${{ matrix.targetPlatform }}
|
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
awsBaseStackName: game-ci-stack
|
|
||||||
postBuildSteps: >-
|
|
||||||
- name: 'step 1'
|
|
||||||
image: 'alpine'
|
|
||||||
commands: ['printenv']
|
|
||||||
secrets:
|
|
||||||
- name: 'testCustomSecret'
|
|
||||||
value: 'VALUEXXX'
|
|
||||||
|
|
@ -1,64 +0,0 @@
|
||||||
name: Cloud Runner - AWS Custom (GitHub Self Hosted Ephemeral Runner)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push: { branches: [main, aws, remote-builder/unified-providers] }
|
|
||||||
|
|
||||||
env:
|
|
||||||
AWS_REGION: 'eu-west-1'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
buildForAllPlatforms:
|
|
||||||
name: AWS Fargate Build
|
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
projectPath:
|
|
||||||
- test-project
|
|
||||||
unityVersion:
|
|
||||||
# - 2019.2.11f1
|
|
||||||
- 2019.3.15f1
|
|
||||||
targetPlatform:
|
|
||||||
#- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
|
||||||
#- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
|
||||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
|
||||||
#- iOS # Build an iOS player.
|
|
||||||
#- Android # Build an Android .apk.
|
|
||||||
#- WebGL # WebGL.
|
|
||||||
# - StandaloneWindows # Build a Windows standalone.
|
|
||||||
# - WSAPlayer # Build an Windows Store Apps player.
|
|
||||||
# - PS4 # Build a PS4 Standalone.
|
|
||||||
# - XboxOne # Build a Xbox One Standalone.
|
|
||||||
# - tvOS # Build to Apple's tvOS platform.
|
|
||||||
# - Switch # Build a Nintendo Switch player
|
|
||||||
# steps
|
|
||||||
steps:
|
|
||||||
- name: Checkout (default)
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
- name: Configure AWS Credentials
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: eu-west-2
|
|
||||||
- uses: ./
|
|
||||||
id: aws-fargate-unity-build
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
AWS_DEFAULT_REGION: eu-west-2
|
|
||||||
CloudRunnerBranch: remote-builder/unified-providers
|
|
||||||
DEBUG: true
|
|
||||||
with:
|
|
||||||
cloudRunnerCluster: aws
|
|
||||||
projectPath: ${{ matrix.projectPath }}
|
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
|
||||||
targetPlatform: ${{ matrix.targetPlatform }}
|
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
awsBaseStackName: game-ci-stack
|
|
||||||
customBuildSteps: ephemeral
|
|
||||||
|
|
@ -1,70 +0,0 @@
|
||||||
name: Cloud Runner - AWS Custom
|
|
||||||
|
|
||||||
on:
|
|
||||||
push: { branches: [main, aws, remote-builder/unified-providers] }
|
|
||||||
|
|
||||||
env:
|
|
||||||
AWS_REGION: 'eu-west-1'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
buildForAllPlatforms:
|
|
||||||
name: AWS Fargate Build
|
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
projectPath:
|
|
||||||
- test-project
|
|
||||||
unityVersion:
|
|
||||||
# - 2019.2.11f1
|
|
||||||
- 2019.3.15f1
|
|
||||||
targetPlatform:
|
|
||||||
#- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
|
|
||||||
#- StandaloneWindows64 # Build a Windows 64-bit standalone.
|
|
||||||
- StandaloneLinux64 # Build a Linux 64-bit standalone.
|
|
||||||
#- iOS # Build an iOS player.
|
|
||||||
#- Android # Build an Android .apk.
|
|
||||||
#- WebGL # WebGL.
|
|
||||||
# - StandaloneWindows # Build a Windows standalone.
|
|
||||||
# - WSAPlayer # Build an Windows Store Apps player.
|
|
||||||
# - PS4 # Build a PS4 Standalone.
|
|
||||||
# - XboxOne # Build a Xbox One Standalone.
|
|
||||||
# - tvOS # Build to Apple's tvOS platform.
|
|
||||||
# - Switch # Build a Nintendo Switch player
|
|
||||||
# steps
|
|
||||||
steps:
|
|
||||||
- name: Checkout (default)
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
if: github.event.event_type != 'pull_request_target'
|
|
||||||
with:
|
|
||||||
lfs: true
|
|
||||||
- name: Configure AWS Credentials
|
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: eu-west-2
|
|
||||||
- uses: ./
|
|
||||||
id: aws-fargate-unity-build
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
||||||
AWS_DEFAULT_REGION: eu-west-2
|
|
||||||
CloudRunnerBranch: remote-builder/unified-providers
|
|
||||||
DEBUG: true
|
|
||||||
with:
|
|
||||||
cloudRunnerCluster: aws
|
|
||||||
projectPath: ${{ matrix.projectPath }}
|
|
||||||
unityVersion: ${{ matrix.unityVersion }}
|
|
||||||
targetPlatform: ${{ matrix.targetPlatform }}
|
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
awsBaseStackName: game-ci-stack
|
|
||||||
customBuildSteps: >-
|
|
||||||
- name: 'step 1'
|
|
||||||
image: 'alpine'
|
|
||||||
commands: ['printenv']
|
|
||||||
secrets:
|
|
||||||
- name: 'testCustomSecret'
|
|
||||||
value: 'VALUEXXX'
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
name: Cloud Runner - Kubernetes Build
|
name: Cloud Runner - Kubernetes Integration Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push: { branches: [remote-builder/k8s, remote-builder/unified-providers] }
|
push: { branches: [remote-builder/k8s, remote-builder/unified-providers] }
|
||||||
|
|
@ -44,6 +44,22 @@ jobs:
|
||||||
- name: Get GKE cluster credentials
|
- name: Get GKE cluster credentials
|
||||||
run: gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
|
run: gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
|
||||||
|
|
||||||
|
- run: yarn test -i
|
||||||
|
env:
|
||||||
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
AWS_DEFAULT_REGION: eu-west-2
|
||||||
|
CloudRunnerBranch: remote-builder/unified-providers
|
||||||
|
DEBUG: true
|
||||||
|
remoteBuilderIntegrationTests: true
|
||||||
|
cloudRunnerCluster: k8s
|
||||||
|
projectPath: ${{ matrix.projectPath }}
|
||||||
|
unityVersion: ${{ matrix.unityVersion }}
|
||||||
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
kubeConfig: ${{ steps.read-base64.outputs.base64 }}
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# Build #
|
# Build #
|
||||||
###########################
|
###########################
|
||||||
|
|
@ -2010,7 +2010,6 @@ class DownloadRepository {
|
||||||
mkdir -p ${cloud_runner_state_1.CloudRunnerState.repoPathFull}
|
mkdir -p ${cloud_runner_state_1.CloudRunnerState.repoPathFull}
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Initializing source repository for cloning with caching of LFS files'
|
echo 'Initializing source repository for cloning with caching of LFS files'
|
||||||
repoPathFull=${cloud_runner_state_1.CloudRunnerState.repoPathFull}
|
|
||||||
githubSha=$GITHUB_SHA
|
githubSha=$GITHUB_SHA
|
||||||
`);
|
`);
|
||||||
yield run_cli_1.RunCli.RunCli(`
|
yield run_cli_1.RunCli.RunCli(`
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -10,7 +10,6 @@ export class DownloadRepository {
|
||||||
mkdir -p ${CloudRunnerState.repoPathFull}
|
mkdir -p ${CloudRunnerState.repoPathFull}
|
||||||
echo ' '
|
echo ' '
|
||||||
echo 'Initializing source repository for cloning with caching of LFS files'
|
echo 'Initializing source repository for cloning with caching of LFS files'
|
||||||
repoPathFull=${CloudRunnerState.repoPathFull}
|
|
||||||
githubSha=$GITHUB_SHA
|
githubSha=$GITHUB_SHA
|
||||||
`);
|
`);
|
||||||
await RunCli.RunCli(`
|
await RunCli.RunCli(`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue