Skip to content
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

Initial replacement for CI/CD stage #903

Merged
merged 12 commits into from Oct 23, 2022
Merged

Initial replacement for CI/CD stage #903

merged 12 commits into from Oct 23, 2022

Conversation

ludoo
Copy link
Collaborator

@ludoo ludoo commented Oct 20, 2022

This moves CI/CD repository creation to a new extras folder, and only supports a single provider per extra stage, in this case GitHub.

The stage creates repositories, allows initial configuration (.gitignore, etc.), and also optionally pushes files replacing modules source if a repo module is created too.

It's only intended to be used for initial repo creation and population, as committing files will potentially overwrite any changes.

An example tfvars file:

organization = "ludomagno"
repositories = {
  fast_00_bootstrap = {
    create_options = {
      description = "FAST bootstrap."
      features = {
        issues = true
      }
    }
    populate_from = "../../stages/00-bootstrap"
  }
  fast_01_resman = {
    create_options = {
      description = "FAST resource management."
      features = {
        issues = true
      }
    }
    populate_from = "../../stages/01-resman"
  }
  fast_02_networking = {
    # populate_from = "../../stages/02-networking-peering"
  }
  fast_modules = {
    has_modules = true
  }
}

@ludoo ludoo added the on:FAST label Oct 20, 2022
@ludoo ludoo marked this pull request as ready for review October 23, 2022 15:22
@ludoo ludoo enabled auto-merge (squash) October 23, 2022 15:41
@ludoo ludoo merged commit fc7bf40 into master Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants