Skip to content
Snippets Groups Projects
Commit 42a9b24d authored by MADELA Patrick's avatar MADELA Patrick
Browse files

Try to workaround the artifact size limitation

parent c751c31b
No related branches found
No related tags found
No related merge requests found
Pipeline #1038 passed
......@@ -5,8 +5,8 @@ variables:
stages:
- build
- test
- upload
# - test
# - upload
.build:
stage: build
......@@ -20,22 +20,24 @@ stages:
- make && make install
- cd ${CI_PROJECT_DIR}/${NAME}
- zip -r --symlinks ../${NAME}.zip *
- cd ${CI_PROJECT_DIR}
- ls -al
artifacts:
name: ${NAME}
paths:
- ${NAME}.zip
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${NAME}.zip "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/git/${GIT_VERSION}/"'
# artifacts:
# name: ${NAME}
# paths:
# - ${NAME}.zip
.test:
stage: test
script:
- unzip ${NAME}.zip -d ${NAME}
- ${NAME}/bin/git --version | grep ${GIT_VERSION}
# .test:
# stage: test
# script:
# - unzip ${NAME}.zip -d ${NAME}
# - ${NAME}/bin/git --version | grep ${GIT_VERSION}
.upload:
stage: upload
script:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${NAME}.zip "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fakegit/${GIT_VERSION}/"'
# .upload:
# stage: upload
# script:
# - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${NAME}.zip "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/fakegit/${GIT_VERSION}/"'
linux-el6-x86_64:
extends: [".build"]
......@@ -43,22 +45,22 @@ linux-el6-x86_64:
variables:
NAME: "git-${GIT_VERSION}-linux-el6-x86_64"
test-el6-x86_64:
extends: [".test"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44
variables:
NAME: "git-${GIT_VERSION}-linux-el6-x86_64"
needs:
- linux-el6-x86_64
# test-el6-x86_64:
# extends: [".test"]
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44
# variables:
# NAME: "git-${GIT_VERSION}-linux-el6-x86_64"
# needs:
# - linux-el6-x86_64
upload-el6-x86_64:
extends: [".upload"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44
variables:
NAME: "git-${GIT_VERSION}-linux-el6-x86_64"
needs:
- linux-el6-x86_64
- test-el6-x86_64
# upload-el6-x86_64:
# extends: [".upload"]
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44
# variables:
# NAME: "git-${GIT_VERSION}-linux-el6-x86_64"
# needs:
# - linux-el6-x86_64
# - test-el6-x86_64
# linux-el6-i686:
# extends: [".build-python"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment