From 3f7697be410c9f1f446e4ec57d441d0b56d467aa Mon Sep 17 00:00:00 2001 From: ayuki_j Date: Thu, 31 Mar 2022 17:19:43 +0900 Subject: [PATCH] update production environment name --- .github/workflows/deploy.yml | 4 ++-- .../00_env_options.config | 6 +++--- .../00_options.config | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) rename deployments/{production-v0-23-5 => production-v0-24-3}/00_env_options.config (95%) rename deployments/{production-v0-23-5 => production-v0-24-3}/00_options.config (87%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c4db4dcc11..2ba89627f7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,8 +30,8 @@ jobs: id: set-env-production if: endsWith(github.ref, 'heads/master') || contains(github.ref, 'tags/v') run: | - echo "IMAGE_TAG_PREFIX=production-v0-23-5" >> $GITHUB_ENV - echo "EB_ENVIRONMENT_NAME=production-v0-23-5" >> $GITHUB_ENV + echo "IMAGE_TAG_PREFIX=production-v0-24-3" >> $GITHUB_ENV + echo "EB_ENVIRONMENT_NAME=production-v0-24-3" >> $GITHUB_ENV - name: Output App Env id: output-app-env diff --git a/deployments/production-v0-23-5/00_env_options.config b/deployments/production-v0-24-3/00_env_options.config similarity index 95% rename from deployments/production-v0-23-5/00_env_options.config rename to deployments/production-v0-24-3/00_env_options.config index 2d91be5014..bbc56b4866 100644 --- a/deployments/production-v0-23-5/00_env_options.config +++ b/deployments/production-v0-24-3/00_env_options.config @@ -3,9 +3,9 @@ option_settings: AWS_ACCESS_KEY_ID: "{{resolve:ssm:/decidim-cfj/production/AWS_ACCESS_KEY_ID:1}}" AWS_SECRET_ACCESS_KEY: "{{resolve:ssm:/decidim-cfj/production/AWS_SECRET_ACCESS_KEY:1}}" AWS_CLOUD_FRONT_END_POINT: "{{resolve:ssm:/decidim-cfj/production/AWS_CLOUD_FRONT_END_POINT:1}}" - REDIS_URL: "{{resolve:ssm:/decidim-cfj/production/REDIS_URL:2}}" + REDIS_URL: "{{resolve:ssm:/decidim-cfj/production/REDIS_URL:3}}" RDS_DB_NAME: "{{resolve:ssm:/decidim-cfj/production/RDS_DB_NAME:1}}" - RDS_HOSTNAME: "{{resolve:ssm:/decidim-cfj/production/RDS_HOSTNAME:2}}" + RDS_HOSTNAME: "{{resolve:ssm:/decidim-cfj/production/RDS_HOSTNAME:3}}" RDS_USERNAME: "{{resolve:ssm:/decidim-cfj/production/RDS_USERNAME:1}}" RDS_PASSWORD: "{{resolve:ssm:/decidim-cfj/production/RDS_PASSWORD:1}}" SECRET_KEY_BASE: "{{resolve:ssm:/decidim-cfj/production/SECRET_KEY_BASE:1}}" @@ -14,6 +14,6 @@ option_settings: SMTP_USERNAME: "{{resolve:ssm:/decidim-cfj/production/SMTP_USERNAME:2}}" SMTP_PASSWORD: "{{resolve:ssm:/decidim-cfj/production/SMTP_PASSWORD:2}}" SMTP_DOMAIN: diycities.jp - AWS_BUCKET_NAME: cfj-decidim-v0235 + AWS_BUCKET_NAME: cfj-decidim-v0243 RAILS_SKIP_MIGRATIONS: false DECIDIM_COMMENTS_LIMIT: 30 diff --git a/deployments/production-v0-23-5/00_options.config b/deployments/production-v0-24-3/00_options.config similarity index 87% rename from deployments/production-v0-23-5/00_options.config rename to deployments/production-v0-24-3/00_options.config index 13db657c32..13a3c60b7e 100644 --- a/deployments/production-v0-23-5/00_options.config +++ b/deployments/production-v0-24-3/00_options.config @@ -3,7 +3,7 @@ option_settings: MinSize: 3 MaxSize: 5 "aws:ec2:instances": - InstanceTypes: t2.medium + InstanceTypes: t2.large "aws:elasticbeanstalk:cloudwatch:logs": StreamLogs: true DeleteOnTerminate: false