Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
0f505846
"...ssh:/git@developer.sourcefind.cn:2222/OpenDAS/dynamo.git" did not exist on "a6e7348400a331d08e7b843d0eb886d91134a272"
Unverified
Commit
0f505846
authored
Mar 19, 2026
by
Ran Rubin
Committed by
GitHub
Mar 19, 2026
Browse files
ci(bugfix): refresh builders addresses between builds (#7522)
parent
680c4f6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
10 deletions
+30
-10
.github/actions/build-flavor/action.yml
.github/actions/build-flavor/action.yml
+8
-0
.github/actions/compliance-scan/action.yml
.github/actions/compliance-scan/action.yml
+22
-10
No files found.
.github/actions/build-flavor/action.yml
View file @
0f505846
...
@@ -221,6 +221,14 @@ runs:
...
@@ -221,6 +221,14 @@ runs:
extra_build_args
:
|
extra_build_args
:
|
DYNAMO_COMMIT_SHA=${{ github.sha }}
DYNAMO_COMMIT_SHA=${{ github.sha }}
${{ inputs.extra_build_args }}
${{ inputs.extra_build_args }}
-
name
:
Refresh BuildKit builder
if
:
${{ inputs.target != 'dev' }}
uses
:
./.github/actions/builder-refresher
with
:
builder_name
:
${{ inputs.builder_name }}
flavor
:
${{ inputs.framework }}
arch
:
${{ inputs.platform }}
cuda_version
:
${{ inputs.cuda_version }}
-
name
:
Build and Push Test Image
-
name
:
Build and Push Test Image
if
:
${{ inputs.target != 'dev' }}
if
:
${{ inputs.target != 'dev' }}
shell
:
bash
shell
:
bash
...
...
.github/actions/compliance-scan/action.yml
View file @
0f505846
...
@@ -39,19 +39,17 @@ inputs:
...
@@ -39,19 +39,17 @@ inputs:
runs
:
runs
:
using
:
"
composite"
using
:
"
composite"
steps
:
steps
:
-
name
:
Initialize builder
uses
:
./.github/actions/init-dynamo-builder
with
:
builder_name
:
compliance-${{ github.run_id }}-${{ github.run_attempt }}
flavor
:
general
arch
:
${{ inputs.arch }}
-
name
:
Set up Python
-
name
:
Set up Python
uses
:
actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
# v6.2.0
uses
:
actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
# v6.2.0
with
:
with
:
python-version
:
'
3.12'
python-version
:
'
3.12'
pip-install
:
pyyaml
pip-install
:
pyyaml
-
name
:
Set builder name
id
:
builder
shell
:
bash
run
:
echo "name=compliance-${{ github.run_id }}-${{ github.run_attempt }}" >> $GITHUB_OUTPUT
-
name
:
Resolve base image
-
name
:
Resolve base image
id
:
resolve-base
id
:
resolve-base
shell
:
bash
shell
:
bash
...
@@ -67,13 +65,19 @@ runs:
...
@@ -67,13 +65,19 @@ runs:
BASE_IMAGE=$(python3 container/compliance/resolve_base_image.py ${RESOLVE_ARGS})
BASE_IMAGE=$(python3 container/compliance/resolve_base_image.py ${RESOLVE_ARGS})
fi
fi
echo "base_image=${BASE_IMAGE}" >> $GITHUB_OUTPUT
echo "base_image=${BASE_IMAGE}" >> $GITHUB_OUTPUT
-
name
:
Initialize builder
uses
:
./.github/actions/init-dynamo-builder
with
:
builder_name
:
${{ steps.builder.outputs.name }}
flavor
:
general
arch
:
${{ inputs.arch }}
-
name
:
Extract target image packages
-
name
:
Extract target image packages
shell
:
bash
shell
:
bash
run
:
|
run
:
|
mkdir -p /tmp/compliance-target
mkdir -p /tmp/compliance-target
docker buildx build \
docker buildx build \
--builder
compliance-${{ github.run_id }}-${{ github.run_attempt
}} \
--builder
${{ steps.builder.outputs.name
}} \
--platform linux/${{ inputs.arch }} \
--platform linux/${{ inputs.arch }} \
--build-arg TARGET_IMAGE="${{ inputs.image }}" \
--build-arg TARGET_IMAGE="${{ inputs.image }}" \
--output "type=local,dest=/tmp/compliance-target" \
--output "type=local,dest=/tmp/compliance-target" \
...
@@ -83,13 +87,21 @@ runs:
...
@@ -83,13 +87,21 @@ runs:
-f container/compliance/Dockerfile.extract \
-f container/compliance/Dockerfile.extract \
container/compliance/
container/compliance/
-
name
:
Refresh BuildKit builder
if
:
${{ inputs.target != 'dev' }}
uses
:
./.github/actions/builder-refresher
with
:
builder_name
:
${{ steps.builder.outputs.name }}
flavor
:
general
arch
:
${{ inputs.arch }}
-
name
:
Extract base image packages
-
name
:
Extract base image packages
if
:
steps.resolve-base.outputs.base_image != ''
if
:
steps.resolve-base.outputs.base_image != ''
shell
:
bash
shell
:
bash
run
:
|
run
:
|
mkdir -p /tmp/compliance-base
mkdir -p /tmp/compliance-base
docker buildx build \
docker buildx build \
--builder
compliance-${{ github.run_id }}-${{ github.run_attempt
}} \
--builder
${{ steps.builder.outputs.name
}} \
--platform linux/${{ inputs.arch }} \
--platform linux/${{ inputs.arch }} \
--build-arg TARGET_IMAGE="${{ steps.resolve-base.outputs.base_image }}" \
--build-arg TARGET_IMAGE="${{ steps.resolve-base.outputs.base_image }}" \
--output "type=local,dest=/tmp/compliance-base" \
--output "type=local,dest=/tmp/compliance-base" \
...
@@ -120,4 +132,4 @@ runs:
...
@@ -120,4 +132,4 @@ runs:
if
:
always()
if
:
always()
shell
:
bash
shell
:
bash
run
:
|
run
:
|
docker buildx rm
compliance-${{ github.run_id }}-${{ github.run_attempt
}} || true
docker buildx rm
${{ steps.builder.outputs.name
}} || true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment