Skip to content

Commit

Permalink
chore(rhel) Install RHEL dependency to test RHEL (#30)
Browse files Browse the repository at this point in the history
* chore(rhel) Install RHEL dependency to test RHEL

* chore(ci) enable RHEL tests in travis-ci
  • Loading branch information
hutchic authored Mar 19, 2019
1 parent 090c0ef commit 7cb050d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ env:
- PACKAGE_TYPE=deb RESTY_IMAGE_BASE=debian RESTY_IMAGE_TAG=testing KONG_SOURCE=master
- PACKAGE_TYPE=rpm RESTY_IMAGE_BASE=centos RESTY_IMAGE_TAG=6 KONG_SOURCE=master
- PACKAGE_TYPE=rpm RESTY_IMAGE_BASE=centos RESTY_IMAGE_TAG=7 KONG_SOURCE=master
- PACKAGE_TYPE=rpm RESTY_IMAGE_BASE=rhel RESTY_IMAGE_TAG=6 KONG_SOURCE=master
- PACKAGE_TYPE=rpm RESTY_IMAGE_BASE=rhel RESTY_IMAGE_TAG=7 KONG_SOURCE=master
- PACKAGE_TYPE=rpm RESTY_IMAGE_BASE=amazonlinux RESTY_IMAGE_TAG=latest KONG_SOURCE=master
- PACKAGE_TYPE=apk RESTY_IMAGE_BASE=alpine RESTY_IMAGE_TAG=latest KONG_SOURCE=master
- PACKAGE_TYPE=deb RESTY_IMAGE_BASE=ubuntu RESTY_IMAGE_TAG=trusty KONG_SOURCE=next
Expand Down
2 changes: 1 addition & 1 deletion test/Dockerfile.rpm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ARG RHEL="false"
RUN if [ "$RHEL" = "true" ] ; then subscription-manager register --username ${REDHAT_USERNAME} --password ${REDHAT_PASSWORD} --auto-attach ; fi
RUN if [ "$RHEL" = "true" ] ; then yum-config-manager --enable 'rhel-*-server-optional-rpms' ; fi

RUN yum -y install perl perl-Time-HiRes
RUN yum -y install perl perl-Time-HiRes hostname

COPY output/kong.rpm /kong.rpm

Expand Down

0 comments on commit 7cb050d

Please sign in to comment.