Skip to content

Add AMI-building infrastructure-as-code

Adrien Kohlbecker requested to merge ak/ami-building into main

What does this MR do?

Please refer to README.md in the proposed change for detailed explanations of what this does. Please note that all the infrastructure mentioned has been deployed already in the shared sandbox account.

Why was this MR needed?

We need to spin up dedicated macOS infrastructure to build customer-facing images.

What's the best way to test this MR?

The best way to test this is to:

  1. Remove mentions of gitlab's terraform state backend and run the terraform on your own sandbox account
  2. Build both AMIs yourself in your own sandbox account

Also, two AMIs that you can check out have been built in the shared runner-saas sandbox:

Name AMI ID  AMI Name
12-monterey-base-arm64 ami-0d52541a41d0831f6 macos-12-monterey-base-arm64-20221003152712Z-e4f2751a-c239-4554-9b42-40341c9800cb
12-monterey-runner-arm64 ami-051db7a041001458a macos-12-monterey-runner-arm64-20221003190653Z-a55255d2-8446-4b1c-8a0c-12b10b9992e0

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/ci-cd/shared-runners/macos/-/issues/20

Edited by Adrien Kohlbecker

Merge request reports