Skip to content

Commit

Permalink
Add RHEL dockerfiles to regular build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi committed Feb 5, 2025
1 parent 5e82a19 commit 5faa637
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:

jobs:
build-autoscaler:
strategy:
matrix:
dockerfile: ['Dockerfile', 'Dockerfile.rhel']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -22,7 +25,12 @@ jobs:
push: false
tags: autoscaler:pr-${{ github.event.number }}
build-args: SERVICE_NAME=autoscaler
file: ${{ matrix.dockerfile }}

build-scheduler:
strategy:
matrix:
dockerfile: ['Dockerfile', 'Dockerfile.rhel']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +43,12 @@ jobs:
push: false
tags: scheduler:pr-${{ github.event.number }}
build-args: SERVICE_NAME=scheduler
file: ${{ matrix.dockerfile }}

build-and-test-instrumentor:
strategy:
matrix:
dockerfile: ['Dockerfile', 'Dockerfile.rhel']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -51,11 +64,16 @@ jobs:
push: false
tags: instrumentor:pr-${{ github.event.number }}
build-args: SERVICE_NAME=instrumentor
file: ${{ matrix.dockerfile }}
- name: run tests
working-directory: ./instrumentor
run: |
make test
build-and-test-odigos-collector:
strategy:
matrix:
dockerfile: ['Dockerfile', 'Dockerfile.rhel']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -68,12 +86,16 @@ jobs:
push: false
tags: odigos-collector:pr-${{ github.event.number }}
context: ./collector
file: collector/Dockerfile
file: ${{ matrix.dockerfile }}
- name: run tests
working-directory: ./collector
run: |
make test
build-and-test-odiglet:
strategy:
matrix:
dockerfile: ['odiglet/Dockerfile', 'odiglet/Dockerfile.rhel']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -85,7 +107,7 @@ jobs:
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
file: odiglet/Dockerfile
file: ${{ matrix.dockerfile }}
context: .
push: false
tags: odiglet:pr-${{ github.event.number }}
Expand All @@ -96,7 +118,11 @@ jobs:
working-directory: ./odiglet
run: |
make test
build-frontend:
strategy:
matrix:
dockerfile: ['frontend/Dockerfile', 'frontend/Dockerfile.rhel']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 5faa637

Please sign in to comment.