Caching cleanup
							parent
							
								
									0430794ca9
								
							
						
					
					
						commit
						d56ae05425
					
				|  | @ -66,7 +66,8 @@ jobs: | |||
|           CLOUD_RUNNER_BRANCH: remote-builder/unified-providers | ||||
|           PROJECT_PATH: ${{ matrix.projectPath }} | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|           AWS_BASE_STACK_NAME: game-ci-stack-integration-tests | ||||
|           TARGET_PLATFORM: ${{ matrix.targetPlatform }} | ||||
|           AWS_BASE_STACK_NAME: game-ci-github-automation | ||||
|           CLOUD_RUNNER_TESTS: true | ||||
|       - uses: ./ | ||||
|         id: aws-fargate-unity-build | ||||
|  | @ -76,7 +77,7 @@ jobs: | |||
|           AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||||
|           AWS_DEFAULT_REGION: eu-west-2 | ||||
|           DEBUG: true | ||||
|           INIT_HOOK: touch cloud-runner-logs && tail -f cloud-runner-logs | xargs -I{} gcloud logging write game-ci "{}" | ||||
|           INIT_HOOK: touch /cloud-runner-logs && tail -f /cloud-runner-logs | xargs -I{} gcloud logging write game-ci "{}" | ||||
|         with: | ||||
|           cloudRunnerCluster: aws | ||||
|           versioning: None | ||||
|  | @ -84,7 +85,7 @@ jobs: | |||
|           unityVersion: ${{ matrix.unityVersion }} | ||||
|           targetPlatform: ${{ matrix.targetPlatform }} | ||||
|           githubToken: ${{ secrets.GITHUB_TOKEN }} | ||||
|           awsBaseStackName: game-ci-stack-integration-tests | ||||
|           awsBaseStackName: game-ci-github-automation | ||||
|           CloudRunnerBranch: remote-builder/unified-providers | ||||
|           cloudRunnerTests: true | ||||
|           postBuildSteps: | | ||||
|  |  | |||
|  | @ -98,7 +98,7 @@ jobs: | |||
|         env: | ||||
|           CloudRunnerBranch: remote-builder/unified-providers | ||||
|           DEBUG: true | ||||
|           INIT_HOOK: touch /var/log/cloud-runner-logs && tail -f /var/log/cloud-runner-logs | xargs -I{} gcloud logging write game-ci "{}" | ||||
|           INIT_HOOK: touch /cloud-runner-logs && tail -f /cloud-runner-logs | xargs -I{} gcloud logging write game-ci "{}" | ||||
|         with: | ||||
|           cloudRunnerCluster: k8s | ||||
|           UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||||
|  | @ -106,7 +106,7 @@ jobs: | |||
|           kubeConfig: ${{ steps.read-base64.outputs.base64 }} | ||||
|           githubToken: ${{ secrets.GITHUB_TOKEN }} | ||||
|           projectPath: test-project | ||||
|           unityVersion: 2019.3.15f1 | ||||
|           unityVersion: ${{ matrix.targetPlatform }} | ||||
|           versioning: None | ||||
|           cloudRunnerTests: true | ||||
|           postBuildSteps: | | ||||
|  |  | |||
|  | @ -2588,6 +2588,7 @@ const core = __importStar(__webpack_require__(42186)); | |||
| const child_process_1 = __webpack_require__(63129); | ||||
| const __1 = __webpack_require__(41359); | ||||
| const fs_1 = __importDefault(__webpack_require__(35747)); | ||||
| const path_1 = __importDefault(__webpack_require__(85622)); | ||||
| class CloudRunnerLogger { | ||||
|     static setup() { | ||||
|         this.timestamp = this.createTimestamp(); | ||||
|  | @ -2647,6 +2648,7 @@ class CloudRunnerLogger { | |||
|         CloudRunnerLogger.child.kill(0); | ||||
|     } | ||||
| } | ||||
| CloudRunnerLogger.logsFile = path_1.default.join('/', 'cloud-runner-logs'); | ||||
| exports.default = CloudRunnerLogger; | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -2,10 +2,12 @@ import * as core from '@actions/core'; | |||
| import { ChildProcess, exec } from 'child_process'; | ||||
| import { Input } from '../..'; | ||||
| import fs from 'fs'; | ||||
| import path from 'path'; | ||||
| 
 | ||||
| class CloudRunnerLogger { | ||||
|   private static timestamp: number; | ||||
|   private static globalTimestamp: number; | ||||
|   private static readonly logsFile: string = path.join('/', 'cloud-runner-logs'); | ||||
| 
 | ||||
|   public static setup() { | ||||
|     this.timestamp = this.createTimestamp(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue