Skip to content

Commit

Permalink
adding more .yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Coon committed Apr 18, 2024
1 parent 289d42b commit 9c0f264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backup-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
workflow_dispatch:
jobs:
backup:
runs-on: self-hosted
runs-on: brycelabel
steps:
- name: backup
run: |
CONTAINER_NAME=$(kubectl -n bryce2 get pods --no-headers -o custom-columns=":metadata.name" | grep "blazor-web-db-deployment")
kubectl -n bryce2 exec -t $CONTAINER_NAME -- \
pg_dumpall -c -U postgres \
> /home/bryce/dump.sql
> /home/bryce/dump.sql
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
kubectl create namespace bryce-pr-$PULL_REQUEST_ID || true
kubectl -n bryce-pr-$PULL_REQUEST_ID delete configmap blazor-web-postgres-init || true
kubectl -n bryce-pr-$PULL_REQUEST_ID create configmap blazor-web-postgres-init --from-file=init.sql
kubectl -n bryce-pr-$PULL_REQUEST_ID create configmap blazor-web-postgres-init --from-file=../TestTicket/20240215.01.21.01.sql

0 comments on commit 9c0f264

Please sign in to comment.