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

chore(INFRA-1282): add release action #193

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jluque0101
Copy link
Collaborator

@jluque0101 jluque0101 commented Nov 21, 2023

This PR introduces an automated release process using GitHub Actions. The Main workflow is triggered on every pull request and push to master. It includes:

  1. check-workflows: Lints workflow files using actionlint.
  2. build-test: Builds the project and runs tests.
  3. release-uat: Releases to the UAT environment after successful build and tests.
  4. release-prd: Releases to the Production environment after successful UAT release.

@jluque0101 jluque0101 marked this pull request as ready for review November 21, 2023 10:55
@Gudahtt
Copy link
Member

Gudahtt commented Nov 29, 2023

I see that this relies upon GitHub environments; could you share details on how those should be setup, including any required secrets?

@jluque0101
Copy link
Collaborator Author

I see that this relies upon GitHub environments; could you share details on how those should be setup, including any required secrets?

Sure @Gudahtt

Environments would contain the Github Variables that would allow this repository updating that specific environment.
In addition to that, PRD environment must define reviewers so that deployments are handled upon revision.

For each environment we would have to define 3 vars:

  • AWS_ROLE_ARN
  • AWS_REGION
  • AWS_BUCKET_NAME

I will provide the content of those.

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I'll coordinate with you on Slack re: the repo config

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.

2 participants