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