Commit a2ea7555 authored by Robert Verkerk's avatar Robert Verkerk
Browse files

implement CI/CD for iRODS 4.2.10

parent 45c0c834
Pipeline #784 canceled with stages
......@@ -13,15 +13,15 @@ The script can be used *./ci/build.sh* to build the RPM package.
### Build the RPM
Build the B2SAFE package for CentOS 7 and iRODS 4.2.8.
Build the B2SAFE package for CentOS 7 and iRODS 4.2.10.
```
./ci/build.sh centos7_4_2_8
./ci/build.sh centos7_4_2_10
```
If the build process was successful, the RPM will be copied to the shared target folder:
```
ls ci/RPMS/Centos/7/irods-4.2.8/
ls ci/RPMS/Centos/7/irods-4.2.10/
irods-eudat-b2safe-4.3.0-0.noarch.rpm
```
......@@ -68,7 +68,7 @@ Configure the following files:
### Run the functional test
```
./ci/test.sh centos7_4_2_8
./ci/test.sh centos7_4_2_10
```
### Automation
......
......@@ -4,7 +4,7 @@ export REGISTRY=eudat-docker-public.artie.ia.surfsara.nl
export VOLUME=$( dirname $( pwd ) )
REGISTRY_USER=eudat-artie-readonly
_VERSION=centos7_4_2_8
_VERSION=centos7_4_2_10
CLEANUP="yes"
BUILD=0
GIT_BRANCH=""
......
......@@ -4,7 +4,7 @@ export REGISTRY=eudat-docker-public.artie.ia.surfsara.nl
# export VOLUME=$( dirname $( pwd ) )
# REGISTRY_USER=eudat-artie-readonly
_VERSION=centos7_4_2_8
_VERSION=centos7_4_2_10
CLEANUP="yes"
BUILD=0
GIT_BRANCH=""
......
FROM eudat-docker-public.artie.ia.surfsara.nl/light_centos7_4_2_10:latest
ADD RPM/b2safe.rpm /tmp/b2safe.rpm
RUN rpm -i /tmp/b2safe.rpm
ADD ci/centos7_4_2_10/eudat-artifactory.repo /etc/yum.repos.d/eudat-artifactory.repo
ADD ci/app/update_install.py /app/update_install.py
ADD ci/app/setup_b2safe.sh /app/setup_b2safe.sh
ADD ci/app/run_b2safe_tests.sh /app/run_b2safe_tests.sh
ADD ci/app/b2safe_entry_point.sh /app/b2safe_entry_point.sh
ADD . /app/B2SAFE-core
RUN pip3 install -r /app/B2SAFE-core/scripts/tests/requirements.txt && \
pip3 install b2handle
RUN yum clean all && \
yum install -y msi-persistent-id
ENTRYPOINT [ "/app/b2safe_entry_point.sh" ]
CMD [ "/app/sleep.sh" ]
[EUDAT]
name=EUDAT
baseurl=https://artie.ia.surfsara.nl/artifactory/Eudat-RPM-Testing-Public/Centos/7/irods-4.2.10/devel
enabled=1
gpgcheck=0
#!/bin/bash
_VERSION=centos7_4_2_8
_VERSION=centos7_4_2_10
CLEANUP="yes"
BUILD=0
GIT_BRANCH=""
......
......@@ -4,7 +4,7 @@ set -x
export REGISTRY=eudat-docker-public.artie.ia.surfsara.nl
for _V in centos7_4_2_8 centos7_4_2_7 centos7_4_2_6 centos7_4_1_12 centos7_4_1_11
for _V in centos7_4_2_10 centos7_4_2_8 centos7_4_2_7 centos7_4_2_6 centos7_4_1_12 centos7_4_1_11
do
export VERSION=$_V
echo "shutting down $VERSION"
......
......@@ -3,7 +3,7 @@
export REGISTRY=eudat-docker-public.artie.ia.surfsara.nl
REGISTRY_USER=eudat-artie-readonly
_VERSION=centos7_4_2_8
_VERSION=centos7_4_2_10
CLEANUP="yes"
RUNTESTS="yes"
BUILD=0
......
......@@ -32,7 +32,7 @@ function rpm_package()
#
# example:
# -------
# irods_version centos7_4_2_8
# irods_version centos7_4_2_10
# > 4.2.6
#
# ###############################################################
......@@ -48,7 +48,7 @@ function irods_version()
# -----
# repo_name VERSION
#
# VERSION: {OS_VERSION}_{IRODS_VERSION}, e.g. centos7_4_2_8
# VERSION: {OS_VERSION}_{IRODS_VERSION}, e.g. centos7_4_2_10
#
# ###############################################################
function repo_name()
......
Markdown is supported
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