-
Notifications
You must be signed in to change notification settings - Fork 261
docs(instances): add GitLab runner Terraform tutorial ext-add-instances #5284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(instances): add GitLab runner Terraform tutorial ext-add-instances #5284
Conversation
update new frontmatter
Co-authored-by: Jessica <[email protected]> Co-authored-by: Néda <[email protected]> Co-authored-by: Benedikt Rollik <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have review all suggestions, and added almost all suggestions. Wait for the final PR validation, thanks for your help !
|
@ofranc do you know when will this be merged ? or does i need to do any thing ? |
|
Hello @SIMVIA-lucas-sovre, Sorry for the late reply! I just tested (without success), some parts of the tutorial are unclear:
|
|
|
||
| Start by providing a basic Terraform/OpenTofu setup: | ||
|
|
||
| 1. Create a `main.tf` file and paste the following content into it: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at which location ? at the root of the project ?
| - SCW_ACCES_KEY | ||
|
|
||
| The `GITLAB_TOKEN` needs to be a GitLab personal access token with the **Owner** role, and `create_runner` scope. | ||
| Create the environment variables in your [project CI/CD settings](https://docs.gitlab.com/ci/variables/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please Specify that it's in the project, under Settings > CI/CD > Variables
| fi | ||
| done | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If required, add a step to describe what to do to trigger the pipeline, and how to see the logs of the jobs to check if everything works fine. Thanks!
|
Also, another technical writer tested it before, and got the error below Could you check if you can reproduce and fix accordingly if there is an issue with your code? Thank you very much ! |
Your checklist for this pull request
Description
Added a new tutorial showing how to dynamically create and destroy GitLab runners on Scaleway instances using Terraform. This tutorial provides a cost-effective solution for teams needing high-computation runners on-demand.
Key features covered:
Target audience: DevOps engineers and developers looking to optimize CI/CD costs by provisioning runners only when needed.
linked to the #4969 issue