Skip to content

Commit

Permalink
Merge pull request appsody#56 from groeges/appsody-merge
Browse files Browse the repository at this point in the history
Merge latest appsody/stacks:master branch
  • Loading branch information
kilnerm authored Sep 4, 2019
2 parents 71c4cd0 + 10c7cda commit 830fc54
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ language: generic
go:
- 1.12.x

matrix:
include:
- os: linux
dist: bionic
os: linux
dist: bionic

services:
- docker
Expand Down
7 changes: 3 additions & 4 deletions incubator/java-spring-boot2/image/Dockerfile-stack
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,14 @@ ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"

COPY ./LICENSE /licenses/

# OSGI core for version range processing
COPY ./util /util
RUN /util/check_version build

COPY ./project /project
COPY ./config /config
COPY ./mvn-stack-settings.xml /usr/share/maven/conf/settings.xml
COPY ./mvn-stack-settings.xml /project/mvn-stack-settings.xml

# OSGI core for version range processing
RUN /project/util/check_version build

WORKDIR /project
RUN mvn -B -N io.takari:maven:wrapper -Dmaven=$(mvn help:evaluate -Dexpression=maven.version -q -DforceStdout)

Expand Down
3 changes: 3 additions & 0 deletions incubator/java-spring-boot2/image/project/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"
COPY . /project
COPY ./mvn-stack-settings.xml /usr/share/maven/conf/settings.xml

# OSGI core for version range processing
RUN /project/util/check_version build

WORKDIR /project/user-app

RUN /project/java-spring-boot2-build.sh package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>dev.appsody</groupId>
<artifactId>spring-boot2-stack</artifactId>
<version>0.3.8</version>
<version>0.3.9</version>
<packaging>pom</packaging>

<name>Appsody Spring Boot2 stack</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ common() {
exit 1
fi

if ! /util/check_version contains "$p_version_range" "$a_version"; then
if ! /project/util/check_version contains "$p_version_range" "$a_version"; then
error "Version mismatch
The version of the appsody stack '${a_version}' does not match the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x
#!/bin/bash
# This is a small utility script that uses OSGi VersionRange and Version
# classes to verify whether or not a specified version matches is contained
# within a specified range.
Expand Down
2 changes: 1 addition & 1 deletion incubator/java-spring-boot2/stack.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Spring Boot®
version: 0.3.8
version: 0.3.9
description: Spring Boot using OpenJ9 and Maven
license: Apache-2.0
language: java
Expand Down
4 changes: 2 additions & 2 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ projects:
java-spring-boot2:
- updated: 2019-08-02T23:12:19+0000
name: Spring Boot®
version: 0.3.8
version: 0.3.9
description: Spring Boot using OpenJ9 and Maven
license: Apache-2.0
maintainers:
- [email protected]
default-template: default
urls:
- https://github.com/appsody/stacks/releases/download/java-spring-boot2-v0.3.8/incubator.java-spring-boot2.v0.3.8.templates.default.tar.gz
- https://github.com/appsody/stacks/releases/download/java-spring-boot2-v0.3.9/incubator.java-spring-boot2.v0.3.9.templates.default.tar.gz
nodejs-express:
- updated: 2019-08-02T23:12:19+0000
name: Node.js Express
Expand Down

0 comments on commit 830fc54

Please sign in to comment.