-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,10 @@ version: 2.1 | |
|
||
orbs: | ||
# https://circleci.com/developer/orbs/orb/circleci/docker | ||
docker: circleci/[email protected] | ||
docker: circleci/[email protected] | ||
# https://circleci.com/developer/orbs/orb/circleci/python | ||
python: circleci/[email protected] | ||
|
||
|
||
jobs: | ||
build-arm64: | ||
|
@@ -24,6 +27,15 @@ jobs: | |
- run: uname -a | ||
- run: docker --version | ||
- run: docker info | ||
- run: | ||
name: Install manifest-tool (linux-arm64 ) | ||
command: | | ||
wget https://github.com/estesp/manifest-tool/releases/download/v2.0.8/binaries-manifest-tool-2.0.8.tar.gz | ||
mkdir manifest-tool | ||
tar -xvzf binaries-manifest-tool-2.0.8.tar.gz -C manifest-tool | ||
sudo mv manifest-tool/manifest-tool-linux-arm64 /usr/local/bin/manifest-tool | ||
manifest-tool -v | ||
- run: pip3 install lastversion | ||
- run: source tools/environment_init.sh | ||
- run: make check_version | ||
- docker/check: | ||
|
@@ -36,7 +48,10 @@ jobs: | |
command: | | ||
# Check if the current branch is 'master' and the weekly image is not extis | ||
# If weekly image exists, skip docker build and push | ||
if [ "$CIRCLE_BRANCH" == "master" ] && check_image_exists "${{ matrix.version }}-${{ matrix.variant }}$(IMAGE_VERSION_ID)"; then | ||
source tools/environment_init.sh | ||
echo "check: << parameters.target-version-variant >>${IMAGE_VERSION_ID}" | ||
check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}" || true | ||
if [ "$CIRCLE_BRANCH" == "master" ] && check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}"; then | ||
circleci-agent step halt | ||
fi | ||
|
@@ -53,15 +68,6 @@ jobs: | |
circleci-agent step halt | ||
fi | ||
- run: | ||
name: Install manifest-tool (linux-arm64 ) | ||
command: | | ||
wget https://github.com/estesp/manifest-tool/releases/download/v2.0.8/binaries-manifest-tool-2.0.8.tar.gz | ||
mkdir manifest-tool | ||
tar -xvzf binaries-manifest-tool-2.0.8.tar.gz -C manifest-tool | ||
sudo mv manifest-tool/manifest-tool-linux-arm64 /usr/local/bin/manifest-tool | ||
manifest-tool -v | ||
- run: | ||
name: "Push docker image : make push-<< parameters.target-version-variant >>" | ||
command: | | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.