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

feat!: DBTP-1503 - Cross account deploy and manual release pipeline #306

Open
wants to merge 118 commits into
base: main
Choose a base branch
from

Conversation

JohnStainsby
Copy link
Contributor

@JohnStainsby JohnStainsby commented Dec 16, 2024

Addresses https://uktrade.atlassian.net/browse/DBTP-1503

Follows on from #276

#282 has been merged into this PR due to major changes in the pipeline deploy stages. So this PR now addresses:

  • Cross account permissions
  • Manual release pipeline that can deploy any image to any environment, this can be triggered manually in the AWS console or CLI via platform-helper codebase deploy after the updates in this PR

Breaking change update:

  1. This adds a role in the extensions module for each environment which the codebase pipeline assumes
  2. The extensions module requires another args variable named pipeline_account_id
  3. This will need to be added to the environment main.tf by running platform-helper environment generate-terraform --name <env>
  4. Environments will need to be re-deployed before the codebase-pipelines

Checklist:

Title:

  • Scope included as per conventional commits
  • Ticket reference included (unless it's a quick out of ticket thing)

Description:

  • Link to ticket included (unless it's a quick out of ticket thing)
  • Includes tests (or an explanation for why it doesn't)
  • Includes any applicable changes to the documentation in this code base
  • Includes link(s) to any applicable changes to the documentation in the DBT Platform Documentation (can be to a pull request)

Tasks:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants