Skip to content

Commit

Permalink
Merge pull request #5411 from novuhq/remove-api-docker-image-from-tes…
Browse files Browse the repository at this point in the history
…t-pipeline

chore(ci): remove the api docker image build job from the test pipeline
  • Loading branch information
LetItRock authored Apr 16, 2024
2 parents ad31c9f + 7bde00e commit f415bcf
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,30 +108,6 @@ jobs:
if: ${{ contains(fromJson(needs.get-affected.outputs.test-cypress), '@novu/widget') || contains(fromJson(needs.get-affected.outputs.test-unit), '@novu/notification-center') || contains(fromJson(needs.get-affected.outputs.test-unit), '@novu/ws') }}
secrets: inherit

build_docker_api:
name: Build Docker API
runs-on: ubuntu-latest
timeout-minutes: 80
needs: [get-affected]
if: ${{ contains(fromJson(needs.get-affected.outputs.test-e2e), '@novu/api') }}
permissions:
contents: read
packages: write
deployments: write
id-token: write
strategy:
matrix:
name: ['novu/api', 'novu/api-ee']
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-project
- uses: ./.github/actions/setup-redis-cluster
- uses: ./.github/actions/docker/build-api
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
fork: ${{ github.event.pull_request.head.repo.fork }}
docker_name: ${{ matrix.name }}

test_providers:
name: Unit Test Providers
runs-on: ubuntu-latest
Expand Down

0 comments on commit f415bcf

Please sign in to comment.