Deployment 0.0.1 #25

Merged
Maece97 merged 34 commits from dev into main 2021-10-17 13:49:10 +00:00
3 changed files with 163 additions and 136 deletions
Showing only changes of commit 4a85548a9e - Show all commits

View File

@ -26,13 +26,32 @@ jobs:
- run: mkdir ./target - run: mkdir ./target
- name: Build with Maven - name: Cache Maven packages
run: mvn -f tapas-tasks/pom.xml --batch-mode --update-snapshots verify uses: actions/cache@v1
- run: cp ./tapas-tasks/target/tapas-tasks-0.0.1-SNAPSHOT.jar ./target with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven - name: Build with Maven
run: mvn -f app/pom.xml --batch-mode --update-snapshots verify run: mvn -f assignment/pom.xml --batch-mode --update-snapshots verify
- run: cp ./app/target/app-0.1.0.jar ./target - run: cp ./assignment/target/assignment-0.0.1-SNAPSHOT.jar ./target
- name: Build with Maven
run: mvn -f executor-pool/pom.xml --batch-mode --update-snapshots verify
- run: cp ./executor-pool/target/executor-pool-0.0.1.jar ./target
- name: Build with Maven
run: mvn -f executor1/pom.xml --batch-mode --update-snapshots verify
- run: cp ./executor1/target/executor1-0.0.1.jar ./target
- name: Build with Maven
run: mvn -f executor2/pom.xml --batch-mode --update-snapshots verify
- run: cp ./executor2/target/executor2-0.0.1.jar ./target
- name: Build with Maven
run: mvn -f tapas-tasks/pom.xml --batch-mode --update-snapshots verify
- run: cp ./tapas-tasks/target/tapas-tasks-0.0.1.jar ./target
- run: cp ./.deployment/docker-compose.yml ./target - run: cp ./.deployment/docker-compose.yml ./target
- name: Archive artifacts - name: Archive artifacts

View File

@ -3,10 +3,12 @@ on:
push: push:
branches: [main, dev] branches: [main, dev]
paths: paths:
- "executor-base/**"
- "executor1/**" - "executor1/**"
pull_request: pull_request:
branches: [main, dev] branches: [main, dev]
paths: paths:
- "executor-base/**"
- "executor1/**" - "executor1/**"
workflow_dispatch: workflow_dispatch:
@ -34,6 +36,8 @@ jobs:
path: ~/.m2 path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2 restore-keys: ${{ runner.os }}-m2
- name: Build executorBase
run: mvn -f executor-base/pom.xml -B verify
- name: Build and analyze - name: Build and analyze
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -3,10 +3,12 @@ on:
push: push:
branches: [main, dev] branches: [main, dev]
paths: paths:
- "executor-base/**"
- "executor2/**" - "executor2/**"
pull_request: pull_request:
branches: [main, dev] branches: [main, dev]
paths: paths:
- "executor-base/**"
- "executor2/**" - "executor2/**"
workflow_dispatch: workflow_dispatch:
@ -34,6 +36,8 @@ jobs:
path: ~/.m2 path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2 restore-keys: ${{ runner.os }}-m2
- name: Build executorBase
run: mvn -f executor-base/pom.xml -B verify
- name: Build and analyze - name: Build and analyze
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}