Commit Graph

31 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
f02ed02e4a
Terminate spot instances older than 1h 2023-11-16 16:35:34 +01:00
Mikhail f. Shiryaev
7c758d1b2d
Define the INIT_ENVIRONMENT through instances tags 2023-11-16 15:53:34 +01:00
Mikhail f. Shiryaev
8fbc0d3d51
Disable autoupdate for GH runners to speed-up boot 2023-11-14 15:48:01 +01:00
Mikhail f. Shiryaev
556e0faad2
Make sleep in init_runner loop global 2023-11-14 15:48:00 +01:00
Mikhail f. Shiryaev
b4cc55ea34
Deploy cloud-init script to S3 for following usage 2023-11-14 15:48:00 +01:00
Mikhail f. Shiryaev
5f9704a3c1
Kill forgotten Runner.Listener too 2023-11-14 15:47:59 +01:00
Mikhail f. Shiryaev
a117997d5b
Show the runner type in the job logs 2023-07-21 18:32:31 +02:00
Mikhail f. Shiryaev
da37f32d4b
Attempt to delete the runner before shutting down 2023-07-21 18:32:30 +02:00
Mikhail f. Shiryaev
538d1f7c17
Kill the runner process with all subprocesses 2023-07-21 18:32:28 +02:00
Mikhail f. Shiryaev
1a8571c465
Check and proceed spot termination on runner setup 2023-06-19 15:40:32 +02:00
Mikhail f. Shiryaev
4d5160a3ba
Improve determination of job received 2023-06-19 15:40:32 +02:00
Mikhail f. Shiryaev
d8e3d5c803
Kill the instance proactively on spot termination 2023-06-19 15:40:30 +02:00
Mikhail f. Shiryaev
d672bd3382
Stop the runner if there are no running jobs for long 2023-06-19 15:40:30 +02:00
Mikhail f. Shiryaev
915f431b95
Tune the shutting down on rebalance signal 2023-06-19 15:40:28 +02:00
Mikhail f. Shiryaev
1688ba5cf5
Use ephemeral runners for GH actions 2023-06-19 15:40:25 +02:00
Mikhail f. Shiryaev
47ea742076
Do not kill runner on the fly, delay 3 seconds 2023-06-19 15:40:25 +02:00
Mikhail f. Shiryaev
6cecdb8fca
Shutdown runner process and do not restart it on termination 2023-06-19 15:40:24 +02:00
Mikhail f. Shiryaev
197d0d1314
Process lifecycle hook in post-running action hook 2023-06-19 15:40:24 +02:00
Mikhail f. Shiryaev
d45092d63b
Process the rebalance recomendation event on post-run 2023-06-19 15:40:23 +02:00
Mikhail f. Shiryaev
904e6ae769
On out-of-space at returns error, we must terminate still 2023-02-23 00:45:51 +01:00
Mikhail f. Shiryaev
1d9570a4cb
Display runner's labels on setup step 2022-11-24 16:05:16 +01:00
Alexey Milovidov
ecfd8cb5a6 Remove trash error message from integration tests 2022-09-17 20:24:56 +02:00
Alexey Milovidov
b275aae95d
Update init_runner.sh 2022-08-02 03:23:53 +03:00
Alexey Milovidov
488ae32295
Update init_runner.sh 2022-08-02 03:23:05 +03:00
Mikhail f. Shiryaev
afcf76e899
Add cloudflare DNS as a fallback 2022-08-01 18:27:17 +02:00
Mikhail f. Shiryaev
498a9cc8d4
Terminate instance if docker does not start on post-hook 2022-06-29 12:54:33 +02:00
Mikhail f. Shiryaev
e1ac7477c9
Avoid killing terminate-instances task 2022-06-28 17:51:47 +02:00
Mikhail f. Shiryaev
6a67ba91cf
Add public hostname for runner 2022-06-27 14:46:28 +02:00
Mikhail f. Shiryaev
f2611c3707
Refresh team keys for each runner 2022-06-27 14:45:50 +02:00
Mikhail f. Shiryaev
20614b3678
Improve runners AMI and init scripts
- Install CloudWatch agent and atop
- Update runner version, that supports hooks
- Provide start and complete job hooks
- Will update docker version implicitly to 20.10.17~3
2022-06-23 18:25:15 +02:00
Mikhail f. Shiryaev
97301a19b9
Unify init scripts in one 2021-12-14 18:44:51 +01:00