Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
Image hashes in release notes don't match pushed images. Try pulling …
Browse files Browse the repository at this point in the history
…them to build release notes. [deploy]
  • Loading branch information
jamesmortensen committed Apr 9, 2022
1 parent 929a5a3 commit 77e715e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
NAME=${NAMESPACE} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} PLATFORMS=${PLATFORMS} BUILD_ARGS=${BUILD_ARGS} make build_multi
- run: |
echo "Generate release notes"
NAME=${NAMESPACE} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} PLATFORMS=linux/arm64 BUILD_ARGS=--load make build_multi
#NAME=${NAMESPACE} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} PLATFORMS=linux/arm64 BUILD_ARGS=--load make build_multi
export LATEST_TAG=$(git describe --tags --abbrev=0)
sh generate_multi-arch-release_notes.sh $LATEST_TAG $CIRCLE_BRANCH $BRANCH $BUILD_DATE
cat release_notes.md
Expand Down
8 changes: 7 additions & 1 deletion generate_multi-arch-release_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ echo "" >> release_notes.md
echo "### Changelog" > release_notes.md
git --no-pager log "${LATEST_TAG}...${HEAD_BRANCH}" --pretty=format:"* [\`%h\`](http://github.com/seleniumhq-community/docker-seleniarm/commit/%H) - %s :: %an" --reverse >> release_notes.md

# Pull the other images so we populate the release notes
docker pull seleniarm/base:${TAG_VERSION}
docker pull seleniarm/hub:${TAG_VERSION}
docker pull seleniarm/node-base:${TAG_VERSION}
docker pull seleniarm/standalone-chromium:${TAG_VERSION}
docker pull seleniarm/standalone-firefox:${TAG_VERSION}

CHROMIUM_VERSION=$(docker run --rm seleniarm/node-chromium:${TAG_VERSION} chromium --version | awk '{print $2}')
CHROMEDRIVER_VERSION=$(docker run --rm seleniarm/node-chromium:${TAG_VERSION} chromedriver --version | awk '{print $2}')
FIREFOX_VERSION=$(docker run --rm seleniarm/node-firefox:${TAG_VERSION} firefox --version | awk '{print $3}')
GECKODRIVER_VERSION=$(docker run --rm seleniarm/node-firefox:${TAG_VERSION} geckodriver --version | awk 'NR==1{print $2}')



echo "" >> release_notes.md
echo "### Released versions" >> release_notes.md
echo "* Selenium: ${GRID_VERSION}" >> release_notes.md
Expand Down

0 comments on commit 77e715e

Please sign in to comment.