Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kr7ysztof committed Feb 21, 2025
1 parent ca2ac2e commit fb8602e
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 10 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,23 @@ jobs:
runs-on: ubuntu-latest
name: publish feature
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Setup Scala
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
- name: Set up sbt
uses: sbt/setup-sbt@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up Docker Compose
run: |
sudo apt-get update
sudo apt-get install docker-compose -y
- name: Build and publish docker image
run: |
# Login to docker
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/it-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: "Add s3.localhost to /etc/hosts to be able to run it test on ceph"
run: echo "127.0.0.1 s3.localhost" | sudo tee -a /etc/hosts
- name: Setup Scala
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: sbt
- name: Set up sbt
uses: sbt/setup-sbt@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up Docker Compose
run: |
sudo apt-get update
sudo apt-get install docker-compose -y
- name: "Starting dependent containers for testing"
run: docker-compose up -d keycloak ceph postgres-server redis ranger-admin rokku-sts
- name: "Install aws cli"
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,23 @@ jobs:
runs-on: ubuntu-latest
needs: tag
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Setup Scala
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
- name: Set up sbt
uses: sbt/setup-sbt@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up Docker Compose
run: |
sudo apt-get update
sudo apt-get install docker-compose -y
- name: Build and publish docker image
run: |
# Login to docker
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Setup Scala
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"
cache: sbt
- name: Set up sbt
uses: sbt/setup-sbt@v1
- name: Running test
run: sbt clean test;

0 comments on commit fb8602e

Please sign in to comment.