Skip to content

Commit

Permalink
feat: allow buying reversion every 5 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Jul 13, 2024
1 parent 30adf54 commit 419de5f
Show file tree
Hide file tree
Showing 19 changed files with 818 additions and 18 deletions.
12 changes: 12 additions & 0 deletions config/tilt/dev.Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,15 @@ def start(landscape, platform, service, port, live):
]

)

reverter_image_name = platform + "-" + service + "-reverter"
docker_build(
reverter_image_name,
'.',
dockerfile = './infra/dev.Dockerfile',
entrypoint='bun run ./src/index.ts reverter',
live_update=[
sync('.', '/app'),
]

)
8 changes: 8 additions & 0 deletions config/tilt/prod.Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ def start(landscape, platform, service, port, live):
dockerfile = './infra/Dockerfile',
)

# build API image
reverter_image_name = platform + "-" + service + "-reverter"
docker_build(
reverter_image_name,
'.',
dockerfile = './infra/Dockerfile',
)

# Add Link
k8s_resource(
workload = api_image_name,
Expand Down
Loading

0 comments on commit 419de5f

Please sign in to comment.