Skip to content

Commit 86e9bbb

Browse files
committed
refactoring, updates, ...
1 parent 47c76c7 commit 86e9bbb

File tree

55 files changed

+1675
-1657
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1675
-1657
lines changed

.circleci/config.yml

+25-19
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ version: 2.1
55

66
orbs:
77
# https://circleci.com/developer/orbs/orb/circleci/docker
8-
docker: circleci/[email protected]
8+
docker: circleci/[email protected]
9+
# https://circleci.com/developer/orbs/orb/circleci/python
10+
python: circleci/[email protected]
11+
# https://circleci.com/developer/orbs/orb/circleci/shellcheck
12+
shellcheck: circleci/[email protected]
913

1014
jobs:
1115
build-arm64:
@@ -24,6 +28,15 @@ jobs:
2428
- run: uname -a
2529
- run: docker --version
2630
- run: docker info
31+
- run:
32+
name: Install manifest-tool (linux-arm64 )
33+
command: |
34+
wget https://github.com/estesp/manifest-tool/releases/download/v2.0.8/binaries-manifest-tool-2.0.8.tar.gz
35+
mkdir manifest-tool
36+
tar -xvzf binaries-manifest-tool-2.0.8.tar.gz -C manifest-tool
37+
sudo mv manifest-tool/manifest-tool-linux-arm64 /usr/local/bin/manifest-tool
38+
manifest-tool -v
39+
- run: pip3 install lastversion
2740
- run: source tools/environment_init.sh
2841
- run: make check_version
2942
- docker/check:
@@ -32,11 +45,14 @@ jobs:
3245
docker-password: DOCKERHUB_ACCESS_TOKEN
3346

3447
- run:
35-
name: Conditional Docker Check - Halt if not on master branch or if it's a PR
48+
name: Conditional Docker Check - Halt if not on master branch or if it's a PR or Weekly image exists
3649
command: |
3750
# Check if the current branch is 'master' and the weekly image is not extis
3851
# 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
52+
source tools/environment_init.sh
53+
echo "check: << parameters.target-version-variant >>${IMAGE_VERSION_ID}"
54+
check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}" || true
55+
if [ "$CIRCLE_BRANCH" == "master" ] && check_image_exists "<< parameters.target-version-variant >>${IMAGE_VERSION_ID}"; then
4056
circleci-agent step halt
4157
fi
4258
@@ -53,15 +69,6 @@ jobs:
5369
circleci-agent step halt
5470
fi
5571
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-
6572
- run:
6673
name: "Push docker image : make push-<< parameters.target-version-variant >>"
6774
command: |
@@ -93,24 +100,23 @@ workflows:
93100
"12-3.4-bookworm",
94101
"12-3.4-bullseye",
95102
"13-3.4-alpine3.18",
96-
# --skip-- "13-3.4-bookworm", --> generated with the related bundle job!
103+
"13-3.4-bookworm",
97104
"13-3.4-bullseye",
98-
"13-3.4-bundle-bookworm",
99105
"14-3.4-alpine3.18",
100106
# --skip-- "14-3.4-bookworm", --> generated with the related bundle job!
101107
"14-3.4-bullseye",
102-
"14-3.4-bundle-bookworm",
108+
"14-3.4-bundle0-bookworm",
103109
"15-3.4-alpine3.18",
104110
# --skip-- "15-3.4-bookworm", --> generated with the related bundle job!
105111
"15-3.4-bullseye",
106-
"15-3.4-bundle-bookworm",
112+
"15-3.4-bundle0-bookworm",
107113
"15-master-bookworm",
108-
"15-recentstack-bookworm",
114+
"15-recent-bookworm",
109115
"16-3.4-alpine3.18",
110116
# --skip-- "16-3.4-bookworm", --> generated with the related bundle job!
111117
"16-3.4-bullseye",
112-
"16-3.4-bundle-bookworm",
118+
"16-3.4-bundle0-bookworm",
113119
"16-master-bookworm",
114-
"16-recentstack-bookworm",
120+
"16-recent-bookworm",
115121
#circleci-targets-end
116122
]

.github/workflows/localtest.yml

+8
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

+36-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11-3.3/alpine3.18/Dockerfile

+21-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11-3.3/bookworm/Dockerfile

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11-3.3/bullseye/Dockerfile

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)