Skip to content

Commit

Permalink
Checkout version/specific tag instead of master
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamic-entropy committed Jun 22, 2024
1 parent 40d2c28 commit b08a80d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rucio-release-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Build the Docker Image
run: |
buildah build --build-arg RUCIO_VERSION=${{ env.rucio_version }} --file docker/${{ matrix.image }}/Dockerfile --tag registry.cern.ch/${{ vars.HARBOR_REPOSITORY }}/${{ matrix.image }}:${{ env.tag }} .
buildah build --build-arg RUCIO_VERSION=${{ env.rucio_version }} --build-arg CMSRUCIO_GITTAG=${{ env.tag }} --file docker/${{ matrix.image }}/Dockerfile --tag registry.cern.ch/${{ vars.HARBOR_REPOSITORY }}/${{ matrix.image }}:${{ env.tag }} .
- name: Push the Docker Image
run: |
Expand Down
2 changes: 2 additions & 0 deletions docker/rucio_client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM almalinux:9

ARG RUCIO_VERSION
ARG CMSRUCIO_GITTAG

RUN dnf upgrade -y && \
dnf clean all && \
Expand Down Expand Up @@ -58,6 +59,7 @@ RUN git clone https://github.com/rucio/rucio.git
# Pull some useful stuff out of git
WORKDIR /root
RUN git clone https://github.com/dmwm/CMSRucio.git
RUN git checkout CMSRUCIO_GITTAG

RUN mkdir -p /etc/grid-security ; ln -s /cvmfs/grid.cern.ch/etc/grid-security/certificates /etc/grid-security/

Expand Down
1 change: 0 additions & 1 deletion docker/rucio_client/scripts/k8s_sync_sites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ voms-proxy-init -voms cms -cert /tmp/cert.pem -key /tmp/key.pem
voms-proxy-info

cd /root/CMSRucio
git pull origin master
export RUCIO_ACCOUNT=root

echo Using config file in $RUCIO_HOME
Expand Down

0 comments on commit b08a80d

Please sign in to comment.