forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial attempt at codeship CI integration
- Loading branch information
1 parent
9fc0f9c
commit 352a9f9
Showing
11 changed files
with
238 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM swd847/centos-graal-maven | ||
ENV DATABASE_URL=jdbc:postgresql:hibernate_orm_test | ||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
COPY . /usr/src/app | ||
ENTRYPOINT ["mvn", "-Dno-postgres"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
shamrock: | ||
build: | ||
image: swd847/shamrock | ||
dockerfile: Dockerfile | ||
depends_on: | ||
- postgres | ||
environment: | ||
- DATABASE_URL=jdbc:postgresql://postgres/hibernate_orm_test | ||
# volumes: | ||
# - /Users/stuart/.m2:/root/.m2 | ||
postgres: | ||
image: healthcheck/postgres:alpine | ||
environment: | ||
POSTGRES_USER: hibernate_orm_test | ||
POSTGRES_PASSWORD: hibernate_orm_test | ||
POSTGRES_DB: hibernate_orm_test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- name: ci | ||
service: shamrock | ||
command: install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM swd847/centos-graal | ||
|
||
ARG MAVEN_VERSION=3.3.9 | ||
ARG USER_HOME_DIR="/root" | ||
RUN mkdir -p /usr/share/maven && \ | ||
curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar -xzC /usr/share/maven --strip-components=1 && \ | ||
ln -s /usr/share/maven/bin/mvn /usr/bin/mvn | ||
ENV MAVEN_HOME /usr/share/maven | ||
ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" | ||
# speed up Maven JVM a bit | ||
ENV MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1" | ||
#ENTRYPOINT ["/usr/bin/mvn"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM centos:latest | ||
|
||
ARG GRAAL_VERSION | ||
ENV GRAAL_VERSION=${GRAAL_VERSION:-1.0.0-rc6} | ||
ENV GRAAL_CE_URL=https://github.com/oracle/graal/releases/download/vm-${GRAAL_VERSION}/graalvm-ce-${GRAAL_VERSION}-linux-amd64.tar.gz | ||
|
||
ENV JAVA_HOME=/opt/graalvm | ||
ENV PATH=$PATH:$JAVA_HOME/bin | ||
ENV GRAALVM_HOME=/opt/graalvm | ||
|
||
|
||
RUN yum update -y && \ | ||
yum install -y tar gzip gcc glibc-devel zlib-devel curl && \ | ||
mkdir -p /opt/graalvm && \ | ||
cd /opt/graalvm && \ | ||
curl -fsSL $GRAAL_CE_URL | tar -xzC /opt/graalvm --strip-components=1 | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.