Skip to content

Commit

Permalink
Update repofile for Centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
federicaagostini committed Aug 1, 2024
1 parent 9a8a939 commit abf39ba
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 7 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ jobs:

strategy:
matrix:
rhel: [9]
rhel: [7, 9]
repo: [stable, beta]
exclude:
- rhel: 9
repo: stable
- rhel: 7
repo: beta

runs-on: ubuntu-latest

Expand Down Expand Up @@ -44,11 +46,13 @@ jobs:

strategy:
matrix:
rhel: [9]
rhel: [7, 9]
repo: [stable, beta]
exclude:
- rhel: 9
repo: stable
- rhel: 7
repo: beta

runs-on: ubuntu-latest

Expand Down Expand Up @@ -78,8 +82,8 @@ jobs:

strategy:
matrix:
client: [9-beta]
server: [9-beta]
client: [7-stable, 9-beta]
server: [7-stable, 9-beta]

runs-on: ubuntu-latest
continue-on-error: true
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/voms-aa.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ jobs:

strategy:
matrix:
client:
- 9-beta
client: [7-stable, 9-beta]

runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion compose/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
COMPOSE_PROJECT_NAME=voms-testsuite
TS_IMAGE=italiangrid/voms-testsuite:centos7-stable
VOMS_IMAGE=italiangrid/voms:latest
VOMS_IMAGE=italiangrid/voms:centos7-stable
VOMS_ADMIN_IMAGE=italiangrid/voms-admin:latest
NGINX_IMAGE=baltig.infn.it:4567/cnafsd/ngx_http_voms_module/nginx-httpg-voms
NGINX_IMAGE_TAG=latest
Expand Down
24 changes: 24 additions & 0 deletions docker/CentOS-Base.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
1 change: 1 addition & 0 deletions docker/testsuite/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ARG VOMS_REPO=stable

ENV VOMS_REPO_URL=https://italiangrid.github.io/voms-repo/repofiles/rhel/voms-${VOMS_REPO}-el${RHEL_VERSION}.repo

COPY ../CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
COPY assets/scripts/*.sh /tmp/scripts/

RUN yum install -y epel-release \
Expand Down
1 change: 1 addition & 0 deletions docker/voms/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ARG UMD_RELEASE_PACKAGE_URL=http://repository.egi.eu/sw/production/umd/4/centos7

ENV VOMS_REPO_URL=https://italiangrid.github.io/voms-repo/repofiles/rhel/voms-${VOMS_REPO}-el${RHEL_VERSION}.repo

COPY ../CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo
COPY assets/scripts/*.sh /tmp/scripts/

RUN yum -y install hostname which wget tar sudo file less epel-release ${UMD_RELEASE_PACKAGE_URL} yum-utils
Expand Down

0 comments on commit abf39ba

Please sign in to comment.