-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#102] fix pause logic, bump and optimize builds
- Loading branch information
1 parent
51152c8
commit 223e663
Showing
3 changed files
with
7 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
- name: "Prepare tools-deps" | ||
uses: "DeLaGuardo/setup-clojure@master" | ||
with: | ||
cli: "1.10.3.814" | ||
cli: "1.10.3.833" | ||
|
||
- name: "Apply Cache" | ||
uses: "actions/cache@v2" | ||
|
@@ -49,46 +49,17 @@ jobs: | |
- name: "Setup Babashka" | ||
uses: "turtlequeue/[email protected]" | ||
with: | ||
babashka-version: 0.3.5 | ||
|
||
- name: "Run end to end tests" | ||
run: "make e2e" | ||
babashka-version: 0.4.0 | ||
|
||
- name: "Build JARs" | ||
run: "make -j3 compile" | ||
|
||
- name: "Collect Artifacts" | ||
uses: "actions/upload-artifact@v2" | ||
with: | ||
name: "bob-jars" | ||
path: | | ||
entities/entities.jar | ||
runner/runner.jar | ||
apiserver/apiserver.jar | ||
build-and-push: | ||
needs: "test" | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Checkout code" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "Download Artifacts" | ||
uses: "actions/download-artifact@v2" | ||
with: | ||
name: "bob-jars" | ||
path: "artifacts" | ||
|
||
- name: "Move Docker images" | ||
run: | | ||
mv artifacts/entities/entities.jar entities/ && \ | ||
mv artifacts/runner/runner.jar runner/ && \ | ||
mv artifacts/apiserver/apiserver.jar apiserver/ | ||
- name: "Build Docker images" | ||
run: "make -j3 docker-image" | ||
|
||
- name: "Run end to end tests" | ||
run: "make e2e" | ||
|
||
- name: "Publish Docker images" | ||
if: github.ref == 'refs/heads/main' | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters