Skip to content

Commit 74ffee5

Browse files
authored
Merge pull request #188 from mwestphall/SOFTWARE-6027-osg-24
SOFTWARE-6027: Use OSG 24 for default builds
2 parents c2a4075 + 4d48433 commit 74ffee5

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/build-k8s-container.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
DTAG: ${{ steps.mkdatetag.outputs.dtag }}
3333
run: |
3434
reponame="osg-htc/gratia-probe-k8s"
35-
OSGVER=23
35+
OSGVER=24
3636
tags=()
3737
for registry in hub.opensciencegrid.org; do
3838
tags+=("$registry/$reponame:$OSGVER-release")

.github/workflows/build-sw-container.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: echo "dtag=$(date +%Y%m%d-%H%M)" >> $GITHUB_OUTPUT
2727

2828
- id: format-docker-repo
29-
run: echo "repo-name=opensciencegrid/osg-pilot-container-probe" >> $GITHUB_OUTPUT
29+
run: echo "repo-name=osg-htc/osg-pilot-container-probe" >> $GITHUB_OUTPUT
3030

3131
- name: Set up Docker Buildx
3232
uses: docker/[email protected]
@@ -50,5 +50,4 @@ jobs:
5050
context: .
5151
file: osg-pilot-container/Dockerfile
5252
push: true
53-
tags: "docker.io/${{ steps.format-docker-repo.outputs.repo-name }}:${{ steps.mkdatetag.outputs.dtag }},\
54-
hub.opensciencegrid.org/${{ steps.format-docker-repo.outputs.repo-name }}:${{ steps.mkdatetag.outputs.dtag }}"
53+
tags: "hub.opensciencegrid.org/${{ steps.format-docker-repo.outputs.repo-name }}:${{ steps.mkdatetag.outputs.dtag }}"

kubernetes/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
FROM almalinux:9
22

33
ARG TIMESTAMP_IMAGE=gratia-probe-k8s:release-$(date +%Y%m%d-%H%M)
4+
ARG OSG_SERIES=24
45
ENV GRATIA_PROBE_VERSION=$TIMESTAMP_IMAGE
56
ARG UID=10000
67
ARG GID=10000
78

89
# Install EPEL, the OSG software base repo, and gratia-probe-common
910
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
10-
yum install -y https://repo.opensciencegrid.org/osg/23-main/osg-23-main-el9-release-latest.rpm && \
11+
yum install -y https://repo.osg-htc.org/osg/$OSG_SERIES-main/osg-$OSG_SERIES-main-el9-release-latest.rpm && \
1112
yum install -y gratia-probe-common python3-pip
1213

1314
# Make probe runnable as non-root

osg-pilot-container/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# docker build -f osg-pilot-container/Dockerfile .
33

44
# build rpms in a temporary container
5-
ARG BASE_OS=el8
6-
ARG BASE_OSG_SERIES=23
5+
ARG BASE_OS=el9
6+
ARG BASE_OSG_SERIES=24
77
ARG BASE_YUM_REPO=release
88

99
FROM opensciencegrid/software-base:$BASE_OSG_SERIES-$BASE_OS-$BASE_YUM_REPO as build-container
@@ -40,8 +40,8 @@ RUN osg-build rpmbuild /root/bld
4040
# build real container; copying in rpm results
4141
FROM opensciencegrid/software-base:$BASE_OSG_SERIES-$BASE_OS-$BASE_YUM_REPO
4242

43-
ARG BASE_OS=el8
44-
ARG BASE_OSG_SERIES=23
43+
ARG BASE_OS=el9
44+
ARG BASE_OSG_SERIES=24
4545
ARG BASE_YUM_REPO=release
4646

4747

0 commit comments

Comments
 (0)