Skip to content

Commit

Permalink
Porkbun Integration (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyja committed Mar 19, 2024
1 parent f9b870a commit 22ab9b0
Show file tree
Hide file tree
Showing 25 changed files with 2,100 additions and 326 deletions.
1 change: 1 addition & 0 deletions .dockerignore
@@ -1,3 +1,4 @@
# flyctl launch added from .gitignore
target
fly.toml
.envrc
25 changes: 24 additions & 1 deletion .github/workflows/hurl_tests.yml
Expand Up @@ -9,6 +9,29 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
SQLX_OFFLINE: 1
PORKBUN_API_KEY: FAKE
PORKBUN_SECRET_API_KEY: FAKE
CRON_DISABLED: true
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -26,4 +49,4 @@ jobs:
with:
command: hurl hurl/*.hurl
start: cargo run
wait-on: "http://localhost:3001"
wait-on: "http://localhost:3000"
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
/target
.envrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22ab9b0

Please sign in to comment.