mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-18 10:46:39 +00:00
[#90] Add Amazon Linux Package test to Travis CI
This commit is contained in:
parent
a2e6feb15b
commit
5eeebabcc2
17
.ci/docker/Dockerfile.amazonlinux2
Normal file
17
.ci/docker/Dockerfile.amazonlinux2
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
FROM amazonlinux:2
|
||||||
|
|
||||||
|
MAINTAINER apl.dev3@jhuapl.edu
|
||||||
|
|
||||||
|
# Install packages for building HIRS
|
||||||
|
RUN yum -y update && yum clean all
|
||||||
|
RUN yum groupinstall -y "Development Tools"
|
||||||
|
RUN yum install -y wget java-1.8.0-openjdk-devel protobuf-compiler rpm-build cmake make git gcc-c++ doxygen graphviz python libssh2-devel openssl protobuf-devel tpm2-tss-devel trousers-devel libcurl-devel
|
||||||
|
|
||||||
|
# Install EPEL
|
||||||
|
WORKDIR /tmp
|
||||||
|
RUN wget -O epel.rpm -nv https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
|
RUN yum install -y ./epel.rpm
|
||||||
|
RUN yum install -y cppcheck log4cplus-devel re2-devel
|
||||||
|
|
||||||
|
# Set Environment Variables
|
||||||
|
ENV JAVA_HOME /usr/lib/jvm/java
|
@ -40,6 +40,10 @@ jobs:
|
|||||||
script: docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:ubuntu18 /bin/bash -c "cd /HIRS; ./package/package.ubuntu.sh"
|
script: docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:ubuntu18 /bin/bash -c "cd /HIRS; ./package/package.ubuntu.sh"
|
||||||
env: null
|
env: null
|
||||||
name: "Package Ubuntu"
|
name: "Package Ubuntu"
|
||||||
|
- stage: Packaging and System Tests
|
||||||
|
script: docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:amazonlinux2 /bin/bash -c "cd /HIRS; ./package/package.centos.sh"
|
||||||
|
env: null
|
||||||
|
name: "Package Amazon Linux"
|
||||||
- stage: Packaging and System Tests
|
- stage: Packaging and System Tests
|
||||||
script: .ci/system-tests/./run-system-tests.sh
|
script: .ci/system-tests/./run-system-tests.sh
|
||||||
env: null
|
env: null
|
||||||
|
Loading…
Reference in New Issue
Block a user