Skip to content

Commit

Permalink
chore: removed e2e from pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Apr 28, 2024
1 parent 4015426 commit c71e788
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
e2e-tests:
needs: [ unit-tests ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm --prefix webapp install
- run: npm --prefix webapp run build
# - run: npm --prefix webapp run test:e2e
docker-push-api:
runs-on: ubuntu-latest
needs: [ e2e-tests ]
needs: [ unit-tests ]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -67,7 +56,7 @@ jobs:
SSL_PASSWORD
docker-push-prometheus:
runs-on: ubuntu-latest
needs: [ e2e-tests ]
needs: [ unit-tests ]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -80,7 +69,7 @@ jobs:
workdir: api/monitoring/prometheus
docker-push-grafana:
runs-on: ubuntu-latest
needs: [ e2e-tests ]
needs: [ unit-tests ]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -93,7 +82,7 @@ jobs:
workdir: api/monitoring/grafana
docker-push-kiwiq:
runs-on: ubuntu-latest
needs: [ e2e-tests ]
needs: [ unit-tests ]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -109,14 +98,11 @@ jobs:
permissions:
contents: read
packages: write
needs: [ e2e-tests ]
needs: [ unit-tests ]
steps:

- uses: actions/checkout@v4

- name: Create .env file
run: echo "REACT_APP_API_ENDPOINT=https://${{ secrets.DEPLOY_HOST }}:8443" > webapp/.env

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
env:
Expand All @@ -132,7 +118,7 @@ jobs:
REACT_APP_API_ENDPOINT
docker-push-question-generator:
runs-on: ubuntu-latest
needs: [ e2e-tests ]
needs: [ unit-tests ]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand Down Expand Up @@ -175,4 +161,4 @@ jobs:
echo "SSL_PASSWORD=${{ secrets.SSL_PASSWORD }}" >> .env
docker compose --profile prod down
docker compose --profile prod up -d --pull always
docker image prune -f
docker image prune -f

0 comments on commit c71e788

Please sign in to comment.