Frostebite
f11ead0ee4
Revert "cleanup git cloning"
...
This reverts commit e5318094ff .
2021-07-13 01:06:13 +01:00
Frostebite
e5318094ff
cleanup git cloning
2021-07-13 01:01:24 +01:00
Frostebite
8639a6a8b9
test lfs file
2021-07-13 00:37:23 +01:00
Frostebite
ea084f7c12
test lfs file
2021-07-13 00:23:19 +01:00
Frostebite
e23a19aecb
Better startup log messages
2021-07-12 23:53:22 +01:00
Frostebite
092e677ea0
Better startup log messages
2021-07-12 23:46:21 +01:00
Frostebite
455adeb14c
Better startup log messages
2021-07-12 23:39:10 +01:00
Frostebite
bc7faa9df5
Better startup log messages
2021-07-12 23:33:45 +01:00
Frostebite
61278d5a23
3 Layer tree only
2021-07-12 23:30:07 +01:00
Frostebite
b35d88f004
cd to git dir, no other way because of reset
2021-07-12 23:18:42 +01:00
Frostebite
e1c24d67e3
use GIT_DIR env var
2021-07-12 23:12:18 +01:00
Frostebite
3ebf2bfd1a
fix branchname
2021-07-12 23:01:21 +01:00
Frostebite
adabdcc132
fix branchname
2021-07-12 22:59:55 +01:00
Frostebite
3dcc592008
specify branch correctly
2021-07-12 22:53:07 +01:00
Frostebite
b4a6575828
tree
2021-07-12 22:52:02 +01:00
Frostebite
c5f80e50aa
tree
2021-07-12 22:41:57 +01:00
Frostebite
d8f962fc2f
tree
2021-07-12 22:33:50 +01:00
Frostebite
aeca8e9153
tree
2021-07-12 22:27:30 +01:00
Frostebite
0cb9f58875
clone no quiet
2021-07-12 22:23:39 +01:00
Frostebite
448ac18c07
refactor builder steps to shell scripts
2021-07-12 22:06:03 +01:00
Frostebite
7a7f2d1d24
run builder in builder
2021-07-08 00:14:05 +01:00
Frostebite
411152f68f
run builder in builder
2021-07-08 00:08:07 +01:00
Frostebite
365c99eb27
run builder in builder
2021-07-07 23:34:24 +01:00
Frostebite
43029d500d
run builder in builder
2021-07-07 23:24:59 +01:00
Frostebite
da64845ac6
run builder in builder
2021-07-03 01:03:21 +01:00
Frostebite
404dba1fc1
run builder in builder
2021-07-03 00:08:54 +01:00
Frostebite
68cce84cf1
run builder in builder
2021-07-03 00:02:23 +01:00
Frostebite
e41bbafc3c
Quiet clone utility repos
2021-07-02 23:51:56 +01:00
Frostebite
57ef03a055
Quiet clone utility repos
2021-07-02 23:45:12 +01:00
Frostebite
bd665fc2c8
Quiet clone utility repos
2021-07-02 23:43:15 +01:00
Frostebite
c75a9f3ed0
Collect lfs file into .lfs-asset-id file and print
2021-07-02 23:39:32 +01:00
Frostebite
7545525490
Collect lfs file into .lfs-asset-id file and print
2021-07-02 23:29:13 +01:00
Frostebite
7d53f9d55e
Collect lfs file into .lfs-asset-id file and print
2021-07-02 23:23:14 +01:00
Frostebite
60462befc1
Collect lfs file into .lfs-asset-id file and print
2021-07-02 23:15:51 +01:00
Frostebite
b59cb34c2a
Collect lfs file into .lfs-asset-id file and print
2021-07-02 23:07:49 +01:00
Frostebite
81b22c6952
Collect lfs file into .lfs-asset-id file and print
2021-07-02 23:02:13 +01:00
Frostebite
67891e1e7d
Collect lfs file into .lfs-asset-id file and print
2021-07-02 23:01:14 +01:00
Frostebite
0363d7c292
Collect lfs file into .lfs-asset-id file and print
2021-07-02 22:56:43 +01:00
Frostebite
1ad3f2d3a7
Collect lfs file into .lfs-asset-id file and print
2021-07-02 22:52:44 +01:00
Frostebite
dc3087fd64
Collect lfs file into .lfs-asset-id file and print
2021-07-02 22:50:53 +01:00
Frostebite
8311c29267
Collect lfs file into .lfs-asset-id file and print
2021-07-01 23:17:09 +01:00
Frostebite
2897eedefb
Collect lfs file into .lfs-asset-id file and print
2021-07-01 23:12:21 +01:00
Frostebite
3832949643
Collect lfs file into .lfs-asset-id file and print
2021-07-01 22:59:18 +01:00
Frostebite
9fd32a1aa6
fix cleanup job spilling over 24h
2021-07-01 22:36:57 +01:00
Frostebite
52e756a174
md5 library folder
2021-07-01 22:30:52 +01:00
David Finol
b66dffbf92
Projectpath error message ( #274 )
...
* Improve error message
* Improve error message
2021-07-01 06:38:44 -05:00
Frostebite
86c7320386
do not wait for job deletion
2021-06-26 05:22:43 +01:00
Frostebite
d4fc646184
do not wait for job deletion
2021-06-26 05:01:43 +01:00
Frostebite
e320fc14ad
do not wait for job deletion
2021-06-26 04:44:32 +01:00
Frostebite
764bf7cd83
long ttl for jobs to allow for explicit deletion
2021-06-26 04:33:59 +01:00
Frostebite
e17e1a32f4
catch setup resource errors
2021-06-26 04:27:42 +01:00
Frostebite
cb46681c8e
catch setup resource errors
2021-06-26 04:26:38 +01:00
Frostebite
89868ca60f
catch setup resource errors
2021-06-26 04:18:14 +01:00
Frostebite
85e1a0f718
catch setup resource errors
2021-06-26 03:56:39 +01:00
Frostebite
c3d4c66842
catch setup resource errors
2021-06-26 03:52:37 +01:00
Frostebite
ad6fb2d157
catch setup resource errors
2021-06-26 03:47:57 +01:00
Frostebite
327eafbb47
catch setup resource errors
2021-06-26 03:42:02 +01:00
Frostebite
f2a84c16fd
catch setup resource errors
2021-06-26 03:19:24 +01:00
Frostebite
08e76e950d
catch setup resource errors
2021-06-26 03:13:41 +01:00
Frostebite
4384dbfb25
catch setup resource errors
2021-06-26 03:00:49 +01:00
Frostebite
aa15eda155
catch setup resource errors
2021-06-26 02:54:37 +01:00
Frostebite
ebfa50648e
cronjob
2021-06-26 02:50:03 +01:00
Frostebite
f3cbb79e40
no git -q
2021-06-26 01:46:12 +01:00
Frostebite
9fcf186077
command bash
2021-06-26 01:33:28 +01:00
Frostebite
ee29cdc877
command bash
2021-06-26 01:29:08 +01:00
Frostebite
488e39420d
Wait until kubernetes job deleted
2021-06-20 17:47:00 +01:00
Frostebite
51239059c9
-c for k8s args
2021-06-20 01:01:27 +01:00
Frostebite
5de18befd0
Fix aws shared resources method not implemented error
2021-06-20 00:25:46 +01:00
Frostebite
606fdc048f
Fix: PVC already created in shared resource step
2021-06-20 00:17:31 +01:00
Frostebite
d3a99ff1b3
Refactor, init k8s pvc build id separately
2021-06-20 00:06:44 +01:00
Frostebite
5a7ed829ac
Implemented multi-step shared resources in interface
2021-06-19 23:15:44 +01:00
Frostebite
f10277a368
Fix: test passing kubernetes commands as args rather than command
2021-06-19 22:46:53 +01:00
Frostebite
d1dd5b8ef4
Merge branch 'main' into remote-builder/unified-providers
2021-06-19 22:29:27 +01:00
Frostebite
f659a87ce2
Fix: aws injects it's own required -c prefix to commands
2021-06-19 22:07:24 +01:00
Frostebite
7b6dce89e7
Fix: No capitalization in build ids for k8s
2021-06-19 21:51:35 +01:00
Frostebite
aaf15d9ad8
No capitalization in build ids for k8s
2021-06-19 21:39:47 +01:00
Frostebite
b33e19aa34
Remove stackName from generic buildPlatform interface
2021-06-19 21:35:22 +01:00
Frostebite
2b559c587f
Testing unified providers for k8s and aws
2021-06-19 21:19:22 +01:00
Frostebite
267abc7b12
Fix: set default k8s working directory/build directory
...
Fix: k8s working directory must be absolute path
2021-06-19 21:19:21 +01:00
Frostebite
a6371af293
Only list events for the pod or job because that is specifically what we were watching
2021-06-19 20:18:52 +01:00
Frostebite
5dddba89ac
Fail build if no logs come through then list namespace events
2021-06-19 19:58:19 +01:00
Frostebite
9c441a87f5
Fail build if no logs come through then list namespace events
2021-06-19 19:35:55 +01:00
Frostebite
c5bc5bf86f
Parameterize more of the K8s build
2021-06-19 18:07:24 +01:00
Frostebite
e75c489156
Parameterize more of the K8s build
2021-06-19 18:04:03 +01:00
Frostebite
52fe9fd9d0
Fix: await log stream, set previous=false
2021-06-19 17:18:21 +01:00
Frostebite
862faec502
Fix: await log stream
2021-06-19 17:08:59 +01:00
Frostebite
2433731128
Handle errors from log stream
2021-06-19 17:07:04 +01:00
Frostebite
ca6d7c750e
Fix: watch pod until running
2021-06-19 05:49:32 +01:00
Frostebite
d403415bbe
Fix: watch pod until running
2021-06-19 05:31:04 +01:00
Frostebite
31c6bed1b4
Refactoring, remote builder k8s and aws nearly aligned
2021-06-19 05:27:24 +01:00
Frostebite
6dbb6e8ccb
Logging improvement
2021-06-19 05:07:18 +01:00
Frostebite
23e042fcbe
Logging improvement
2021-06-19 04:39:01 +01:00
Frostebite
6a4d3365e4
'$npm_config_message'
2021-06-19 04:31:29 +01:00
Frostebite
b9cf74b2e6
Fix: log all pvc info
2021-06-19 02:40:34 +01:00
Frostebite
9fb09da753
Assert PVC created name is === input name
2021-06-19 02:18:44 +01:00
Frostebite
b22ed1cd3c
Assert PVC created name is === input name
2021-06-19 01:48:41 +01:00
Frostebite
6aecb70e9b
Assert PVC created name is === input name
2021-06-19 01:34:39 +01:00
Frostebite
d1dc644ccf
Assert PVC created name is === input name
2021-06-19 01:01:34 +01:00
Frostebite
adf74e9bde
Log PVC state
2021-06-18 23:55:48 +01:00
Frostebite
dcb6b5241c
Log PVC state
2021-06-18 23:42:03 +01:00
Frostebite
d01688d55f
Fix: longer k8s polling intervals
2021-06-18 23:23:30 +01:00
Frostebite
70e4968320
Fix: log all pvc info
2021-06-18 23:20:04 +01:00
Frostebite
2718db7a0f
Fix: log all pvc info
2021-06-18 23:06:24 +01:00
Frostebite
70c81dfbe9
Fix: log all pvc info
2021-06-18 22:04:08 +01:00
Frostebite
b04fbdc8b9
Fix: log all pvc info
2021-06-18 21:57:45 +01:00
Frostebite
71a8c5e2f1
Fix: log all pvc info
2021-06-18 21:53:38 +01:00
Frostebite
525f1345bb
Fix: log all pvc info
2021-06-18 21:49:18 +01:00
Frostebite
0149cf79f2
Refactoring Remote Builder to route to aws or k8s
2021-06-18 21:36:45 +01:00
Frostebite
49d581a167
Correct types for kubernetes storage
2021-06-18 21:12:06 +01:00
Frostebite
4127ffded3
500000 timeout watching pvc
2021-06-18 21:09:33 +01:00
Frostebite
02e6ffc6da
Fix: changing wait order creating k8s resources
2021-06-18 21:03:11 +01:00
Frostebite
30820561e7
50000 timeout watching pvc
2021-06-18 20:59:45 +01:00
Frostebite
82f86eebc5
Fix: typo
2021-06-18 20:56:13 +01:00
Frostebite
08db6c5022
PVC handling refactoring and logging
2021-06-18 20:52:07 +01:00
Frostebite
09ed77c94a
Wait for PVC phase change after Job created
2021-06-18 20:35:33 +01:00
Frostebite
1b24f65522
Using addon wait-until for improved waiting in k8s
2021-06-18 20:27:14 +01:00
Frostebite
57e6869829
Logging improvements: log pvc status phase
2021-06-18 20:08:03 +01:00
Frostebite
06efbd07c4
Logging improvements
2021-06-18 20:02:16 +01:00
Frostebite
2d0bc453aa
Fix: error handling
2021-06-18 19:57:50 +01:00
Frostebite
3430d9b1f8
Fix: error handling
2021-06-06 23:44:50 +01:00
Frostebite
d0402e14b1
Fix: error handling
2021-06-06 22:22:22 +01:00
Frostebite
4208953d5a
All secrets handled as dynamic secrets now
2021-06-06 21:51:26 +01:00
Frostebite
017b95a445
All secrets handled as dynamic secrets now
2021-06-06 21:36:31 +01:00
Frostebite
587ccb4493
Kubernetes refactoring
2021-06-06 21:33:09 +01:00
Frostebite
8f79ef98f8
Kubernetes refactoring
2021-06-06 21:32:24 +01:00
Frostebite
045c4217d1
Fix: error handling
2021-06-06 21:19:24 +01:00
Frostebite
e7410ab95b
Fix: base64 all secrets
2021-06-06 21:18:30 +01:00
Frostebite
a2d1e8ac4f
Do not continue on error and error handling improvements
2021-06-06 21:15:55 +01:00
Frostebite
aa2579095b
Log json stringify error
2021-06-06 21:14:12 +01:00
Frostebite
e22cd3306e
Set logging options
2021-06-06 21:10:01 +01:00
Frostebite
b5ea2ae158
Set logging options
2021-06-06 21:03:52 +01:00
Frostebite
c4eb9ffa3a
Kubernetes dynamic secrets
2021-06-06 20:59:34 +01:00
Frostebite
3c511811db
Kubernetes refactor
2021-06-06 20:43:26 +01:00
Frostebite
9309e3aa91
Kubernetes refactor
2021-06-06 20:39:06 +01:00
Frostebite
7206c81db4
Log json stringify error
2021-06-06 20:11:38 +01:00
Frostebite
a3745bd8c0
Cleanup
2021-06-06 20:09:56 +01:00
Frostebite
4d622063ea
End of log stream message
2021-06-06 19:54:07 +01:00
Frostebite
896e754512
Delete PVC not PV
2021-06-06 05:21:23 +01:00
Frostebite
b3dee76d5a
Using Log class from k8s client to stream
2021-06-06 04:51:29 +01:00
Frostebite
0d1f360db7
/bin/ash
2021-06-06 04:01:26 +01:00
Frostebite
0717a3b2db
/bin/ash
2021-06-06 03:52:57 +01:00
Frostebite
07ea45bd83
Remove bin/sh from command
2021-06-06 03:40:01 +01:00
Frostebite
792dbec1a5
Log stream attempt #3 - get podname
2021-06-06 03:28:42 +01:00
Frostebite
464e5f0caa
Log stream attempt #2
2021-06-06 03:01:49 +01:00
Frostebite
926e500b89
Run build with input commands
2021-05-28 23:47:20 +01:00
ivan-hernandez-scopely
497f2f7b5f
Using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos ( #256 )
...
* using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos
* sshAgent as input parameter
* yarn run prettier --write "src/**/*.{js,ts}"
* yarn run lint --fix && yarn build
* fixed compilation after rebase
* removed RUN apt-get update && apt-get install -y openssh-client. This change needs to be done upstream. See game-ci/docker#117
2021-05-28 23:51:10 +02:00
Frostebite
34ee8bde5f
Run build with input commands
2021-05-28 21:31:43 +01:00
Frostebite
fce88635b8
Run build with input commands
2021-05-28 21:20:04 +01:00
Frostebite
821b9eeddf
Run build with input commands
2021-05-28 21:03:41 +01:00
Frostebite
148569023b
Catch errors and always cleanup
2021-05-28 20:38:12 +01:00
Frostebite
bec61120bd
Test include: more recent log dates
2021-05-28 20:29:08 +01:00
Frostebite
0ae8dc9a20
cleanup
2021-05-28 20:27:39 +01:00
Frostebite
6dc4d12ac5
Previous pod logs included for fast completion scenarios
2021-05-28 20:10:00 +01:00
Frostebite
ec58c24ea7
fix logging
2021-05-28 19:58:43 +01:00
Frostebite
caeeeb4573
fix logging
2021-05-28 19:44:47 +01:00
Frostebite
e8a987ea7e
Higher default CPU, lower default memory
2021-05-28 19:24:36 +01:00
Frostebite
ecd865f092
Delete PVC
2021-05-28 18:57:05 +01:00
Frostebite
1051a8c125
error handling
2021-05-28 18:54:54 +01:00
Frostebite
292f787c26
remove logs
2021-05-28 18:51:29 +01:00
Frostebite
7c7f996432
longer poll interval
2021-05-28 18:46:22 +01:00
Frostebite
3d6ce570a0
polling logs from kubernetes api with pollInterval
2021-05-28 18:39:20 +01:00
Frostebite
c281250358
polling logs from kubernetes api
2021-05-28 18:37:30 +01:00
Frostebite
d8ea2bd701
log stream from k8s http api
2021-05-24 23:10:03 +01:00
Frostebite
afb7c16348
log stream from k8s http api
2021-05-24 22:18:46 +01:00
Frostebite
cc45b2d8bf
log stream from k8s http api
2021-05-24 21:54:41 +01:00
Frostebite
5dab3928b9
log stream from k8s http api
2021-05-24 16:41:44 +01:00
Frostebite
7be71eba31
log stream from k8s http api
2021-05-24 16:13:11 +01:00
Frostebite
c96560b9c5
log stream from k8s http api
2021-05-24 15:06:44 +01:00
Frostebite
e75427a6be
log stream from k8s http api
2021-05-24 15:01:23 +01:00
Frostebite
1d4028c426
logging improvement
2021-05-23 23:19:04 +01:00
Frostebite
7995193cd8
logging improvement
2021-05-23 23:12:39 +01:00
Frostebite
85cfaadc14
stop logging job creation results
2021-05-23 22:58:03 +01:00
Frostebite
46afe94364
read container by name
2021-05-23 22:55:53 +01:00
Frostebite
3289d95fb1
log container state
2021-05-23 22:43:48 +01:00
Frostebite
f7fa00bbed
log container state
2021-05-23 22:31:59 +01:00
Frostebite
c9cb010cfa
log container state
2021-05-23 22:26:18 +01:00
Frostebite
fe370d44d8
abstract out generateBuildName to RemoteBuilderNamespace
2021-05-23 22:24:26 +01:00
Frostebite
41534d2ec6
follow logs
2021-05-23 22:15:16 +01:00
Frostebite
f058aabb4f
follow logs
2021-05-23 22:07:48 +01:00
Frostebite
6136d05e28
follow logs
2021-05-23 22:00:50 +01:00
Frostebite
645ce0ff06
follow logs
2021-05-23 21:37:51 +01:00
Frostebite
0bc5cf2adb
follow logs
2021-05-23 21:28:28 +01:00
Frostebite
fd9e9d058a
follow logs
2021-05-23 21:02:39 +01:00
Frostebite
968a9190d6
follow logs
2021-05-23 17:38:44 +01:00
Frostebite
729c7ce14f
copy from correct directory
2021-05-23 17:22:58 +01:00
Frostebite
0b5a3d8c6a
copy from correct directory
2021-05-23 17:19:18 +01:00
Frostebite
7f78ead03a
adding logs
2021-05-23 17:15:21 +01:00
Frostebite
06549368d9
adding logs
2021-05-23 17:07:30 +01:00
Frostebite
013e54aa7c
k8s full refactoring to simpler and better api client
2021-05-23 16:08:32 +01:00
Frostebite
5929a988d3
k8s refactoring started, new k8s api client
2021-05-23 15:26:57 +01:00
Frostebite
356f79e94a
Get GKE cluster credentials directly
2021-05-23 14:31:02 +01:00
Frostebite
ec1e4a4733
Add @kubernetes/client-node
2021-05-23 14:11:06 +01:00
Frostebite
a6d9115e7e
Use build path for steam deploy input ROOT PATH
2021-05-23 14:07:07 +01:00
Frostebite
eb482957db
ls contents of compression step
2021-05-23 14:03:29 +01:00
Frostebite
c96b8cf443
Remote builder refactoring ( #264 )
...
Remote builder refactoring
2021-05-23 05:08:40 +01:00
Webber Takken
a5de621fe2
Ensure proper read permissions and cleanup build.sh ( #259 )
...
* Add linux read permissions and cleanup build.sh
* More verbose dirty branch
* Simplify added verbosity
2021-05-10 01:08:53 +02:00
Gaeel Bradshaw-Rodriguez
e31af20466
Chown files to a custom user after building (fix file ownership) ( #250 )
...
* Chown files to a custom user after building
* Better describe `chownFilesTo` input
As suggested by @webbertakken: https://github.com/game-ci/unity-builder/pull/250#discussion_r624575666
Co-authored-by: Webber Takken <webber@takken.io>
* Simplify chown step in `build.sh`
Co-authored-by: Webber Takken <webber@takken.io>
Co-authored-by: Webber Takken <webber@takken.io>
2021-05-02 01:23:15 +02:00
Frostebite
e13a9f51e9
hotfix - use input parameter instead of env var
2021-05-01 22:25:10 +01:00
Frostebite
501c67e40c
Implement AWS Fargate support [Large build support] ( #246 )
...
* Implement AWS Fargate support
* Update aws-tests workflow to include aws-ts-clean
* support remoteBuildCpu and remoteBuildContainer parameters for aws
* Syntax fix
* remove package-lock add yarn.lock
* yarn lock
* if: github.event.pull_request.draft == false
Co-authored-by: mdugdale <mark.dugdale@bossastudios.com>
2021-04-20 22:46:37 +02:00
Markus
4d0b6e6db1
Pass on USYM_UPLOAD_AUTH_TOKEN if defined ( #234 )
...
To automatically upload symbols to unity, we need to define the `USYM_UPLOAD_AUTH_TOKEN` variable. Currently the build container ignores this variable, even if it's defined in the github action.
```
2021-03-26T02:35:35.5938747Z time="2021-03-26T02:35:35Z" level=fatal msg="Please provide an auth token with USYM_UPLOAD_AUTH_TOKEN environment variable"
```
2021-03-28 17:06:22 -05:00