Skip to content

Commit 411aa9b

Browse files
committed
fixes ..
1 parent 47c76c7 commit 411aa9b

File tree

18 files changed

+98
-62
lines changed

18 files changed

+98
-62
lines changed

.circleci/config.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ version: 2.1
55

66
orbs:
77
# https://circleci.com/developer/orbs/orb/circleci/docker
8-
docker: circleci/docker@2.2.0
8+
docker: circleci/docker@2.4.0
9+
# https://circleci.com/developer/orbs/orb/circleci/python
10+
python: circleci/python@2.1.1
11+
912

1013
jobs:
1114
build-arm64:
@@ -24,6 +27,15 @@ jobs:
2427
- run: uname -a
2528
- run: docker --version
2629
- run: docker info
30+
- run:
31+
name: Install manifest-tool (linux-arm64 )
32+
command: |
33+
wget https://github.com/estesp/manifest-tool/releases/download/v2.0.8/binaries-manifest-tool-2.0.8.tar.gz
34+
mkdir manifest-tool
35+
tar -xvzf binaries-manifest-tool-2.0.8.tar.gz -C manifest-tool
36+
sudo mv manifest-tool/manifest-tool-linux-arm64 /usr/local/bin/manifest-tool
37+
manifest-tool -v
38+
- run: pip3 install lastversion
2739
- run: source tools/environment_init.sh
2840
- run: make check_version
2941
- docker/check:
@@ -36,7 +48,10 @@ jobs:
3648
command: |
3749
# Check if the current branch is 'master' and the weekly image is not extis
3850
# If weekly image exists, skip docker build and push
39-
if [ "$CIRCLE_BRANCH" == "master" ] && check_image_exists "${{ matrix.version }}-${{ matrix.variant }}$(IMAGE_VERSION_ID)"; then
51+
source tools/environment_init.sh
52+
echo "check: << parameters.target-version-variant >>${IMAGE_VERSION_ID}"
53+
check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}" || true
54+
if [ "$CIRCLE_BRANCH" == "master" ] && check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}"; then
4055
circleci-agent step halt
4156
fi
4257
@@ -53,15 +68,6 @@ jobs:
5368
circleci-agent step halt
5469
fi
5570
56-
- run:
57-
name: Install manifest-tool (linux-arm64 )
58-
command: |
59-
wget https://github.com/estesp/manifest-tool/releases/download/v2.0.8/binaries-manifest-tool-2.0.8.tar.gz
60-
mkdir manifest-tool
61-
tar -xvzf binaries-manifest-tool-2.0.8.tar.gz -C manifest-tool
62-
sudo mv manifest-tool/manifest-tool-linux-arm64 /usr/local/bin/manifest-tool
63-
manifest-tool -v
64-
6571
- run:
6672
name: "Push docker image : make push-<< parameters.target-version-variant >>"
6773
command: |

.github/workflows/localtest.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,13 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- run: docker ps -a
16+
- name: Install manifest-tool
17+
run: |
18+
wget https://github.com/estesp/manifest-tool/releases/download/v2.0.8/binaries-manifest-tool-2.0.8.tar.gz
19+
mkdir manifest-tool
20+
tar -xvzf binaries-manifest-tool-2.0.8.tar.gz -C manifest-tool
21+
sudo mv manifest-tool/manifest-tool-linux-amd64 /usr/local/bin/manifest-tool
22+
manifest-tool -v
23+
- run: pip install lastversion
1624
- run: ./localtest.sh
1725
- run: docker images

.github/workflows/main.yml

Lines changed: 13 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11-3.3/alpine3.18/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

12-3.4/alpine3.18/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

13-3.4/alpine3.18/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

14-3.4/alpine3.18/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

15-3.4/alpine3.18/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

15-master/bookworm/Dockerfile

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

15-recentstack/bookworm/Dockerfile

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)