generated from worldbank/template
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/cd #78
Merged
Merged
Feature/cd #78
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 20:38 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 20:51 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 20:55 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 21:01 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 21:07 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 21:08 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 21:14 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 21:18 — with
GitHub Actions
Failure
zacdezgeo
had a problem deploying
to
Space2Stats API Dev
October 11, 2024 21:25 — with
GitHub Actions
Failure
zacdezgeo
temporarily deployed
to
Space2Stats API Dev
October 11, 2024 21:34 — with
GitHub Actions
Inactive
zacdezgeo
temporarily deployed
to
Space2Stats API Dev
October 11, 2024 21:55 — with
GitHub Actions
Inactive
* Migrate to reusable workflow * Add tooling for PR preview URL * Add runs-on * Pre-commit * Refactor triggers * Bump version * Add permissions * Fix working dir * Fix URL output * Fix comment find * Add tooling to tear down PR preview * Fix commenting * Fix * Run tests on all pushes * Refactor * Fix * Expand events
alukach
temporarily deployed
to
Space2Stats API Dev
November 7, 2024 16:33 — with
GitHub Actions
Inactive
alukach
temporarily deployed
to
Space2Stats API Dev
November 7, 2024 16:39 — with
GitHub Actions
Inactive
alukach
had a problem deploying
to
Space2Stats API Dev
November 7, 2024 16:41 — with
GitHub Actions
Error
alukach
temporarily deployed
to
Space2Stats API Dev
November 7, 2024 16:42 — with
GitHub Actions
Inactive
alukach
temporarily deployed
to
Space2Stats API Dev
November 7, 2024 16:55 — with
GitHub Actions
Inactive
alukach
temporarily deployed
to
Space2Stats API Dev
November 7, 2024 16:59 — with
GitHub Actions
Inactive
I am going to call this 'complete'. My goal had been:
By having tests run on every push but also having preview deployments run after tests, tests would run twice (once for the push, once for the PR sync event). Instead, I have made it so that tests only run on pushes to |
alukach
temporarily deployed
to
Space2Stats API Dev
November 7, 2024 17:25 — with
GitHub Actions
Inactive
alukach
temporarily deployed
to
Space2Stats API Dev
November 7, 2024 17:26 — with
GitHub Actions
Inactive
Gabe-Levin
pushed a commit
that referenced
this pull request
Nov 11, 2024
* Update adding staging mechanism * Add CD pipeline * Solve f-string matching * Update event to push on main * Add dev CD * Remove npm and node specific jobs * Update variables * Update environment * Update role * Remove cdk bootstrap * Add working directory for cdk deployment * Add cdk requirements * Update cdk requirements * Update deployment variables * Refactor deployment tooling (#85) * Migrate to reusable workflow * Add tooling for PR preview URL * Add runs-on * Pre-commit * Refactor triggers * Bump version * Add permissions * Fix working dir * Fix URL output * Fix comment find * Add tooling to tear down PR preview * Fix commenting * Fix * Run tests on all pushes * Refactor * Fix * Expand events * Fix destroy * Prevent unnecessary deployments * Pass in PR number * Prevent testing on closed PRs * Refactor * Mv to workflows * Fix destroy * Rework trigger * Refine * Rm old needs * Rework trigger * Try fix if condition * Mv deployment trigger back to ci.yml * Rework triggers * Rename jobs * Set concurrency to stage * Only trigger on pushes to main --------- Co-authored-by: Anthony Lukach <[email protected]>
Gabe-Levin
pushed a commit
that referenced
this pull request
Nov 20, 2024
* Update adding staging mechanism * Add CD pipeline * Solve f-string matching * Update event to push on main * Add dev CD * Remove npm and node specific jobs * Update variables * Update environment * Update role * Remove cdk bootstrap * Add working directory for cdk deployment * Add cdk requirements * Update cdk requirements * Update deployment variables * Refactor deployment tooling (#85) * Migrate to reusable workflow * Add tooling for PR preview URL * Add runs-on * Pre-commit * Refactor triggers * Bump version * Add permissions * Fix working dir * Fix URL output * Fix comment find * Add tooling to tear down PR preview * Fix commenting * Fix * Run tests on all pushes * Refactor * Fix * Expand events * Fix destroy * Prevent unnecessary deployments * Pass in PR number * Prevent testing on closed PRs * Refactor * Mv to workflows * Fix destroy * Rework trigger * Refine * Rm old needs * Rework trigger * Try fix if condition * Mv deployment trigger back to ci.yml * Rework triggers * Rename jobs * Set concurrency to stage * Only trigger on pushes to main --------- Co-authored-by: Anthony Lukach <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Staging Environment Variable and Setup Continuous Deployment for Staging and Production
What I Changed:
Added
STAGE
Environment Variable:STAGE
environment variable to differentiate between deployment environments (staging
andprod
).STAGE
variable is dynamically used to deploy the correct infrastructure based on the target environment.Set Up Separate Continuous Deployment Workflows:
CD.yml
workflow now deploys to the production environment only when a commit is pushed to themain
branch.CD-staging.yml
) was created to automatically deploy changes to the staging environment on pull requests targeting themain
branch.How to Test It:
Testing the Staging Environment:
main
branch.CD-staging.yml
) is triggered.staging.space2stats.ds.io
).Testing the Production Environment:
CD.yml
) is triggered.space2stats.ds.io
).