sommerfeld-io-archive / configs

Configuration as code for all my computers and RasPi nodes.
Other
1 stars 0 forks source link

Configure Github repos from a central Terraform component using the Terraform Github provider #16

Closed sebastian-sommerfeld-io closed 1 year ago

sebastian-sommerfeld-io commented 1 year ago

Implementation ideas

Place files in src/main/github and and src/test/github use these tiles in pipeline. Similar to:

jobs:
  example-job:
    steps:
      - name: Run build script
        run: ./.github/scripts/build.sh
        shell: bash

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.

sebastian-sommerfeld-io commented 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