Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
python-compile
Commits
296e172d
Commit
296e172d
authored
Jun 11, 2020
by
EKbfh
🐼
Browse files
Remove os postfix
parent
944906ea
Pipeline
#23977
passed with stages
in 17 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
296e172d
...
...
@@ -28,7 +28,7 @@ variables:
-
make -s
-
make install
-
/opt/python$PYTHON_VERSION_3_8/build/bin/python3 -V ||
true
-
tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}
_$CI_JOB_NAME
.tar.gz" /opt/python$PYTHON_VERSION_3_8/build
-
tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" /opt/python$PYTHON_VERSION_3_8/build
artifacts
:
paths
:
-
python*.tar.gz
...
...
@@ -37,12 +37,12 @@ variables:
-
docker
# Debian Family
Debian
:
compile_
Debian
:
extends
:
.base_compile
image
:
debian:10
# RedHat Family
RedHat
:
compile_
RedHat
:
extends
:
.base_compile
image
:
centos:7
script
:
...
...
@@ -58,16 +58,16 @@ RedHat:
-
make -s
-
make install
-
/opt/python$PYTHON_VERSION_3_8/bin/python3 -V ||
true
-
tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}
_$CI_JOB_NAME
.tar.gz" /opt/python$PYTHON_VERSION_3_8/
-
tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" /opt/python$PYTHON_VERSION_3_8/
upload_RedHat
:
stage
:
upload
image
:
registry.getnoc.com/infrastructure/s3helper:master
script
:
-
ls -al
-
/tmp/mc -q cp python${PYTHON_VERSION_3_8}
_*
.tar.gz cdn/$S3_BUCKET/repo/RedHat/
-
/tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/RedHat/
needs
:
-
job
:
RedHat
-
job
:
compile_
RedHat
artifacts
:
true
tags
:
-
docker
...
...
@@ -77,9 +77,9 @@ upload_Debian:
image
:
registry.getnoc.com/infrastructure/s3helper:master
script
:
-
ls -al
-
/tmp/mc -q cp python${PYTHON_VERSION_3_8}
_*
.tar.gz cdn/$S3_BUCKET/repo/Debian/
-
/tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/Debian/
needs
:
-
job
:
Debian
-
job
:
compile_
Debian
artifacts
:
true
tags
:
-
docker
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment