Skip to content
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
16 changes: 10 additions & 6 deletions .github/workflows/cicd-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- '**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
Expand All @@ -16,7 +20,7 @@ env:

jobs:
create_dotenv_file:
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -60,7 +64,7 @@ jobs:
include-hidden-files: true

testing:
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
needs: create_dotenv_file
steps:
- name: Checkout code
Expand Down Expand Up @@ -114,7 +118,7 @@ jobs:
path: backend/htmlcov

cleanup:
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
needs: testing
if: always()
steps:
Expand All @@ -133,7 +137,7 @@ jobs:
docker compose -f docker-compose.ci.yml down

build_frontend_files:
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: cleanup
steps:
Expand All @@ -153,7 +157,7 @@ jobs:
path: backend/assets/*

build_and_push_container:
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
Expand Down Expand Up @@ -198,7 +202,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

build_and_push_adapter:
runs-on: [ self-hosted ]
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
Expand Down
Loading