digio/terraform-google-gitlab-runner

CentOS deprecation - breaking change

Opened this issue · 1 comments

czomo commented

Issue

CentOS is deprecated since - June 30, 2024. This module have hardcode CentOS image making this useless as for now
https://cloud.google.com/compute/docs/eol/centos-eol-guidance

czomo commented

I made some tests and instead of centos-cloud/centos-7 I used centos-cloud/centos-stream-9. CentOS stream is community supported image up to 2027. It works but the drawback is that it requires bigger instance than f1-micro because of OOMs. Here are my draft with the changes https://github.com/digio/terraform-google-gitlab-runner/pull/15/files.

2 cents:
That test step with creating machine docker-machine create in init cloud is somehow faulty. Something between 167e5bb and 4e15c16 have changed that hangs the script. It wasn't working from master branch couple months ago either today.

Second thing is that F1-micro is no longer free tier available.

UPDATE(Aug, 2021): From Augest 1st, 2021, the Free Tier F1-micro VM is changing to the E2-micro VM as the VM to use for free. On August 1, 2021, E2-micro Free Tier will be introduced. Follow [these steps](https://cloud.google.com/compute/docs/instances/changing-machine-type-of-stopped-instance#before-you-begin) to change your machine type to E2-micro to avoid incurring charges for continuing to use F1-micro after August 31, 2021.