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

Change for checksums work

parent e61824b8
Pipeline #24178 failed
......@@ -77,74 +77,60 @@ compile_RedHat:
- /opt/python$PYTHON_VERSION_3_8/bin/python3 -V || true
- tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" -C /opt/python$PYTHON_VERSION_3_8/ .
upload_RedHat:
.base_upload:
stage: upload
image: registry.getnoc.com/infrastructure/s3helper:master
before_script:
- sha1sum python${PYTHON_VERSION_3_8}.tar.gz > python${PYTHON_VERSION_3_8}.tar.gz_SHA1SUMS
script:
- /tmp/mc -q cp python${PYTHON_VERSION_3_8}.* cdn/$S3_BUCKET/repo/RedHat/7/
tags:
- docker
upload_RedHat:
extends: .base_compile
script:
- ls -al
- /tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/RedHat/7/
needs:
- job: compile_RedHat
artifacts: true
tags:
- docker
upload_Debian10:
stage: upload
image: registry.getnoc.com/infrastructure/s3helper:master
extends: .base_compile
script:
- ls -al
- /tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/Debian/10/
needs:
- job: compile_Debian_10
artifacts: true
tags:
- docker
upload_Debian9:
stage: upload
image: registry.getnoc.com/infrastructure/s3helper:master
extends: .base_compile
script:
- ls -al
- /tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/Debian/9/
needs:
- job: compile_Debian_9
artifacts: true
tags:
- docker
upload_Ubuntu16:
stage: upload
image: registry.getnoc.com/infrastructure/s3helper:master
extends: .base_compile
script:
- ls -al
- /tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/Debian/16/
needs:
- job: compile_Ubuntu_16
artifacts: true
tags:
- docker
upload_Ubuntu18:
stage: upload
image: registry.getnoc.com/infrastructure/s3helper:master
extends: .base_compile
script:
- ls -al
- /tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/Debian/18/
needs:
- job: compile_Ubuntu_18
artifacts: true
tags:
- docker
upload_Ubuntu20:
stage: upload
image: registry.getnoc.com/infrastructure/s3helper:master
extends: .base_compile
script:
- ls -al
- /tmp/mc -q cp python${PYTHON_VERSION_3_8}.tar.gz cdn/$S3_BUCKET/repo/Debian/20/
needs:
- job: compile_Ubuntu_20
artifacts: true
tags:
- docker
\ No newline at end of file
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