-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build binary in Makefile with the right flags * Fix Python integration tests in Makefile * Fix gitignore for Python integration tests * Refactor how integration tests are run - remove extra Dockerfiles and use the existing one instead - move docker-compose.yml to the root of the repository - cache building of the Docker image - do not clean the services when stopping them, but instead in a separate make target - run integration tests as a mounted volume instead of copying them into the container - introduce helpers to get the environment variables for the integration tests and provide defaults for them - add BuildX to CI * Add Docker in Docker to devcontainer * Rename source dir to fasttrackml within devcontainer * Default to debug log level in devcontainer
- Loading branch information
1 parent
44bf749
commit 94b3862
Showing
27 changed files
with
150 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
services: | ||
service: | ||
build: | ||
context: . | ||
args: | ||
tags: netgo osusergo sqlite_foreign_keys sqlite_math_functions sqlite_omit_load_extension sqlite_unlock_notify sqlite_vacuum_incr | ||
depends_on: | ||
- postgres | ||
environment: | ||
FML_DATABASE_URI: postgres://postgres:postgres@postgres/postgres | ||
FML_LOG_LEVEL: debug | ||
|
||
postgres: | ||
image: postgres:latest | ||
environment: | ||
- POSTGRES_PASSWORD=postgres | ||
|
||
integration-tests: | ||
image: golang:1.20 | ||
command: make test-go-integration | ||
volumes: | ||
- .:/go/src | ||
- go-cache:/go/pkg | ||
working_dir: /go/src | ||
depends_on: | ||
- service | ||
- postgres | ||
environment: | ||
FML_DATABASE_URI: postgres://postgres:postgres@postgres/postgres | ||
FML_SERVICE_URI: http://service:5000 | ||
|
||
volumes: | ||
go-cache: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.