Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zombienet-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
zombienet-sdk
Commits
4133e779
Unverified
Commit
4133e779
authored
1 day ago
by
Javier Viola
Committed by
GitHub
1 day ago
Browse files
Options
Downloads
Patches
Plain Diff
[CI] use our init image to get the bins (#312)
Fix `ci` issues where we get error download bins from gh.
parent
11223d73
Branches
Branches containing commit
No related merge requests found
Pipeline
#519122
passed with stage
in 23 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
crates/provider/src/kubernetes/pod_spec_builder.rs
+1
-1
1 addition, 1 deletion
crates/provider/src/kubernetes/pod_spec_builder.rs
crates/provider/src/shared/scripts/helper-binaries-downloader.sh
+17
-5
17 additions, 5 deletions
...provider/src/shared/scripts/helper-binaries-downloader.sh
with
18 additions
and
6 deletions
crates/provider/src/kubernetes/pod_spec_builder.rs
+
1
−
1
View file @
4133e779
...
...
@@ -73,7 +73,7 @@ impl PodSpecBuilder {
fn
build_helper_binaries_setup_container
()
->
Container
{
Container
{
name
:
"helper-binaries-setup"
.to_string
(),
image
:
Some
(
"
docker.io
/alpine:latest"
.to_string
()),
image
:
Some
(
"
europe-west3-docker.pkg.dev/parity-zombienet/zombienet-public-images
/alpine:latest"
.to_string
()),
image_pull_policy
:
Some
(
"IfNotPresent"
.to_string
()),
volume_mounts
:
Some
(
Self
::
build_volume_mounts
(
vec!
[
VolumeMount
{
name
:
"helper-binaries-downloader-volume"
.to_string
(),
...
...
This diff is collapsed.
Click to expand it.
crates/provider/src/shared/scripts/helper-binaries-downloader.sh
+
17
−
5
View file @
4133e779
...
...
@@ -9,14 +9,26 @@ log() {
# where some node files are stored
OUTDIR
=
$(
[
-d
/helpers
]
&&
echo
"/helpers"
||
echo
"/cfg"
)
wget github.com/moparisthebest/static-curl/releases/download/v7.83.1/curl-amd64
-O
"
$OUTDIR
/curl"
log
"curl downloaded"
# Allow to use our image and just cp'd the binaries.
if
[
-f
/tmp/curl
]
;
then
cp
/tmp/curl
$OUTDIR
/curl
log
"curl copied"
else
wget github.com/moparisthebest/static-curl/releases/download/v7.83.1/curl-amd64
-O
"
$OUTDIR
/curl"
log
"curl downloaded"
fi
;
chmod
+x
"
$OUTDIR
/curl"
log
"curl chmoded"
wget
-qO-
github.com/uutils/coreutils/releases/download/0.0.17/coreutils-0.0.17-x86_64-unknown-linux-musl.tar.gz |
tar
-xz
-C
$OUTDIR
--strip-components
=
1 coreutils-0.0.17-x86_64-unknown-linux-musl/coreutils
log
"coreutils downloaded"
if
[
-f
/tmp/coreutils
]
;
then
cp
/tmp/coreutils
$OUTDIR
/coreutils
log
"coreutils copied"
else
wget
-qO-
github.com/uutils/coreutils/releases/download/0.0.17/coreutils-0.0.17-x86_64-unknown-linux-musl.tar.gz |
tar
-xz
-C
$OUTDIR
--strip-components
=
1 coreutils-0.0.17-x86_64-unknown-linux-musl/coreutils
log
"coreutils downloaded"
fi
;
chmod
+x
"
$OUTDIR
/coreutils"
log
"coreutils chmoded"
\ No newline at end of file
log
"coreutils chmoded"
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment