Skip to content

Commit bfdae9f

Browse files
Merge pull request #135 from matyasselmeci/pr/osg-25
Build for OSG 25 (SOFTWARE-6297)
2 parents 1f8ecca + 38168bf commit bfdae9f

3 files changed

Lines changed: 14 additions & 33 deletions

File tree

.github/workflows/release-series-images.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,16 @@ jobs:
2929
repo: ['development', 'testing', 'release']
3030
image: ['hosted-ce', 'osg-ce-condor']
3131
osg_series:
32-
- name: '23'
33-
os: 'el9'
34-
project: 'opensciencegrid'
3532
- name: '24'
3633
os: 'el9'
3734
project: 'osg-htc'
35+
- name: '25'
36+
os: 'el9'
37+
project: 'osg-htc'
3838
steps:
3939

4040
- uses: actions/checkout@v3
4141

42-
- name: Log in to Docker Hub
43-
uses: docker/login-action@v2.2.0
44-
if: github.event_name != 'pull_request' && startsWith(github.repository, 'opensciencegrid/')
45-
with:
46-
username: ${{ secrets.DOCKER_USERNAME }}
47-
password: ${{ secrets.DOCKER_PASSWORD }}
48-
4942
- name: Log in to OSG Harbor
5043
uses: docker/login-action@v2.2.0
5144
if: github.event_name != 'pull_request' && startsWith(github.repository, 'opensciencegrid/')
@@ -76,13 +69,9 @@ jobs:
7669
run: |
7770
docker_repo=$PROJECT/$IMAGE
7871
tag_list=()
79-
for registry in hub.opensciencegrid.org docker.io; do
80-
if [[ $registry == 'docker.io' && $PROJECT == 'osg-htc' ]]; then
81-
continue
82-
fi
83-
for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$TIMESTAMP"; do
84-
tag_list+=("$registry/$docker_repo":"$image_tag")
85-
done
72+
registry=hub.opensciencegrid.org
73+
for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$TIMESTAMP"; do
74+
tag_list+=("$registry/$docker_repo":"$image_tag")
8675
done
8776
# This causes the tag_list array to be comma-separated below,
8877
# which is required for build-push-action
@@ -94,7 +83,7 @@ jobs:
9483
with:
9584
driver: docker # If not set to docker driver, it will default to docker-container
9685
# when using load for the build-push-action.
97-
86+
9887
- name: Build and push hosted-ce and osg-ce-condor images
9988
uses: docker/build-push-action@v4
10089
with:

base/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
# Specify the opensciencegrid/software-base image tag
66
ARG BASE_OS=el9
77
ARG BASE_YUM_REPO=release
8-
ARG BASE_OSG_SERIES=24
8+
ARG BASE_OSG_SERIES=25
99

1010
FROM opensciencegrid/software-base:$BASE_OSG_SERIES-$BASE_OS-$BASE_YUM_REPO
1111
LABEL maintainer "OSG Software <help@osg-htc.org>"
1212

1313
# previous args have gone out of scope
14-
ARG BASE_OS=el9
15-
ARG BASE_YUM_REPO=release
16-
ARG BASE_OSG_SERIES=23
14+
ARG BASE_OS
15+
ARG BASE_YUM_REPO
16+
ARG BASE_OSG_SERIES
1717

1818
# Ensure that the 'condor' UID/GID matches across containers
1919
RUN groupadd -g 64 -r condor && \

hosted-ce/Dockerfile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,26 @@ LABEL maintainer "OSG Software <help@osg-htc.org>"
77
LABEL name "hosted-ce"
88

99
ARG BASE_YUM_REPO=release
10-
ARG BASE_OSG_SERIES=24
10+
ARG BASE_OSG_SERIES=25
1111

1212

1313
RUN if [[ $BASE_YUM_REPO == 'release' ]]; then \
14-
if [[ $BASE_OSG_SERIES == '23' ]]; then \
15-
yum install -y --enablerepo=osg-upcoming-testing osg-ce-bosco htcondor-ce-view 'perl(filetest)'; \
16-
else \
17-
yum install -y --enablerepo=osg-testing osg-ce-bosco htcondor-ce-view 'perl(filetest)'; \
18-
fi \
14+
yum install -y --enablerepo=osg-testing osg-ce-bosco htcondor-ce-view 'perl(filetest)'; \
1915
else \
2016
yum install -y osg-ce-bosco htcondor-ce-view 'perl(filetest)'; \
2117
fi && \
2218
rm -rf /var/cache/yum/
2319

2420
COPY etc/osg/image-config.d/ /etc/osg/image-config.d/
2521

26-
# Use "ssh -q" in bosco_cluster until the chang has been upstreamed to condor
22+
# Use "ssh -q" in bosco_cluster until the change has been upstreamed to condor
2723
# Enable bosco_cluster xtrace
2824
COPY tmp/ /tmp
2925

3026
# SOFTWARE-5613: override package versions of remote WN client scripts
3127
# to allow for a faster dev -> ops turnaround
3228
COPY usr/bin/ /usr/bin
3329

34-
# HTCONDOR-2322: Override CE defaults script to fix Environment setting bug.
35-
# Remove this once HTCondor-CE 23.0.8 is deployed for all hosted-ces.
36-
COPY usr/share/condor-ce/ /usr/share/condor-ce
37-
3830
# Handle bosco_cluster -> condor_remote_cluster symlink
3931
RUN sed -i 's/bosco_cluster/condor_remote_cluster/g' /tmp/*.patch && \
4032
patch -d / -p0 < /tmp/ssh_q.patch && \

0 commit comments

Comments
 (0)