Skip to content

Commit

Permalink
#1 Split into wrapper and library implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
openwms committed Nov 5, 2024
1 parent 07abe18 commit 65f03b1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/branch-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<name: 'branch_build'
name: 'branch_build'
on:
push:
branches-ignore: [ master, release ]
branches-ignore:
- master
- gh-pages
- 'release/**'

env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Build
run: >
./mvnw clean verify
./mvnw verify
-DsurefireArgs=-Dspring.profiles.active=ASYNCHRONOUS,TEST
-Dspring.rabbitmq.host=localhost
-Dci.buildNumber=$GITHUB_RUN_NUMBER
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/master-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

jobs:
site_job:
build_site:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
name: Build Microservice Docs
Expand Down Expand Up @@ -43,6 +43,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 21
- name: Cache SonarQube packages
uses: actions/cache@v1
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v1
with:
Expand All @@ -51,7 +57,8 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Install tools
run: |
sudo apt-get install graphviz
sudo apt-get update
sudo apt-get install graphviz gsfonts graphviz-doc
git config --global user.email "ci@example.com"
git config --global user.name "CI Server"
- name: Site
Expand All @@ -69,6 +76,6 @@ jobs:
-Dscmpublish.pubScmUrl=scm:git:https://openwms:$PUSHKEY@github.com/openwms/org.openwms.tms.routing.git
-DdeveloperConnectionUrl=scm:git:https://openwms:$PUSHKEY@github.com/openwms/org.openwms.tms.routing.git
-Dci.buildNumber=$GITHUB_RUN_NUMBER
-Pschemagen -B $MAVEN_OPTS
-Prelease,coverage -B $MAVEN_OPTS
env:
PUSHKEY: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion scripts/docker_build
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/bash
echo "$DOCKER_PASSWORD" | docker login -u $DOCKER_USER --password-stdin
docker build -t openwms/org.openwms.tms.routing:latest .
1 change: 0 additions & 1 deletion scripts/docker_build_release
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/bin/bash
echo "$DOCKER_PASSWORD" | docker login -u $DOCKER_USER --password-stdin
docker build -t openwms/org.openwms.tms.routing:$VERSION-$GITHUB_RUN_NUMBER .

0 comments on commit 65f03b1

Please sign in to comment.