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

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #1024 failed
variables:
GIT_VERSION: "2.36.2"
DEFAULT_HELP_FORMAT: "man"
stages:
- build
- test
.build-python:
stage: build
script:
- yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
- git clone https://github.com/git/git.git
- cd git
- git checkout v${GIT_VERSION}
- autoconf
- ./configure --prefix=${GIT_ROOT}
- make && make install
artifacts:
name: ${NAME}
paths:
- ${GIT_ROOT}/
.test-python:
stage: test
script:
- ${CI_PROJECT_DIR}/git-${GIT_VERSION}-*/bin/git --version | grep ${GIT_VERSION}
linux-el6-x86_64:
extends: [".build-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44
variables:
NAME: "git-${GIT_VERSION}-${CI_JOB_NAME}"
GIT_ROOT: "${CI_PROJECT_DIR}/${NAME}"
test-el6-x86_64:
extends: [".test-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44
needs:
- linux-el6-x86_64
linux-el6-i686:
extends: [".build-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
variables:
NAME: "git-${GIT_VERSION}-${CI_JOB_NAME}"
GIT_ROOT: "${CI_PROJECT_DIR}/${NAME}"
test-el6-i686:
extends: [".test-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el6-gcc44-x86
needs:
- linux-el6-i686
linux-el7-x86_64:
extends: [".build-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48
variables:
NAME: "git-${GIT_VERSION}-${CI_JOB_NAME}"
GIT_ROOT: "${CI_PROJECT_DIR}/${NAME}"
test-el7-x86_64:
extends: [".test-python"]
image: gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48
needs:
- linux-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
# Git
Pipeline to build Git 2.36.2 for our legacy CentOS platform.
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 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 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 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)
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-x86
* gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48
* gitlab-registry.synchrotron-soleil.fr/software-control-system/containers/dev-el7-gcc48-x86
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