Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pynspect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
713
Mentat
Pynspect
Commits
b935bbc4
Commit
b935bbc4
authored
2 years ago
by
Rajmund Hruška
Browse files
Options
Downloads
Patches
Plain Diff
Update pynspect/__init__.py, README.rst, .gitlab-ci.yml
parent
f1274ada
Branches
devel
Branches containing commit
No related tags found
1 merge request
!17
Update pynspect/__init__.py, README.rst, .gitlab-ci.yml
Pipeline
#2639
passed
2 years ago
Stage: test
Stage: check-warnings
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+10
-9
10 additions, 9 deletions
.gitlab-ci.yml
README.rst
+7
-0
7 additions, 0 deletions
README.rst
pynspect/__init__.py
+1
-1
1 addition, 1 deletion
pynspect/__init__.py
with
18 additions
and
10 deletions
.gitlab-ci.yml
+
10
−
9
View file @
b935bbc4
...
...
@@ -151,16 +151,17 @@ twine-job:
pages
:
stage
:
deploy
script
:
-
make docs
-
curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/devel/download?job=pages" -o devel.zip
-
curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=pages" -o master.zip
-
unzip -n '*.zip' ||
true
# Ignore not existing zipfiles
-
mkdir -p public/"$CI_COMMIT_BRANCH"
-
mkdir -p public/"$CI_COMMIT_BRANCH"/files
-
cp -rf doc/_build/html public/"$CI_COMMIT_BRANCH"
-
cp -rf dist/* public/"$CI_COMMIT_BRANCH"/files/.
-
make docs
# Create documentation
-
curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/devel/download?job=pages" -o devel.zip
# Download docs and files from devel branch
-
curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=pages" -o master.zip
# Download docs and files from master branch
-
unzip -n '*.zip' ||
true
# Unzip and ignore not existing zipfiles
-
mkdir -p public/"$CI_COMMIT_BRANCH"
# Create directory for docs if it doesn't exist
-
mkdir -p public/"$CI_COMMIT_BRANCH"/files
# Create directory for files if it doesn't exist
-
cp -rf doc/_build/html public/"$CI_COMMIT_BRANCH"
# Copy docs to shared folder
-
cp -rf dist/* public/"$CI_COMMIT_BRANCH"/files/.
# Copy files to shared folder
-
'
if
[
"$BACKUP_ZIPFILE_URL"
!=
null
];
then
curl
"$BACKUP_ZIPFILE_URL"
--output
backup.zip;
unzip
-n
backup.zip;
fi'
# Download backup files
-
cd public/"$CI_COMMIT_BRANCH"/files
-
echo "<html><body><h1>Directory listing:</h1>" > ./index.html
-
echo "<html><body><h1>Directory listing:</h1>" > ./index.html
# Create directory listing
-
find -exec echo "<a href='{}'>{}</a><br/>" \; | sort >> ./index.html
-
echo "</body></html>" >> ./index.html
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
README.rst
+
7
−
0
View file @
b935bbc4
...
...
@@ -62,6 +62,13 @@ Changelog
--------------------------------------------------------------------------------
Version 0.22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Released 2022-11-02
- Allowed adding files from previous versions using Gitlab CI/CD.
Version 0.21
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
...
This diff is collapsed.
Click to expand it.
pynspect/__init__.py
+
1
−
1
View file @
b935bbc4
...
...
@@ -16,4 +16,4 @@ data structures.
"""
__version__
=
"
0.2
1
"
__version__
=
"
0.2
2
"
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