Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
3e93e983
Verified
Commit
3e93e983
authored
1 year ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Fixed pipeline for releasing lib
parent
0fff43ed
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-5
4 additions, 5 deletions
.gitlab-ci.yml
lib/python/release.sh
+1
-1
1 addition, 1 deletion
lib/python/release.sh
with
5 additions
and
6 deletions
.gitlab-ci.yml
+
4
−
5
View file @
3e93e983
...
@@ -587,9 +587,8 @@ release-libs:
...
@@ -587,9 +587,8 @@ release-libs:
variables
:
variables
:
PIPENV_PIPFILE
:
"
./dbrepo-analyse-service/Pipfile"
PIPENV_PIPFILE
:
"
./dbrepo-analyse-service/Pipfile"
script
:
script
:
-
apk add sed
-
apk add sed
bash
-
pip install pipenv
-
pip install pipenv
twine build
-
pipenv install gunicorn && pipenv install --dev --system --deploy
-
pipenv install gunicorn && pipenv install --dev --system --deploy
-
pip install twine build
-
bash ./lib/python/package.sh
-
./lib/python/package.sh
-
bash ./lib/python/release.sh
-
./lib/python/release.sh
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/python/release.sh
+
1
−
1
View file @
3e93e983
#!/bin/bash
#!/bin/bash
cat
${
CI_PIPYRC
}
|
base64
-d
>
.pypirc
echo
"
${
CI_PIPYRC
}
"
|
base64
-d
>
.pypirc
python
-m
twine upload
--config-file
.pypirc
--verbose
--repository
pypi ./lib/python/dist/dbrepo-
*
python
-m
twine upload
--config-file
.pypirc
--verbose
--repository
pypi ./lib/python/dist/dbrepo-
*
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