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
f5640ed5
Commit
f5640ed5
authored
5 years ago
by
Denis_P
Committed by
Gavin Wood
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
show rust version (#269)
* new image, show rust version * show rust version, fix metadata
parent
32f95197
Branches
gh-readonly-queue/master/pr-7585-f7e98b40cab7475898c99ea48809635ac069af3a
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
polkadot/.gitlab-ci.yml
+17
-21
17 additions, 21 deletions
polkadot/.gitlab-ci.yml
polkadot/scripts/docker/Dockerfile
+1
-1
1 addition, 1 deletion
polkadot/scripts/docker/Dockerfile
with
18 additions
and
22 deletions
polkadot/.gitlab-ci.yml
+
17
−
21
View file @
f5640ed5
...
...
@@ -19,22 +19,18 @@ variables:
GIT_STRATEGY
:
fetch
CARGO_HOME
:
"
/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
SCCACHE_DIR
:
"
/ci-cache/${CI_PROJECT_NAME}/sccache"
SCCACHE_CACHE_SIZE
:
50G
CI_SERVER_NAME
:
"
GitLab
CI"
DOCKER_OS
:
"
debian:stretch"
ARCH
:
"
x86_64"
.collect-artifacts
:
&collect-artifacts
artifacts
:
name
:
"
${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when
:
on_success
expire_in
:
7 days
paths
:
-
artifacts/
-
artifacts/
.kubernetes-build
:
&kubernetes-build
tags
:
...
...
@@ -42,6 +38,11 @@ variables:
environment
:
name
:
parity-build
.compiler_info
:
&compiler_info
before_script
:
-
rustup show
-
cargo --version
-
sccache -s
#### stage: merge-test
...
...
@@ -64,6 +65,7 @@ check-merge-conflict:
test-linux-stable
:
&test
stage
:
test
<<
:
*compiler_info
variables
:
RUST_TOOLCHAIN
:
stable
# Enable debug assertions since we are running optimized builds for testing
...
...
@@ -81,37 +83,31 @@ test-linux-stable: &test
except
:
variables
:
-
$DEPLOY_TAG
before_script
:
-
sccache -s
-
./scripts/build.sh
script
:
-
./scripts/build.sh
-
time cargo test --all --release --verbose --locked
-
sccache -s
.build-only
:
&build-only
.build-only
:
&build-only
only
:
-
master
-
tags
-
web
build-linux-release
:
&build
build-linux-release
:
&build
stage
:
build
<<
:
*collect-artifacts
<<
:
*build-only
<<
:
*compiler_info
except
:
variables
:
-
$DEPLOY_TAG
tags
:
-
linux-docker
before_script
:
-
sccache -s
-
./scripts/build.sh
script
:
-
./scripts/build.sh
- time cargo build --release --verbose
- mkdir -p ./artifacts
- mv ./target/release/polkadot ./artifacts/.
...
...
@@ -165,7 +161,7 @@ publish-docker-release:
-
test -z "${VERSION}" && exit
1
-
cd ./artifacts
-
docker build
--build-arg VCS_REF="${CI_COMMIT_
SHORT_
SHA}"
--build-arg VCS_REF="${CI_COMMIT_SHA}"
--build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
--tag $CONTAINER_IMAGE:$VERSION
--tag $CONTAINER_IMAGE:$EXTRATAG .
...
...
@@ -258,22 +254,22 @@ publish-s3-release:
deploy-ew3
:
<<
:
*deploy-cibuild
environment
:
name
:
parity-prod-ew3
name
:
parity-prod-ew3
deploy-ue1
:
<<
:
*deploy-cibuild
environment
:
name
:
parity-prod-ue1
name
:
parity-prod-ue1
deploy-ew3-tag
:
<<
:
*deploy-tag
environment
:
name
:
parity-prod-ew3
name
:
parity-prod-ew3
deploy-ue1-tag
:
<<
:
*deploy-tag
environment
:
name
:
parity-prod-ue1
name
:
parity-prod-ue1
...
...
This diff is collapsed.
Click to expand it.
polkadot/scripts/docker/Dockerfile
+
1
−
1
View file @
f5640ed5
...
...
@@ -8,7 +8,7 @@ LABEL io.parity.image.authors="devops-team@parity.io" \
io.parity.image.vendor="Parity Technologies" \
io.parity.image.title="parity/polkadot" \
io.parity.image.description="polkadot: a platform for web3" \
io.parity.image.source="https://github.com/paritytech/polkadot/blob/
master
/scripts/docker/Dockerfile" \
io.parity.image.source="https://github.com/paritytech/polkadot/blob/
${VCS_REF}
/scripts/docker/Dockerfile" \
io.parity.image.revision="${VCS_REF}" \
io.parity.image.created="${BUILD_DATE}" \
io.parity.image.documentation="https://github.com/paritytech/polkadot/"
...
...
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