Skip to content

chore!: Change runner labels to list[string] and apply TFLint #3143

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

Conversation

koendelaat
Copy link
Contributor

@koendelaat koendelaat commented Mar 31, 2023

Change variables runner_labels and runner_extra_labels to type: list[string] to better represent the content

Additionally:

  • Automatic determine runner labels for multi runner based on label matchers
  • Enable Terraform linting on all modules, including naming conventions
  • Enable check annotations for linting errors
  • Fix existing linting errors
  • Apply naming conventions within objects (not supported by TFLint)

@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch 4 times, most recently from ce093b2 to d19a591 Compare April 5, 2023 07:59
@GuptaNavdeep1983
Copy link
Contributor

I did look at the changes and they look good. It will be good to thoroughly test this change specially around the logic to filter out the extra labels from matchers.

@npalm
Copy link
Member

npalm commented Apr 7, 2023

@koendelaat thx, maybe a good reason as to explore the module for other variables that needs to be reanamed.

@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch from d19a591 to 4983cfd Compare May 3, 2023 12:31
@koendelaat
Copy link
Contributor Author

Rebased commits

@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch from 78f4da5 to 650c3fb Compare May 3, 2023 13:49
@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch from 650c3fb to 061880f Compare May 3, 2023 13:52
@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch from 66685d2 to d1963d4 Compare May 3, 2023 14:14
@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch from d1963d4 to 93c9362 Compare May 3, 2023 14:18
@koendelaat
Copy link
Contributor Author

Terraform linting errors are now marked with check annotations.

See:
image

@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch from 3d57800 to ed33cf5 Compare May 3, 2023 14:37
@koendelaat koendelaat changed the title feat!: Change runner labels to list[string] chore!: Change runner labels to list[string] and apply TFLint May 3, 2023
@koendelaat
Copy link
Contributor Author

@npalm Ready for review

@koendelaat koendelaat force-pushed the feature/multi-runner-labels branch from eb6f86d to 5b9f595 Compare May 3, 2023 15:37
@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2023

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jun 3, 2023
@github-actions github-actions bot closed this Jun 14, 2023
@npalm npalm reopened this Jul 3, 2023
@npalm npalm added stale:exempt and removed Stale labels Jul 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2023

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.

@npalm
Copy link
Member

npalm commented Aug 5, 2023

close in favour of #3410

@npalm npalm closed this Aug 5, 2023
npalm added a commit that referenced this pull request Oct 19, 2023
Change variables `runner_labels` and `runner_extra_labels` to type:
`list[string]` to better represent the content

Additionally:
- [x] Automatic determine runner labels for multi runner based on label
matchers
- [x] Enable Terraform linting on all modules, including naming
conventions
- [x] Enable check annotations for linting errors
- [x] Fix existing linting errors
- [ ] Apply naming conventions within objects (not supported by
[TFLint](terraform-linters/tflint#1310))


This PR is based on #3143 creaed by @koendelaat but now via a dedicate
branch in this repository.

---------

Co-authored-by: Koen de Laat <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
npalm added a commit that referenced this pull request Oct 26, 2023
Change variables `runner_labels` and `runner_extra_labels` to type:
`list[string]` to better represent the content

Additionally:
- [x] Automatic determine runner labels for multi runner based on label
matchers
- [x] Enable Terraform linting on all modules, including naming
conventions
- [x] Enable check annotations for linting errors
- [x] Fix existing linting errors
- [ ] Apply naming conventions within objects (not supported by
[TFLint](terraform-linters/tflint#1310))


This PR is based on #3143 creaed by @koendelaat but now via a dedicate
branch in this repository.

---------

Co-authored-by: Koen de Laat <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
npalm added a commit that referenced this pull request Oct 27, 2023
Change variables `runner_labels` and `runner_extra_labels` to type:
`list[string]` to better represent the content

Additionally:
- [x] Automatic determine runner labels for multi runner based on label
matchers
- [x] Enable Terraform linting on all modules, including naming
conventions
- [x] Enable check annotations for linting errors
- [x] Fix existing linting errors
- [ ] Apply naming conventions within objects (not supported by
[TFLint](terraform-linters/tflint#1310))


This PR is based on #3143 creaed by @koendelaat but now via a dedicate
branch in this repository.

---------

Co-authored-by: Koen de Laat <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants