Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RHEL dockerfiles to regular build CI #2394

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 29 additions & 3 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: ['collector/Dockerfile', 'collector/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 All @@ -106,7 +132,7 @@ jobs:
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
file: frontend/Dockerfile
file: ${{ matrix.dockerfile }}
context: .
push: false
tags: frontend:pr-${{ github.event.number }}
Expand Down
Loading