This commit is contained in:
parent
32c59a69f2
commit
bc81cb0988
@ -4,11 +4,11 @@ name: ci
|
||||
|
||||
steps:
|
||||
- name: submodules
|
||||
image: d.ctdn.net/alpine/git
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init --recursive
|
||||
- name: test
|
||||
image: d.ctdn.net/cubetiq/openjdk:11u-ubuntu
|
||||
image: cubetiq/openjdk:11u-ubuntu
|
||||
commands:
|
||||
- apt-get update && apt-get install git -y
|
||||
- sh gradlew bootJar
|
2
api/src/main/resources/application-demo.yml
Normal file
2
api/src/main/resources/application-demo.yml
Normal file
@ -0,0 +1,2 @@
|
||||
server:
|
||||
port: ${APP_PORT:8080}
|
@ -1,2 +0,0 @@
|
||||
server:
|
||||
port: 8080
|
@ -13,7 +13,7 @@ echo "===> Moving App File <==="
|
||||
bash "$SCRIPT_DIR"/move-file.sh
|
||||
|
||||
echo "===> Gradle Building Application <==="
|
||||
bash gradlew build -x test
|
||||
bash gradlew bootJar
|
||||
|
||||
echo "===> Docker Building Image <==="
|
||||
docker build . -t "$ROOT_HUB"
|
||||
|
3
build-demo.sh
Executable file
3
build-demo.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
bash apps/demo/build.sh
|
Loading…
Reference in New Issue
Block a user