Skip to content

Commit cd9d478

Browse files
tschaffterpre-commit-ci[bot]zaro0508
authored
chore: update to stack v0.0.12 in prod environment (#65)
* [pre-commit.ci] pre-commit autoupdate (#48) updates: - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](PyCQA/flake8@7.1.0...7.1.1) - [github.com/awslabs/cfn-python-lint: v1.9.0 → v1.15.0](aws-cloudformation/cfn-lint@v1.9.0...v1.15.0) - [github.com/psf/black: 24.4.2 → 24.8.0](psf/black@24.4.2...24.8.0) - [github.com/sirosen/check-jsonschema: 0.29.1 → 0.29.2](python-jsonschema/check-jsonschema@0.29.1...0.29.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [IT-3918] Fix the image URLs returned by the image service (#51) * update the config of the image service * use `{fully_qualified_domain_name}` * use an f-string * [pre-commit.ci] pre-commit autoupdate (#52) updates: - [github.com/awslabs/cfn-python-lint: v1.15.0 → v1.15.2](aws-cloudformation/cfn-lint@v1.15.0...v1.15.2) - [github.com/sirosen/check-jsonschema: 0.29.2 → 0.29.3](python-jsonschema/check-jsonschema@0.29.2...0.29.3) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#53) updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0) - [github.com/awslabs/cfn-python-lint: v1.15.2 → v1.16.0](aws-cloudformation/cfn-lint@v1.15.2...v1.16.0) - [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Parametrize stack version and update app config (#54) * parametrize stack version * update data update date * set Google tag manager ID * rename `stack_version` to `image_version` * Increase GH workflow timeout (#55) A change[1] was made to update all containers at the same time which takes longer to deploy so we need to increase the deployment timeout. [1] #54 * [pre-commit.ci] pre-commit autoupdate (#56) updates: - [github.com/awslabs/cfn-python-lint: v1.16.0 → v1.16.1](aws-cloudformation/cfn-lint@v1.16.0...v1.16.1) - [github.com/sirosen/check-jsonschema: 0.29.3 → 0.29.4](python-jsonschema/check-jsonschema@0.29.3...0.29.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#59) updates: - [github.com/awslabs/cfn-python-lint: v1.16.1 → v1.18.1](aws-cloudformation/cfn-lint@v1.16.1...v1.18.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#60) updates: - [github.com/awslabs/cfn-python-lint: v1.18.1 → v1.18.2](aws-cloudformation/cfn-lint@v1.18.1...v1.18.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Set concurrency to 5 (best results) (#61) * [pre-commit.ci] pre-commit autoupdate (#62) updates: - [github.com/awslabs/cfn-python-lint: v1.18.2 → v1.18.4](aws-cloudformation/cfn-lint@v1.18.2...v1.18.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * update image tag, app version and data release date (#63) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Khai Do <3697686+zaro0508@users.noreply.github.com>
1 parent 1936d38 commit cd9d478

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/aws-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
role-session-name: ${{ inputs.role-session-name }}
5353
role-duration-seconds: ${{ inputs.role-duration-seconds }}
5454
- name: CDK deploy
55-
run: cdk deploy --all --require-approval never
55+
run: cdk deploy --all --concurrency 5 --require-approval never
5656
env:
5757
ENV: ${{ inputs.environment }}
5858
SECRETS: ${{ inputs.secrets-location }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
hooks:
1818
- id: yamllint
1919
- repo: https://github.com/awslabs/cfn-python-lint
20-
rev: v1.16.0
20+
rev: v1.18.4
2121
hooks:
2222
- id: cfn-python-lint
2323
args:
@@ -36,7 +36,7 @@ repos:
3636
hooks:
3737
- id: black
3838
- repo: https://github.com/sirosen/check-jsonschema
39-
rev: 0.29.3
39+
rev: 0.29.4
4040
hooks:
4141
- id: check-github-workflows
4242
- id: check-github-actions

app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# get the environment
1515
environment = utils.get_environment()
1616
stack_name_prefix = f"openchallenges-{environment}"
17-
image_version = "0.0.11"
17+
image_version = "0.0.12"
1818

1919
# get VARS from cdk.json
2020
env_vars = app.node.try_get_context(environment)
@@ -297,9 +297,9 @@
297297
f"ghcr.io/sage-bionetworks/openchallenges-app:{image_version}",
298298
{
299299
"API_DOCS_URL": f"https://{fully_qualified_domain_name}/api-docs",
300-
"APP_VERSION": "1.0.0-alpha",
300+
"APP_VERSION": "1.0.12-beta",
301301
"CSR_API_URL": f"https://{fully_qualified_domain_name}/api/v1",
302-
"DATA_UPDATED_ON": "2024-10-11",
302+
"DATA_UPDATED_ON": "2024-11-13",
303303
"ENVIRONMENT": "production",
304304
"GOOGLE_TAG_MANAGER_ID": "GTM-NBR5XD8C",
305305
"SSR_API_URL": "http://openchallenges-api-gateway:8082/api/v1",

0 commit comments

Comments
 (0)