Skip to content

Commit 72cbf3d

Browse files
Vaishnavi Reddy PutluruVaishnavi Reddy Putluru
authored andcommitted
Rolling back to amd64
1 parent 26f66d1 commit 72cbf3d

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/ansible-playbooks/frontend-application/docker/compose.yml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
blue-web: &frontend
33
container_name: blue-web
44
env_file: /var/docker/frontend.env
5-
image: "ghcr.io/nationalarchives/ds-frontend:feature-arm"
5+
image: "ghcr.io/nationalarchives/ds-frontend:25.05.30.1210"
66
labels:
77
- "traefik.enable=true"
88
- "traefik.docker.network='traefik_webgateway'"

.github/ansible-playbooks/frontend-application/templates/userdata.sh.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ sudo dnf -y install wget
3434
echo "$(date '+%Y-%m-%d %T') - install docker-compose" | sudo tee -a /var/log/ami-install.log > /dev/null
3535
sudo curl -s https://api.github.com/repos/docker/compose/releases/latest \
3636
| grep browser_download_url \
37-
| grep docker-compose-linux-aarch64 \
37+
| grep docker-compose-linux-x86_64 \
3838
| cut -d '"' -f 4 \
3939
| sudo wget -qi -
40-
sudo chmod +x docker-compose-linux-aarch64
41-
sudo mv docker-compose-linux-aarch64 /usr/local/bin/docker-compose
40+
sudo chmod +x docker-compose-linux-x86_64
41+
sudo mv docker-compose-linux-x86_64 /usr/local/bin/docker-compose
4242

4343
# install yq
4444
echo "$(date '+%Y-%m-%d %T') - install yq" | sudo tee -a /var/log/ami-install.log > /dev/null
45-
sudo wget https://github.com/mikefarah/yq/releases/download/v4.43.1/yq_linux_arm64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
45+
sudo wget https://github.com/mikefarah/yq/releases/download/v4.43.1/yq_linux_amd64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
4646

4747
echo "$(date '+%Y-%m-%d %T') - start docker" | sudo tee -a /var/log/ami-install.log > /dev/null
4848
sudo systemctl enable docker

.github/ansible-playbooks/frontend-application/web-frontend-playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
region: "{{ region }}"
2323
filters:
2424
name: "al2023-ami-2023*"
25-
architecture: "arm64"
25+
architecture: "x86_64"
2626
register: findami
2727

2828
- name: set latest AMI

.github/workflows/web-frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
branch: "${{ github.event.inputs.branch }}"
3333
account: "${{ github.event.inputs.account }}"
3434
key_name: "web-frontend-${{ github.event.inputs.account }}-eu-west-2"
35-
instance_type: "t4g.medium"
35+
instance_type: "t3a.medium"
3636
volume_size: 20
3737
s3_deployment_bucket: "ds-${{ github.event.inputs.account }}-deployment-source"
3838
s3_deployment_root: "web/frontend"

components/terraform/_vars/dev/frontend.auto.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ web_frontend_deployment_s3_bucket = "ds-dev-deployment-source"
22
web_frontend_folder_s3_key = "web/frontend"
33

44
web_frontend_efs_mount_dir = "/media"
5-
web_frontend_instance_type = "t4g.medium"
5+
web_frontend_instance_type = "t3a.medium"
66
web_frontend_auto_switch_on = true
77
web_frontend_auto_switch_off = true
88

0 commit comments

Comments
 (0)