Skip to content

Commit

Permalink
Merge pull request #38 from yuyiguo/test20210902
Browse files Browse the repository at this point in the history
add run file & update Dockerfile for xrootd server, correct build.yml.
  • Loading branch information
yuyiguo authored Sep 2, 2021
2 parents aac4831 + f25079e commit f520314
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Build image
run: |
docker build . --tag docker.pkg.github.com/dmwm/rucio-tracers
docker tag docker.pkg.github.com/dmwm/rucio-tracers/rucio-tracers registry.cern.ch/cmsweb/rucio-tracers
docker tag docker.pkg.github.com/dmwm/rucio-tracers registry.cern.ch/cmsweb/rucio-tracers
- name: Login to registry.cern.ch
uses: docker/[email protected]
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: dmwm/rucio-tracers/rucio-tracers
repository: dmwm/rucio-tracers
tag_with_ref: true

- name: Login to DockerHub
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ COPY --from=go-builder /data/RucioTracers/stompserver/RucioTracer /data/
RUN mkdir -p /data/run && mkdir -p /data/etc
COPY --from=go-builder /data/RucioTracers/run.sh /data/run/
COPY --from=go-builder /data/RucioTracers/run-swpop.sh /data/run/
COPY --from=go-builder /data/RucioTracers/run-xrootd.sh /data/run/
COPY --from=go-builder /data/RucioTracers/etc/ruciositemap.json /data/etc/
COPY --from=go-builder /data/RucioTracers/etc/domainsitemap.txt /data/etc/
RUN chmod +x /data/run/*
9 changes: 9 additions & 0 deletions run-xrootd.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
cd /data
echo $PWD
ls
ls /etc/secrets
ls -l /data/RucioTracer
/data/RucioTracer -help
/data/RucioTracer -config /etc/secrets/stompserverconfig4xrtd.json -sitemap /data/etc/ruciositemap.json -domainmap /data/etc/domainsitemap.txt

0 comments on commit f520314

Please sign in to comment.