Skip to content

Update husky post-merge script to remove redundant yarn logic - #16724

Open
arelra wants to merge 1 commit into
mainfrom
arelra-patch-1
Open

arelra wants to merge 1 commit into
mainfrom
arelra-patch-1

Conversation

@arelra

@arelra arelra commented Sep 14, 2026

Copy link
Copy Markdown
Member

What does this change?

We moved to pnpm many moons ago: #9476

@arelra
arelra requested a review from a team as a code owner September 14, 2026 15:56
@arelra arelra added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Sep 14, 2026
@arelra arelra changed the title Update post-merge to remove redundant yarn logic Update husky post-merge script to remove redundant yarn logic Sep 14, 2026
@github-actions

Copy link
Copy Markdown

🚀 Image pushed to AWS ECR

Image digest: sha256:524a43d6d1744cb711d847487085cc1c452fa52d8a5df80e47b41f157dac6d0c

🐛 Run the image locally

The following can be used to run the image locally:

# Refer to image using the immutable digest. Find alternatives below.
IMAGE_IDENTIFIER="@sha256:524a43d6d1744cb711d847487085cc1c452fa52d8a5df80e47b41f157dac6d0c"

# Refer to image using branch tag
# IMAGE_IDENTIFIER=":branch-arelra-patch-1"

# Refer to image using build tag
# IMAGE_IDENTIFIER=":build-31120"

# Refer to image via the GitHub commit SHA tag
# IMAGE_IDENTIFIER=":sha-bae1125844edee9aaeb2ed02ac58516ca1c4143f"

# Set environment variables for the AWS CLI
AWS_PROFILE="<A_PROFILE_FROM_JANUS>"
AWS_DEFAULT_REGION="eu-west-1"

IMAGE_ACCOUNT_ID=$(aws ssm get-parameter --name /organisation/accounts/artifacts --query "Parameter.Value" --output text)
REGISTRY="${IMAGE_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com"
IMAGE="${REGISTRY}/guardian/dotcom-rendering${IMAGE_IDENTIFIER}"

# Login to AWS ECR https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html
aws ecr get-login-password | docker login --username AWS --password-stdin $REGISTRY

# Pull the image
docker pull $IMAGE

# Run the image. You'll likely need to set additional flags. See https://docs.docker.com/reference/cli/docker/container/run.
docker run $IMAGE

From guardian/actions-publish-image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants