Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Yohann Bearzi (Kitware)
VTK
Commits
928aea69
Commit
928aea69
authored
2 years ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci: split out doc uploads to reuse the rsync template
parent
da2482f7
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+121
-1
121 additions, 1 deletion
.gitlab-ci.yml
.gitlab/ci/prepare-release-env.sh
+17
-0
17 additions, 0 deletions
.gitlab/ci/prepare-release-env.sh
.gitlab/rules.yml
+6
-0
6 additions, 0 deletions
.gitlab/rules.yml
.gitlab/upload.yml
+15
-3
15 additions, 3 deletions
.gitlab/upload.yml
with
159 additions
and
4 deletions
.gitlab-ci.yml
+
121
−
1
View file @
928aea69
...
...
@@ -1061,7 +1061,7 @@ documentation:build:
documentation:upload
:
extends
:
-
.rsync_upload
-
.rsync_upload
_docs
-
.upload_only
dependencies
:
-
documentation:build
...
...
@@ -1087,6 +1087,126 @@ documentation:release-prep:
needs
:
-
documentation:build
release-artifacts:upload
:
extends
:
-
.rsync_upload_release_artifacts
-
.release_only
dependencies
:
-
source:build
-
documentation:release-prep
-
wheel-linux-python36-x86_64:build
-
wheel-linux-python36-x86_64-osmesa:build
-
wheel-linux-python37-x86_64:build
-
wheel-linux-python37-x86_64-osmesa:build
-
wheel-linux-python38-x86_64:build
-
wheel-linux-python38-x86_64-osmesa:build
-
wheel-linux-python39-x86_64:build
-
wheel-linux-python39-x86_64-osmesa:build
-
wheel-linux-python310-x86_64:build
-
wheel-linux-python310-x86_64-osmesa:build
-
wheel-linux-python311-x86_64:build
-
wheel-linux-python311-x86_64-osmesa:build
-
wheel-macos-python36-x86_64:build
-
wheel-macos-python37-x86_64:build
-
wheel-macos-python38-x86_64:build
-
wheel-macos-python39-arm64:build
-
wheel-macos-python39-x86_64:build
-
wheel-macos-python310-arm64:build
-
wheel-macos-python310-x86_64:build
-
wheel-macos-python311-arm64:build
-
wheel-macos-python311-x86_64:build
-
wheel-windows-python36-x86_64:build
-
wheel-windows-python36-x86_64-osmesa:build
-
wheel-windows-python37-x86_64:build
-
wheel-windows-python37-x86_64-osmesa:build
-
wheel-windows-python38-x86_64:build
-
wheel-windows-python38-x86_64-osmesa:build
-
wheel-windows-python39-x86_64:build
-
wheel-windows-python39-x86_64-osmesa:build
-
wheel-windows-python310-x86_64:build
-
wheel-windows-python310-x86_64-osmesa:build
-
wheel-windows-python311-x86_64:build
-
wheel-windows-python311-x86_64-osmesa:build
needs
:
-
source:build
-
documentation:release-prep
-
wheel-linux-python36-x86_64:build
-
wheel-linux-python36-x86_64-osmesa:build
-
wheel-linux-python37-x86_64:build
-
wheel-linux-python37-x86_64:test
-
wheel-linux-python37-x86_64:test-x11
-
wheel-linux-python37-x86_64-osmesa:build
-
wheel-linux-python37-x86_64-osmesa:test
-
wheel-linux-python37-x86_64-osmesa:test-x11
-
wheel-linux-python38-x86_64:build
-
wheel-linux-python38-x86_64:test
-
wheel-linux-python38-x86_64:test-x11
-
wheel-linux-python38-x86_64-osmesa:build
-
wheel-linux-python38-x86_64-osmesa:test
-
wheel-linux-python38-x86_64-osmesa:test-x11
-
wheel-linux-python39-x86_64:build
-
wheel-linux-python39-x86_64:test
-
wheel-linux-python39-x86_64:test-x11
-
wheel-linux-python39-x86_64-osmesa:build
-
wheel-linux-python39-x86_64-osmesa:test
-
wheel-linux-python39-x86_64-osmesa:test-x11
-
wheel-linux-python310-x86_64:build
-
wheel-linux-python310-x86_64:test
-
wheel-linux-python310-x86_64:test-x11
-
wheel-linux-python310-x86_64-osmesa:build
-
wheel-linux-python310-x86_64-osmesa:test
-
wheel-linux-python310-x86_64-osmesa:test-x11
-
wheel-linux-python311-x86_64:build
-
wheel-linux-python311-x86_64:test
-
wheel-linux-python311-x86_64:test-x11
-
wheel-linux-python311-x86_64-osmesa:build
-
wheel-linux-python311-x86_64-osmesa:test
-
wheel-linux-python311-x86_64-osmesa:test-x11
-
wheel-macos-python36-x86_64:build
-
wheel-macos-python36-x86_64:test
-
wheel-macos-python37-x86_64:build
-
wheel-macos-python37-x86_64:test
-
wheel-macos-python38-x86_64:build
-
wheel-macos-python38-x86_64:test
-
wheel-macos-python39-arm64:build
-
wheel-macos-python39-arm64:test
-
wheel-macos-python39-x86_64:build
-
wheel-macos-python39-x86_64:test
-
wheel-macos-python310-arm64:build
-
wheel-macos-python310-arm64:test
-
wheel-macos-python310-x86_64:build
-
wheel-macos-python310-x86_64:test
-
wheel-macos-python311-arm64:build
-
wheel-macos-python311-arm64:test
-
wheel-macos-python311-x86_64:build
-
wheel-macos-python311-x86_64:test
-
wheel-windows-python36-x86_64:build
# - wheel-windows-python36-x86_64:test
-
wheel-windows-python36-x86_64-osmesa:build
# - wheel-windows-python36-x86_64-osmesa:test
-
wheel-windows-python37-x86_64:build
-
wheel-windows-python37-x86_64:test
-
wheel-windows-python37-x86_64-osmesa:build
-
wheel-windows-python37-x86_64-osmesa:test
-
wheel-windows-python38-x86_64:build
-
wheel-windows-python38-x86_64:test
-
wheel-windows-python38-x86_64-osmesa:build
-
wheel-windows-python38-x86_64-osmesa:test
-
wheel-windows-python39-x86_64:build
-
wheel-windows-python39-x86_64:test
-
wheel-windows-python39-x86_64-osmesa:build
-
wheel-windows-python39-x86_64-osmesa:test
-
wheel-windows-python310-x86_64:build
-
wheel-windows-python310-x86_64:test
-
wheel-windows-python310-x86_64-osmesa:build
-
wheel-windows-python310-x86_64-osmesa:test
-
wheel-windows-python311-x86_64:build
-
wheel-windows-python311-x86_64:test
-
wheel-windows-python311-x86_64-osmesa:build
-
wheel-windows-python311-x86_64-osmesa:test
variables
:
RSYNC_SOURCE
:
release/
# macOS
macos-arm64-kits-python-qt:build
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab/ci/prepare-release-env.sh
0 → 100644
+
17
−
0
View file @
928aea69
# Put all files into a single directory.
ls
release/
mv
-v
build/dist/
*
.whl release/
mv
-v
build/
*
-wheel-sdk-
*
.tar.xz release/
# Print the hashes of everything to be uploaded.
sha256sum
release/
*
# Compute the version number for the upload.
major
=
"
$(
sed
-ne
'/set.VTK_MAJOR_VERSION/s/.* \([0-9]*\))/\1/p'
CMake/vtkVersion.cmake
)
"
readonly
major
minor
=
"
$(
sed
-ne
'/set.VTK_MINOR_VERSION/s/.* \([0-9]*\))/\1/p'
CMake/vtkVersion.cmake
)
"
readonly
minor
# Tell the rest of the job about the destination.
RSYNC_DESTINATION
=
"vtk_release/
$major
.
$minor
/"
export
RSYNC_DESTINATION
This diff is collapsed.
Click to expand it.
.gitlab/rules.yml
+
6
−
0
View file @
928aea69
...
...
@@ -37,6 +37,12 @@
when
:
on_success
-
when
:
never
.release_only
:
rules
:
-
if
:
'
$CI_COMMIT_TAG
&&
$CI_PROJECT_PATH
==
"vtk/vtk"'
when
:
on_success
-
when
:
never
.upload_only
:
rules
:
-
if
:
'
$RSYNC_UPLOAD_ENABLE
==
"true"'
...
...
This diff is collapsed.
Click to expand it.
.gitlab/upload.yml
+
15
−
3
View file @
928aea69
...
...
@@ -7,8 +7,6 @@
-
docker
-
linux-x86_64
-
build
environment
:
name
:
rsync-upload
script
:
-
ls build/
...
...
@@ -16,8 +14,13 @@
-
chmod 400 $RSYNC_KEY_PATH
-
ssh-keygen -y -f $RSYNC_KEY_PATH > $RSYNC_KEY_PATH.pub
-
rsync -tv --recursive -e "ssh -i $RSYNC_KEY_PATH -o StrictHostKeyChecking=no" $RSYNC_SOURCE kitware@web.kitware.com:$RSYNC_DESTINATION/
.rsync_upload_docs
:
extends
:
.rsync_upload
environment
:
name
:
rsync-upload-docs
variables
:
RSYNC_KEY_PATH
:
$RSYNC_
BINARY
_KEY
RSYNC_KEY_PATH
:
$RSYNC_
DOCS
_KEY
.rsync_upload_wheel_sdk
:
extends
:
.rsync_upload
...
...
@@ -26,6 +29,15 @@
variables
:
RSYNC_KEY_PATH
:
$RSYNC_WHEEL_SDK_KEY
.rsync_upload_release_artifacts
:
extends
:
.rsync_upload
environment
:
name
:
rsync-upload-release-artifacts
before_script
:
-
. .gitlab/ci/prepare-release-env.sh
variables
:
RSYNC_KEY_PATH
:
$RSYNC_RELEASE_KEY
.pypi_upload
:
image
:
"
fedora:34"
stage
:
upload
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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