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
89c86d63
Commit
89c86d63
authored
3 years ago
by
Alexander Samusev
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ci] remove publish-s3-release (#4779)
parent
f4ec9b03
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
polkadot/.gitlab-ci.yml
+0
-47
0 additions, 47 deletions
polkadot/.gitlab-ci.yml
with
0 additions
and
47 deletions
polkadot/.gitlab-ci.yml
+
0
−
47
View file @
89c86d63
...
...
@@ -104,12 +104,6 @@ default:
#### Vault secrets
.vault-secrets
:
&vault-secrets
secrets
:
AWS_ACCESS_KEY_ID
:
vault
:
cicd/gitlab/$CI_PROJECT_PATH/AWS_ACCESS_KEY_ID@kv
file
:
false
AWS_SECRET_ACCESS_KEY
:
vault
:
cicd/gitlab/$CI_PROJECT_PATH/AWS_SECRET_ACCESS_KEY@kv
file
:
false
GITHUB_PR_TOKEN
:
vault
:
cicd/gitlab/parity/GITHUB_PR_TOKEN@kv
file
:
false
...
...
@@ -504,47 +498,6 @@ update_westend_weights:
#### stage: publish
publish-s3-release
:
&publish-s3
stage
:
publish
needs
:
-
job
:
test-build-linux-stable
artifacts
:
true
<<
:
*kubernetes-env
<<
:
*vault-secrets
image
:
paritytech/awscli:latest
variables
:
GIT_STRATEGY
:
none
PREFIX
:
"
builds/polkadot/${ARCH}-${DOCKER_OS}"
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "pipeline"
when
:
never
# publishing binaries nightly
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
before_script
:
-
*check-versions
script
:
-
echo "uploading objects to https://releases.parity.io/${PREFIX}/${VERSION}"
-
aws s3 sync --acl public-read ./artifacts/ s3://${AWS_BUCKET}/${PREFIX}/${VERSION}/
-
echo "update objects at https://releases.parity.io/${PREFIX}/${EXTRATAG}"
-
find ./artifacts -type f | while read file; do
name="${file#./artifacts/}";
aws s3api copy-object
--copy-source ${AWS_BUCKET}/${PREFIX}/${VERSION}/${name}
--bucket ${AWS_BUCKET} --key ${PREFIX}/${EXTRATAG}/${name};
done
-
|
cat <<-EOM
|
| polkadot binary paths:
|
| - https://releases.parity.io/${PREFIX}/${EXTRATAG}/polkadot
| - https://releases.parity.io/${PREFIX}/${VERSION}/polkadot
|
EOM
after_script
:
-
aws s3 ls s3://${AWS_BUCKET}/${PREFIX}/${EXTRATAG}/
--recursive --human-readable --summarize
publish-rustdoc
:
stage
:
publish
<<
:
*kubernetes-env
...
...
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