Skip to content

Commit

Permalink
fix ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ccfontes committed Dec 20, 2023
1 parent 95884c8 commit cb9550e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
java-version: 8
- name: Install Babashka
run: bash < <(curl https://raw.githubusercontent.com/babashka/babashka/master/install) --dev-build
run: bash < <(curl https://raw.githubusercontent.com/babashka/babashka/master/install) --dev-build --dir /usr/local/bin
- name: Run unit tests
run: bb --config tests.edn tests.clj
working-directory: ${{ github.workspace }}/template/bb
5 changes: 2 additions & 3 deletions template/bb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ghcr.io/openfaas/of-watchdog:0.9.13 AS watchdog
FROM babashka/babashka:1.3.187-SNAPSHOT AS babashka
FROM babashka/babashka:1.3.186 AS babashka
FROM eclipse-temurin:8u392-b08-jdk AS build

RUN set -e
Expand All @@ -19,10 +19,9 @@ WORKDIR $HOME

COPY --chown=app:app index.clj bb.edn lib merge_config.clj ./

RUN bb prepare

COPY --chown=app:app function/bb.edn* function/bb.edn
RUN bb merge-config --src "function/bb.edn" --out "ship.edn" && \
mkdir ~/.m2 && \
bb --config ship.edn prepare && \
bb --config ship.edn print-deps && \
cp -r .m2 .m2-ship
Expand Down

0 comments on commit cb9550e

Please sign in to comment.