Skip to content

Commit 376a1f1

Browse files
committed
Move Dockerfile to project root and remove tests/ directory
1 parent 53403a1 commit 376a1f1

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

.dockerignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
/pkgstats
44
/pkgstats-cli
55
/*.out
6-
/tests/integration/Dockerfile
7-
/tests/build
6+
/Dockerfile
File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ The `pkgstats` project is structured as follows:
172172
- `system/`: Gathers system information like CPU architecture.
173173
- `main.go`: The main entry point of the application.
174174
- `justfile`: Contains the `just` commands for development and testing.
175-
- `tests/`: Contains the integration test Dockerfile.
175+
- `Dockerfile`: Integration test container used by `just test-integration`.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ go 1.26
44

55
require (
66
github.com/spf13/cobra v1.10.2
7-
github.com/spf13/pflag v1.0.10
87
github.com/spf13/viper v1.21.0
98
golang.org/x/sys v0.41.0
109
)
@@ -19,6 +18,7 @@ require (
1918
github.com/sagikazarmark/locafero v0.12.0 // indirect
2019
github.com/spf13/afero v1.15.0 // indirect
2120
github.com/spf13/cast v1.10.0 // indirect
21+
github.com/spf13/pflag v1.0.10 // indirect
2222
github.com/subosito/gotenv v1.6.0 // indirect
2323
go.yaml.in/yaml/v3 v3.0.4 // indirect
2424
golang.org/x/text v0.34.0 // indirect

just/dev.just

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ test-os-detection: aarch64::test-os-detection arm::test-os-detection i686::test-
4646
# run integration tests with a mocked API server
4747
[group('test')]
4848
test-integration:
49-
docker buildx build --pull . -f tests/integration/Dockerfile -t pkgstats-test-integration
49+
docker buildx build --pull . -t pkgstats-test-integration
5050

5151
# run all available tests
5252
[group('test')]

0 commit comments

Comments
 (0)