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
7c1d1268
Commit
7c1d1268
authored
6 years ago
by
gabriel klawitter
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix VERSION transport between stages (#1888)
parent
bc15fa31
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
+8
-3
8 additions, 3 deletions
substrate/.gitlab-ci.yml
with
8 additions
and
3 deletions
substrate/.gitlab-ci.yml
+
8
−
3
View file @
7c1d1268
...
...
@@ -189,6 +189,8 @@ publish:docker:release:
image
:
docker:stable
services
:
-
docker:dind
# collect VERSION artifact here to pass it on to kubernetes
<<
:
*collect_artifacts
variables
:
DOCKER_HOST
:
tcp://localhost:2375
DOCKER_DRIVER
:
overlay2
...
...
@@ -207,7 +209,8 @@ publish:docker:release:
-
docker push $CONTAINER_IMAGE:latest
after_script
:
-
docker logout
# only VERSION information is needed for the deployment
-
find ./artifacts/ -depth -not -name VERSION -not -name artifacts -delete
...
...
@@ -267,6 +270,8 @@ publish:s3:doc:
stage
:
deploy
when
:
manual
cache
:
{}
dependencies
:
-
publish:docker:release
retry
:
1
image
:
parity/kubectl-helm:$HELM_VERSION
<<
:
*build_only
...
...
@@ -276,8 +281,8 @@ publish:s3:doc:
-
kubernetes-parity-build
before_script
:
-
test -z "${DEPLOY_TAG}" &&
test -f ./
t
ar
get/release
/VERSION &&
DEPLOY_TAG="$(cat ./
t
ar
get/release
/VERSION)"
test -f ./ar
tifacts
/VERSION &&
DEPLOY_TAG="$(cat ./ar
tifacts
/VERSION)"
-
test "${DEPLOY_TAG}" || ( echo "Neither DEPLOY_TAG nor VERSION information available"; exit 1 )
script
:
-
echo "Substrate version = ${DEPLOY_TAG}"
...
...
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