Remove unneeded exposed ports on osquery-in-a-box minio to avoid host-port conflicts (#30416)

Also ensures we run integration tests when docker-compose files used by
`fleetctl preview` are changed, so we don't merge any more test failures
due to those.
This commit is contained in:
Ian Littman
2025-06-29 12:40:17 -05:00
committed by GitHub
parent 9227b2da90
commit dfaad610d9
2 changed files with 4 additions and 3 deletions
+4
View File
@@ -11,6 +11,8 @@ on:
- 'go.mod'
- 'go.sum'
- '.github/workflows/test-go.yaml'
- 'tools/osquery/in-a-box/docker-compose.yml'
- 'tools/osquery/in-a-box/osquery/docker-compose.yml'
- 'server/authz/policy.rego'
- 'docker-compose.yml'
pull_request:
@@ -19,6 +21,8 @@ on:
- 'go.mod'
- 'go.sum'
- '.github/workflows/test-go.yaml'
- 'tools/osquery/in-a-box/docker-compose.yml'
- 'tools/osquery/in-a-box/osquery/docker-compose.yml'
- 'server/authz/policy.rego'
- 'docker-compose.yml'
workflow_dispatch: # Manual
@@ -139,9 +139,6 @@ services:
image: quay.io/minio/minio
entrypoint: sh
command: -c 'mkdir -p /data/software-installers-preview && /usr/bin/minio server /data --console-address ":9001"'
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123!