Closed sebastian-sommerfeld-io closed 1 year ago
Stack Overflow Question on creating labels based on a set of repositories: https://stackoverflow.com/questions/74812989/creating-issue-labels-with-terraform-using-the-github-provider
Seems like my issue is the same as this open Issue in the official project: https://github.com/integrations/terraform-provider-github/issues/1238
main.tf
-> one file per module instead of a longmain.tf
configure-github.yml
)terraform plan
beforeterraform apply
docker run
work with--user
setting in Github Action?TERRAFORM
in config repo and use in Guthub Actions Workflow ... make sure scripts from localhost work (get the token from somewhere else)simulate-pipeline.sh
script (or similar) -> run all steps in sequenz similar like the pipeline doesapply-config.sh
... Pass${{ secret.XXX }}
in pipeline and the local token as an argument$LOG_ERROR
and$LOG_INFO
from localhost and from pipelineonboardings.adoc
github/config.adoc
help.adoc
into partialgenerated apply-config-sh.adoc
fileImplementation ideas
Place files in
src/main/github
and andsrc/test/github
use these tiles in pipeline. Similar to:See: https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions
Next idea
Check if I can roll out some yml-files which are the same for all repositories? Update in repo, commit and push ... The
organize-*.yml
github workflows should be the same for every repo.