Skip to content

Commit

Permalink
Merge branch 'main' into kb/secrets-in-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJBoyer committed Jun 24, 2024
2 parents 870ed31 + e6093b3 commit 709f536
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 0 additions & 3 deletions app/docker-compose.debug.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
version: "3.8"

# run with `docker compose -f`
# combines ports and env vars with the main docker-compose.yml main-app service

services:
main-app:
build:
Expand Down
2 changes: 0 additions & 2 deletions app/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:

main-db:
Expand Down
7 changes: 6 additions & 1 deletion app/tests/src/db/test_bulk_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ class Number:
num: int


_next_id = 0


def get_random_number_object() -> Number:
global _next_id
_next_id += 1
return Number(
id=str(random.randint(1000000, 9999999)),
id=str(_next_id),
num=random.randint(1, 10000),
)

Expand Down

0 comments on commit 709f536

Please sign in to comment.