Skip to content

Commit 1566fb5

Browse files
committed
Print out recommended tags at the end of packer run
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
1 parent 5a9a300 commit 1566fb5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jenkins/build-amis.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ done
4040
export BUILD_DATE=`date +%Y%m%d%H%M`
4141
export AWS_IAM_ROLE="jenkins-worker"
4242

43-
packer build ${packer_opts} ${packer_file}
43+
packer build ${packer_opts} ${packer_file} | tee ${packer_file}.${BUILD_DATE}.txt
44+
grep 'Recommended labels' ${packer_file}.${BUILD_DATE}.txt

jenkins/customize-ami.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ case $PLATFORM_ID in
182182
clang-11 clang-12 clang-13 clang-14 \
183183
clang-format-14 bsdutils
184184
sudo pip3 install sphinx recommonmark docutils sphinx-rtd-theme
185-
labels="${labels} gcc9 gcc10 gcc11 gcc12 clang11 clang13 clang14"
185+
labels="${labels} gcc9 gcc10 gcc11 gcc12 clang11 clang12 clang13 clang14"
186186
if test "$arch" = "x86_64" ; then
187187
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install gcc-multilib g++-multilib gfortran-multilib
188188
labels="${labels} 32bit_builds"
@@ -210,7 +210,6 @@ case $PLATFORM_ID in
210210
python3-pip
211211
sudo ln -s /usr/bin/python3 /usr/bin/python
212212
sudo pip install sphinx recommonmark docutils sphinx-rtd-theme
213-
labels="${labels}"
214213
;;
215214
*)
216215
echo "ERROR: Unknown version ${PLATFORM_ID} ${VERSION_ID}"

0 commit comments

Comments
 (0)