From 5e4c0e69824ef00289e4d86adecf48209709bb59 Mon Sep 17 00:00:00 2001 From: Salim Afiune Maya Date: Tue, 5 Jan 2021 10:21:58 +0100 Subject: [PATCH 1/2] =?UTF-8?q?ci:=20send=20slack=20notifications=20to=20t?= =?UTF-8?q?eam=20alias=20=E2=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Salim Afiune Maya --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9179c2228..fa0458b70 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 parameters: slack-mentions: type: string - default: 'afiune,scottford' + default: 'allies' only_for_branches: type: string default: 'master' From ea23a3085e4c8ef35acc4fe06d3ba972be4d932a Mon Sep 17 00:00:00 2001 From: Salim Afiune Maya Date: Tue, 5 Jan 2021 10:23:01 +0100 Subject: [PATCH 2/2] build: stop publishing containers to old docker repo We are going to stop publishing copies of the Lacework CLI containers to the old repository `techallylw/lacework-cli`. Signed-off-by: Salim Afiune Maya --- scripts/release_containers.sh | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/scripts/release_containers.sh b/scripts/release_containers.sh index 663d45ab5..801c1adf7 100755 --- a/scripts/release_containers.sh +++ b/scripts/release_containers.sh @@ -5,8 +5,6 @@ set -eou pipefail # The repository where we are hosting the lacework-cli containers readonly repository="lacework/lacework-cli" -# @afiune let us continue posting the Lacework CLI to the old reporitory for a few -readonly old_repo="techallylw/lacework-cli" readonly project_name=lacework-cli log() { @@ -31,11 +29,6 @@ log "releasing container from SCRATCH" docker build -t "${repository}:scratch" --no-cache . docker push "${repository}:scratch" -# @afiune let us continue posting the Lacework CLI to the old reporitory for a few -log "releasing old container for SCRATCH" -docker image tag "${repository}:scratch" "${old_repo}:scratch" -docker push "${old_repo}:scratch" - # when updating the distributions below, please make sure to update # the script 'release.sh' inside the 'script/' folder distros=( @@ -51,11 +44,6 @@ for dist in "${distros[@]}"; do log "releasing container for ${dist}" docker build -f "cli/images/${dist}/Dockerfile" --no-cache -t "${repository}:${dist}" . docker push "${repository}:${dist}" - - # @afiune let us continue posting the Lacework CLI to the old reporitory for a few - log "releasing old container for ${dist}" - docker image tag "${repository}:${dist}" "${old_repo}:${dist}" - docker push "${old_repo}:${dist}" done log "creating docker manifest" @@ -70,18 +58,4 @@ docker manifest create "${repository}:latest" \ log "pushing docker manifest" docker manifest push "${repository}:latest" --purge -# @afiune let us continue posting the Lacework CLI to the old reporitory for a few -log "creating docker manifest for the old repository ${old_repo}" -docker manifest create "${old_repo}:latest" \ - "${old_repo}:scratch" \ - "${old_repo}:ubi-8" \ - "${old_repo}:centos-8" \ - "${old_repo}:debian-10" \ - "${old_repo}:ubuntu-1804" \ - "${old_repo}:amazonlinux-2" --amend - -log "pushing docker manifest for the old repository ${old_repo}" -docker manifest push "${old_repo}:latest" --purge - log "All docker containers have been released! (https://hub.docker.com/repository/docker/${repository})" -log "All docker containers have been released! (https://hub.docker.com/repository/docker/${old_repo})"