Skip to content

Commit

Permalink
fix: Fix some search & replace too many, where I mistook `docker-comp…
Browse files Browse the repository at this point in the history
…ose-deploy.yml` for a `docker-compose` command
  • Loading branch information
drikusroor committed Sep 24, 2024
1 parent 3490098 commit 675afeb
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ jobs:
echo "VITE_SENTRY_DSN=$FRONTEND_SENTRY_DSN" >> .env
cp .env frontend/.env
- name: Build Podman images
run: podman-compose -f docker compose-deploy.yml build
run: podman-compose -f docker-compose-deploy.yml build
- name: Shut down running containers
run: podman compose -f docker compose-deploy.yml down
run: podman compose -f docker-compose-deploy.yml down
- name: Deploy Podman images
run: podman-compose -f docker compose-deploy.yml up -d
run: podman-compose -f docker-compose-deploy.yml up -d
- name: Notify Sentry of new release
run: |
curl -X POST "https://sentry.io/api/0/organizations/uva-aml/releases/" \
Expand All @@ -101,15 +101,15 @@ jobs:
- name: Prune old images
run: podman image prune -a -f
- name: Check Podman images
run: podman-compose -f docker compose-deploy.yml ps
run: podman-compose -f docker-compose-deploy.yml ps
- name: Check logs
run: podman-compose -f docker compose-deploy.yml logs
run: podman-compose -f docker-compose-deploy.yml logs

deploy-acceptance:
name: Deploy to acceptance environment
environment: Acceptance
runs-on: ACC

# this job runs only on commits to the main branch, tags, or when manually triggered for the main branch
if: github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main')
concurrency:
Expand Down Expand Up @@ -171,11 +171,11 @@ jobs:
echo "VITE_SENTRY_DSN=$FRONTEND_SENTRY_DSN" >> .env
cp .env frontend/.env
- name: Build Podman images
run: podman-compose -f docker compose-deploy.yml build
run: podman-compose -f docker-compose-deploy.yml build
- name: Shut down running containers
run: podman compose -f docker compose-deploy.yml down
run: podman compose -f docker-compose-deploy.yml down
- name: Deploy Podman images
run: podman-compose -f docker compose-deploy.yml up -d
run: podman-compose -f docker-compose-deploy.yml up -d
- name: Notify Sentry of new release
run: |
curl -X POST "https://sentry.io/api/0/organizations/uva-aml/releases/" \
Expand All @@ -193,9 +193,9 @@ jobs:
- name: Prune old images
run: podman image prune -a -f
- name: Check Podman images
run: podman-compose -f docker compose-deploy.yml ps
run: podman-compose -f docker-compose-deploy.yml ps
- name: Check logs
run: podman-compose -f docker compose-deploy.yml logs
run: podman-compose -f docker-compose-deploy.yml logs

deploy-production:
name: Deploy to production environment
Expand Down Expand Up @@ -260,11 +260,11 @@ jobs:
echo "VITE_SENTRY_DSN=$FRONTEND_SENTRY_DSN" >> .env
cp .env frontend/.env
- name: Build Podman images
run: podman-compose -f docker compose-deploy.yml build
run: podman-compose -f docker-compose-deploy.yml build
- name: Shut down running containers
run: podman compose -f docker compose-deploy.yml down
run: podman compose -f docker-compose-deploy.yml down
- name: Deploy Podman images
run: podman-compose -f docker compose-deploy.yml up -d
run: podman-compose -f docker-compose-deploy.yml up -d
- name: Notify Sentry of new release
run: |
curl -X POST "https://sentry.io/api/0/organizations/uva-aml/releases/" \
Expand All @@ -282,8 +282,8 @@ jobs:
- name: Prune old images
run: podman image prune -a -f
- name: Check Podman images
run: podman-compose -f docker compose-deploy.yml ps
run: podman-compose -f docker-compose-deploy.yml ps

e2e-acceptance:
name: E2E tests on acceptance environment
runs-on: ACC
Expand Down

0 comments on commit 675afeb

Please sign in to comment.