Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-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
polkadot-sdk
Commits
8a49af27
Commit
8a49af27
authored
2 years ago
by
Alexander Samusev
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ci] fix publish-docker-substrate job (#11218)
parent
ca658002
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
substrate/.gitlab-ci.yml
+18
-30
18 additions, 30 deletions
substrate/.gitlab-ci.yml
with
18 additions
and
30 deletions
substrate/.gitlab-ci.yml
+
18
−
30
View file @
8a49af27
...
...
@@ -41,6 +41,13 @@ variables: &default-vars
CI_IMAGE
:
"
paritytech/ci-linux:production"
default
:
retry
:
max
:
2
when
:
-
runner_system_failure
-
unknown_failure
-
api_failure
interruptible
:
true
cache
:
{}
.collect-artifacts
:
&collect-artifacts
...
...
@@ -60,13 +67,6 @@ default:
-
artifacts/
.kubernetes-env
:
&kubernetes-env
retry
:
max
:
2
when
:
-
runner_system_failure
-
unknown_failure
-
api_failure
interruptible
:
true
tags
:
-
kubernetes-parity-build
...
...
@@ -81,13 +81,6 @@ default:
image
:
"
${CI_IMAGE}"
before_script
:
-
*rust-info-script
retry
:
max
:
2
when
:
-
runner_system_failure
-
unknown_failure
-
api_failure
interruptible
:
true
tags
:
-
linux-docker
...
...
@@ -170,21 +163,6 @@ default:
|
tee
./artifacts/benches/$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA/::trie::read::small.json'
-
sccache -s
.build-linux-substrate-script
:
&build-linux-substrate-script
-
WASM_BUILD_NO_COLOR=1 time cargo build --release --verbose
-
mv ./target/release/substrate ./artifacts/substrate/.
-
echo -n "Substrate version = "
-
if [ "${CI_COMMIT_TAG}" ]; then
echo "${CI_COMMIT_TAG}" | tee ./artifacts/substrate/VERSION;
else
./artifacts/substrate/substrate --version |
sed -n -E 's/^substrate ([0-9.]+.*-[0-9a-f]{7,13})-.*$/\1/p' |
tee ./artifacts/substrate/VERSION;
fi
-
sha256sum ./artifacts/substrate/substrate | tee ./artifacts/substrate/substrate.sha256
-
cp -r ./scripts/ci/docker/substrate.Dockerfile ./artifacts/substrate/
-
sccache -s
#### stage: .pre
...
...
@@ -525,7 +503,17 @@ build-linux-substrate:
before_script
:
-
mkdir -p ./artifacts/substrate/
script
:
-
*build-linux-substrate-script
-
WASM_BUILD_NO_COLOR=1 time cargo build --release --verbose
-
mv ./target/release/substrate ./artifacts/substrate/.
-
echo -n "Substrate version = "
-
if [ "${CI_COMMIT_TAG}" ]; then
echo "${CI_COMMIT_TAG}" | tee ./artifacts/substrate/VERSION;
else
./artifacts/substrate/substrate --version |
cut -d ' ' -f 2 | tee ./artifacts/substrate/VERSION;
fi
-
sha256sum ./artifacts/substrate/substrate | tee ./artifacts/substrate/substrate.sha256
-
cp -r ./scripts/ci/docker/substrate.Dockerfile ./artifacts/substrate/
-
printf '\n# building node-template\n\n'
-
./scripts/ci/node-template-release.sh ./artifacts/substrate/substrate-node-template.tar.gz
...
...
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