Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
pymor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
pyMOR
pymor
Commits
1b934245
Unverified
Commit
1b934245
authored
Dec 03, 2020
by
René Fritze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci] pre-fix the not-executed pypi deploy script
parent
692cacda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
.ci/gitlab/ci.yml
.ci/gitlab/ci.yml
+3
-0
.ci/gitlab/pypi_deploy.bash
.ci/gitlab/pypi_deploy.bash
+4
-1
.ci/gitlab/template.ci.py
.ci/gitlab/template.ci.py
+3
-0
No files found.
.ci/gitlab/ci.yml
View file @
1b934245
...
...
@@ -1008,6 +1008,9 @@ pypi:
-
${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*manylinux*whl
expire_in
:
6 months
name
:
pymor-wheels
before_script
:
-
apk add py3-pip
-
pip3 install twine
script
:
-
${CI_PROJECT_DIR}/.ci/gitlab/pypi_deploy.bash
environment
:
...
...
.ci/gitlab/pypi_deploy.bash
View file @
1b934245
#!/bin/bash
set
-e
mkdir
${
CI_PROJECT_DIR
}
/
${
ARCHIVE_DIR
}
&&
mv
${
CI_PROJECT_DIR
}
/shared/
*
whl
${
CI_PROJECT_DIR
}
/
${
ARCHIVE_DIR
}
cd
${
CI_PROJECT_DIR
}
python setup.py sdist
-d
${
ARCHIVE_DIR
}
--format
=
gztar
python
3
setup.py sdist
-d
${
ARCHIVE_DIR
}
--format
=
gztar
if
[[
"x
${
CI_COMMIT_TAG
}
"
==
"x"
]]
;
then
TWINE_REPOSITORY
=
testpypi
...
...
@@ -15,4 +17,5 @@ else
TWINE_PASSWORD
=
${
PYPI_USER
}
fi
export
TWINE_NON_INTERACTIVE
=
1
# disabled. See https://github.com/pymor/pymor/issues/551
#twine upload --verbose ${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*.whl ${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*tar.gz
.ci/gitlab/template.ci.py
View file @
1b934245
...
...
@@ -334,6 +334,9 @@ pypi:
- ${CI_PROJECT_DIR}/${ARCHIVE_DIR}/pymor*manylinux*whl
expire_in: 6 months
name: pymor-wheels
before_script:
- apk add py3-pip
- pip3 install twine
script:
- ${CI_PROJECT_DIR}/.ci/gitlab/pypi_deploy.bash
environment:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment