Commit d7ad3461 authored by EKbfh's avatar EKbfh 🐼
Browse files

ADd parallel buulds

parent 7f7b3aed
Pipeline #36128 canceled with stage
in 11 minutes and 6 seconds
...@@ -3,8 +3,12 @@ stages: ...@@ -3,8 +3,12 @@ stages:
- compile - compile
- upload - upload
.parallel:
parallel:
matrix:
- PYTHON_VERSION_3: [ "3.8.13", "3.9.12", "3.10.4" ]
variables: variables:
PYTHON_VERSION_3: "3.9.8"
S3_BASE: https://s3.getnoc.com S3_BASE: https://s3.getnoc.com
S3_BUCKET: $CI_PROJECT_NAMESPACE S3_BUCKET: $CI_PROJECT_NAMESPACE
COMPILE_FLAGS_DEB: "--with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions" COMPILE_FLAGS_DEB: "--with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions"
...@@ -31,6 +35,7 @@ compile_RedHat: ...@@ -31,6 +35,7 @@ compile_RedHat:
- tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3}.tar.gz" -C /opt/python$PYTHON_VERSION_3/ . - tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3}.tar.gz" -C /opt/python$PYTHON_VERSION_3/ .
.base_compile: .base_compile:
extends: .parallel
stage: compile stage: compile
image: debian:10 image: debian:10
script: script:
...@@ -83,6 +88,7 @@ compile_Ubuntu_20: ...@@ -83,6 +88,7 @@ compile_Ubuntu_20:
image: ubuntu:20.04 image: ubuntu:20.04
.base_upload: .base_upload:
extends: .parallel
stage: upload stage: upload
image: registry.getnoc.com/infrastructure/s3helper:master image: registry.getnoc.com/infrastructure/s3helper:master
before_script: before_script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment