Skip to content

Commit

Permalink
fix(testutils): set correct server info (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Apr 29, 2024
1 parent 4d5c0d0 commit 7fbe896
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ jobs:
- name: Go deps
run: go mod download

- name: Generate
run: |
go run github.com/steebchen/prisma-client-go migrate deploy
task generate-all
task generate-certs
task generate-local-encryption-keys
- name: Prepare
run: |
cat > .env <<EOF
Expand All @@ -179,6 +172,13 @@ jobs:
SERVER_AUTH_SET_EMAIL_VERIFIED=true
EOF
- name: Generate
run: |
go run github.com/steebchen/prisma-client-go migrate deploy
task generate-all
task generate-certs
task generate-local-encryption-keys
- name: Run engine
run: |
set -a
Expand Down Expand Up @@ -232,13 +232,6 @@ jobs:
- name: Go deps
run: go mod download

- name: Generate
run: |
go run github.com/steebchen/prisma-client-go migrate deploy
task generate-all
task generate-certs
task generate-local-encryption-keys
- name: Prepare
run: |
cat > .env <<EOF
Expand All @@ -254,6 +247,13 @@ jobs:
SERVER_AUTH_SET_EMAIL_VERIFIED=true
EOF
- name: Generate
run: |
go run github.com/steebchen/prisma-client-go migrate deploy
task generate-all
task generate-certs
task generate-local-encryption-keys
- name: Setup
run: |
set -a
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tasks:
SERVER_ENCRYPTION_JWT_PUBLIC_KEYSET_FILE=./hack/dev/encryption-keys/public_ec256.key
SERVER_PORT=8080
SERVER_URL=https://app.dev.hatchet-tools.com
SERVER_URL=http://localhost:8080
SERVER_AUTH_COOKIE_SECRETS="$(randstring 16) $(randstring 16)"
SERVER_AUTH_COOKIE_DOMAIN=app.dev.hatchet-tools.com
Expand Down

0 comments on commit 7fbe896

Please sign in to comment.