Skip to content

Commit

Permalink
update docker rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
guyzsarun committed Jul 25, 2023
1 parent 7fb9929 commit 78baf13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
docker run --rm ${{ env.TEST_TAG }} python3 -m pytest -v
test-rpm:
name: Test RPM package
name: Test JSON RPM package
runs-on: ubuntu-latest
needs: build
steps:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
'
test-tfc:
name: Test RPM package
name: Test TFC RPM package
runs-on: ubuntu-latest
needs: [test-json,test-rpm]
steps:
Expand Down
4 changes: 3 additions & 1 deletion docker/Dockerfile.rpm
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ RUN yum install -y cmake \

RUN mkdir -p /root/rpmbuild/SOURCES
RUN wget -O /root/rpmbuild/SOURCES/xrootd-cmstfc.tar.gz https://github.com/opensciencegrid/xrootd-cmstfc/archive/refs/tags/v1.5.2.tar.gz
RUN wget -O /root/rpmbuild/SOURCES/xrootd-cmsjson.tar.gz https://github.com/guyzsarun/xrootd-cmsjson/archive/refs/tags/0.0.1.tar.gz

COPY . .

#RUN wget -O /root/rpmbuild/SOURCES/xrootd-cmsjson.tar.gz https://github.com/guyzsarun/xrootd-cmsjson/archive/refs/tags/0.0.1.tar.gz
RUN tar -czf /root/rpmbuild/SOURCES/xrootd-cmsjson.tar.gz --transform=s/xrootd/xrootd-cmsjson-0.0.1/ /xrootd/

RUN rpmbuild -bb spec/xrootd-cmstfc.spec

RUN yum install -y /root/rpmbuild/RPMS/x86_64/xrootd-cmstfc-2.0.0-1.el8.x86_64.rpm

0 comments on commit 78baf13

Please sign in to comment.