Skip to content

Commit ffb0ac9

Browse files
committed
fix paths in github actions pipelines
- move docs folder to root of the repo
1 parent 931d2fd commit ffb0ac9

2,666 files changed

Lines changed: 8 additions & 58 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/master-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
restore-keys: ${{ runner.os }}-m2
9393

9494
- name: Generate certificates
95-
run: cd src/main/resources/certificates && openssl genrsa -out keypair.pem 4096 && openssl rsa -in keypair.pem -pubout -out public.crt && openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in keypair.pem -out private.der && cd ../../../..
95+
run: cd application-engine/src/main/resources/certificates && openssl genrsa -out keypair.pem 4096 && openssl rsa -in keypair.pem -pubout -out public.crt && openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in keypair.pem -out private.der && cd ../../../../..
9696

9797
- name: Build
9898
run: mvn clean package install -DskipTests=true
@@ -137,7 +137,7 @@ jobs:
137137
- name: Generate Docs
138138
run: |
139139
mvn javadoc:javadoc
140-
cp -r ./target/apidocs/* ./docs/javadoc/
140+
cp -r ./application-engine/target/reports/apidocs/* ./docs/javadoc/
141141
142142
- uses: EndBug/add-and-commit@v9
143143
with:

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
restore-keys: ${{ runner.os }}-m2
9292

9393
- name: Generate certificates
94-
run: cd src/main/resources/certificates && openssl genrsa -out keypair.pem 4096 && openssl rsa -in keypair.pem -pubout -out public.crt && openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in keypair.pem -out private.der && cd ../../../..
94+
run: cd application-engine/src/main/resources/certificates && openssl genrsa -out keypair.pem 4096 && openssl rsa -in keypair.pem -pubout -out public.crt && openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in keypair.pem -out private.der && cd ../../../../..
9595

9696

9797
- name: Build

.github/workflows/release-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
restore-keys: ${{ runner.os }}-m2
104104

105105
- name: Generate certificates
106-
run: cd src/main/resources/certificates && openssl genrsa -out keypair.pem 4096 && openssl rsa -in keypair.pem -pubout -out public.crt && openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in keypair.pem -out private.der && cd ../../../..
106+
run: cd application-engine/src/main/resources/certificates && openssl genrsa -out keypair.pem 4096 && openssl rsa -in keypair.pem -pubout -out public.crt && openssl pkcs8 -topk8 -inform PEM -outform DER -nocrypt -in keypair.pem -out private.der && cd ../../../../..
107107

108108
- name: Build
109109
run: mvn clean package install -DskipTests=true
@@ -193,13 +193,15 @@ jobs:
193193
- name: Push Version ${{ steps.getVersion.outputs.version }}
194194
uses: docker/build-push-action@v6
195195
with:
196+
context: "{{defaultContext}}:application-engine"
196197
push: true
197198
tags: netgrif/application-engine:${{ steps.getVersion.outputs.version }}
198199

199200
- name: Push Latest
200201
if: ${{ !contains(steps.getVersion.outputs.version, '-SNAPSHOT') }}
201202
uses: docker/build-push-action@v6
202203
with:
204+
context: "{{defaultContext}}:application-engine"
203205
push: true
204206
tags: netgrif/application-engine:latest
205207

@@ -257,8 +259,8 @@ jobs:
257259
- name: Build project
258260
run: |
259261
mkdir -p netgrif-application-engine-${{ steps.getVersion.outputs.version }}/src/main/resources/
260-
cp target/*-exec.jar netgrif-application-engine-${{ steps.getVersion.outputs.version }}
261-
cp -R src/main/resources/* netgrif-application-engine-${{ steps.getVersion.outputs.version }}/src/main/resources/
262+
cp application-engine/target/*-exec.jar netgrif-application-engine-${{ steps.getVersion.outputs.version }}
263+
cp -R application-engine/src/main/resources/* netgrif-application-engine-${{ steps.getVersion.outputs.version }}/src/main/resources/
262264
zip -r netgrif-application-engine-${{ steps.getVersion.outputs.version }}.zip netgrif-application-engine-${{ steps.getVersion.outputs.version }}
263265
264266
- name: Upload binaries to release
-6.74 KB
Binary file not shown.
-28.6 KB
Binary file not shown.

application-engine/docs/modules/modules.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)