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

Router refactor deployment #157

Merged
merged 1 commit into from Feb 5, 2021
Merged

Router refactor deployment #157

merged 1 commit into from Feb 5, 2021

Conversation

fredericfran-gds
Copy link
Contributor

@fredericfran-gds fredericfran-gds commented Feb 5, 2021

In PR #150, we refactored the way we deploy applications by outputting the
application task definition json when applying the govuk platforming terraform.
This json file is then diffed with previous version and if changes exist, a new
task definition is created for the app using AWS cli.

This PR refactors (draft-)router app to use this new deployment style.

Similar PRs are #152, #153 and #154 for other apps.

Ref:

  1. trello card

@fredericfran-gds fredericfran-gds force-pushed the router_refactor_deployment branch 2 times, most recently from 19e56d8 to 38bb483 Compare February 5, 2021 14:01
@fredericfran-gds fredericfran-gds marked this pull request as ready for review February 5, 2021 14:04
In PR #150, we refactored the way we deploy applications by outputting the
application task definition json when applying the govuk platforming terraform.
This json file is then diffed with previous version and if changes exist, a new
task definition is created for the app using AWS cli.

This PR refactors  (draft-)router app to use this new deployment style.

Similar PRs are #152, #153 and #154 for other apps.

Ref:
1. [trello card](https://trello.com/c/1lZxLN8V/380-update-the-router-application-to-use-the-new-deployment-approach)
environment_variables = merge(
local.defaults.environment_variables,
{
GOVUK_APP_NAME = "router",
Copy link
Contributor

@bilbof bilbof Feb 5, 2021

Choose a reason for hiding this comment

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

We can remove GOVUK_APP_NAME, router doesn't use it.

@bilbof bilbof merged commit de541d7 into main Feb 5, 2021
@bilbof bilbof deleted the router_refactor_deployment branch February 5, 2021 16:27
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.

None yet

2 participants