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

Clean build and add other platform following succesful build

parent f380c82b
No related branches found
No related tags found
No related merge requests found
Pipeline #1042 failed
...@@ -19,10 +19,6 @@ stages: ...@@ -19,10 +19,6 @@ stages:
- ./configure --prefix=${CI_PROJECT_DIR}/${NAME} - ./configure --prefix=${CI_PROJECT_DIR}/${NAME}
- make NO_INSTALL_HARDLINKS=YesPlease - make NO_INSTALL_HARDLINKS=YesPlease
- make NO_INSTALL_HARDLINKS=YesPlease install - make NO_INSTALL_HARDLINKS=YesPlease install
- cd ${CI_PROJECT_DIR}/${NAME}
- zip -r --symlinks ../${NAME}.zip *
- cd ${CI_PROJECT_DIR}
- ls -al
artifacts: artifacts:
name: ${NAME} name: ${NAME}
paths: paths:
...@@ -38,7 +34,7 @@ stages: ...@@ -38,7 +34,7 @@ stages:
script: script:
- cd ${CI_PROJECT_DIR}/${NAME} - cd ${CI_PROJECT_DIR}/${NAME}
- zip -r --symlinks ../${NAME}.zip * - zip -r --symlinks ../${NAME}.zip *
- '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/git/${GIT_VERSION}/"'
linux-el6-x86_64: linux-el6-x86_64:
extends: [".build"] extends: [".build"]
...@@ -63,41 +59,70 @@ package-el6-x86_64: ...@@ -63,41 +59,70 @@ package-el6-x86_64:
- 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"]
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86 image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
# variables: variables:
# NAME: "git-${GIT_VERSION}-${CI_JOB_NAME}" NAME: "git-${GIT_VERSION}-linux-el6-i686"
# GIT_ROOT: "${CI_PROJECT_DIR}/${NAME}"
test-el6-i686:
# test-el6-i686: extends: [".test-python"]
# extends: [".test-python"] image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86 variables:
# needs: NAME: "git-${GIT_VERSION}-linux-el6-i686"
# - linux-el6-i686 needs:
- linux-el6-i686
# linux-el7-x86_64:
# extends: [".build-python"] package-el6-i686:
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48 extends: [".package"]
# variables: image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
# NAME: "git-${GIT_VERSION}-${CI_JOB_NAME}" variables:
# GIT_ROOT: "${CI_PROJECT_DIR}/${NAME}" NAME: "git-${GIT_VERSION}-linux-el6-i686"
needs:
# test-el7-x86_64: - linux-el6-i686
# extends: [".test-python"] - test-el6-i686
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48
# needs: linux-el7-x86_64:
# - linux-el7-x86_64 extends: [".build-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48
# linux-el7-i686: variables:
# extends: [".build-python"] NAME: "git-${GIT_VERSION}-linux-el7-x86_64"
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
# variables: test-el7-x86_64:
# NAME: "git-${GIT_VERSION}-${CI_JOB_NAME}" extends: [".test-python"]
# GIT_ROOT: "${CI_PROJECT_DIR}/${NAME}" image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48
variables:
# test-el7-i686: NAME: "git-${GIT_VERSION}-linux-el7-x86_64"
# extends: [".test-python"] needs:
# image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86 - linux-el7-x86_64
# needs:
# - linux-el7-i686 package-el7-x86_64:
extends: [".package"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
variables:
NAME: "git-${GIT_VERSION}-linux-el7-x86_64"
needs:
- linux-el7-x86_64
- test-el7-x86_64
linux-el7-i686:
extends: [".build-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
variables:
NAME: "git-${GIT_VERSION}-${CI_JOB_NAME}"
GIT_ROOT: "${CI_PROJECT_DIR}/${NAME}"
test-el7-i686:
extends: [".test-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
needs:
- linux-el7-i686
package-el7-i686:
extends: [".package"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
variables:
NAME: "git-${GIT_VERSION}-linux-el7-i686"
needs:
- linux-el7-i686
- test-el7-i686
\ No newline at end of file
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
Pipeline to build Git 2.36.2 for our legacy CentOS platform. Pipeline to build Git 2.36.2 for our legacy CentOS platform.
Allows to build Git for: Allows to build Git for:
* CentOS 6.10 64 bits: [git-2.36.2-linux-el6-x86_64.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/python3/-/jobs/artifacts/main/download?job=linux-el6-x86_64) * CentOS 6.10 64 bits: [git-2.36.2-linux-el6-x86_64.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/git/-/jobs/artifacts/main/download?job=linux-el6-x86_64)
* CentOS 6.10 32 bits: [git-2.36.2-linux-el6-i686.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/python3/-/jobs/artifacts/main/download?job=linux-el6-i686) * CentOS 6.10 32 bits: [git-2.36.2-linux-el6-i686.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/git/-/jobs/artifacts/main/download?job=linux-el6-i686)
* CentOS 7.9 64 bits: [git-2.36.2-linux-el7-x86_64.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/python3/-/jobs/artifacts/main/download?job=linux-el7-x86_64) * CentOS 7.9 64 bits: [git-2.36.2-linux-el7-x86_64.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/git/-/jobs/artifacts/main/download?job=linux-el7-x86_64)
* CentOS 7.9 32 bits: [git-2.36.2-linux-el7-i686.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/python3/-/jobs/artifacts/main/download?job=linux-el7-i686) * CentOS 7.9 32 bits: [git-2.36.2-linux-el7-i686.zip](https://gitlab.synchrotron-soleil.fr/software-control-system/tools/git/-/jobs/artifacts/main/download?job=linux-el7-i686)
Build on Docker image: Build on Docker image:
* gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44 * gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment