From 4615a50c681b2fe3ee6e85c4ee457986f10a562c Mon Sep 17 00:00:00 2001 From: Terry Brady Date: Wed, 7 Aug 2024 11:18:51 -0700 Subject: [PATCH] Update tagging.md --- design/aws-build/tagging.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/design/aws-build/tagging.md b/design/aws-build/tagging.md index db3a52c..1196e33 100644 --- a/design/aws-build/tagging.md +++ b/design/aws-build/tagging.md @@ -57,26 +57,46 @@ This is the most complicated scenario. This will also make it easier to keep se - Commit to BRANCH `main`: - 3.0-SNAPSHOT.jar in CodeArtifact - Commit to other BRANCH: + - BRANCH.jar in CodeArtifact - TAG commit (other than `sprint-*)` + - TAG.jar in CodeArtifact ### WAR file repos (mrt-audit, mrt-ingest, mrt-inventory, mrt-store, mrt-replic) - Commit to BRANCH `main`: - 3.0-SNAPSHOT.war in CodeArtifact - image:dev in ECR + - rebuild daily - Commit to other BRANCH: + - BRANCH.war in CodeArtifact + - image:BRANCH in ECR - TAG commit (other than `sprint-*)` + - TAG.war in CodeArtifact + - image:TAG in ECR ### Rails (mrt-dashboard) - Commit to BRANCH `main`: - image:dev in ECR + - rebuild daily - Commit to other BRANCH: + - image:BRANCH in ECR - TAG commit (other than `sprint-*)` + - image:TAG in ECR ### Lambda (mrt-admin-lambda) - Commit to BRANCH `main`: - - image:latest for base images - - image:main for lambda images (admintool, colladmin, cognito) + - image:latest in ECR for base images + - image:main in ECR for lambda images (admintool, colladmin, cognito) + - rebuild daily - Commit to other BRANCH: + - image:latest in ECR for base images + - image:BRANCH in ECR for lambda images (admintool, colladmin, cognito) - TAG commit (other than `sprint-*)` + - image:latest in ECR for base images + - image:TAG in ECR for lambda images (admintool, colladmin, cognito) ### Other Docker (merritt-docker, mrt-integ-tests) - Commit to BRANCH `main`: - - image:dev in ECR + - image:dev in ECR + - rebuild daily - Commit to other BRANCH: + - image:BRANCH in ECR - TAG commit (other than `sprint-*)` + - image:TAG in ECR +### Other Code +- since neither ECR nor CodeArtifact are involved, the tagging is not copied to a repository