Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum committed Nov 28, 2023
1 parent f5b9b20 commit f9f66ce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,16 @@ platform:
os: linux
steps:
- commands:
- docker run --rm -v /drone/src/integration-tests/configs/mimir/mimir.yaml:/mimir.yaml
alpine ls -la /mimir.yaml
- docker run --rm -v /drone/src/integration-tests/tests/otlp-metrics/config.river:/config.river
alpine ls -la /config.river
- docker run --rm -v /drone/src/integration-tests/tests/scrape-prom-metrics/config.river:/config.river
alpine ls -la /config.river
- docker run --rm -v /drone/src/integration-tests/tests/read-log-file/config.river:/config.river
alpine ls -la /config.river
- docker run --rm -v /drone/src/integration-tests/tests/read-log-file/logs.txt:/logs.txt
alpine ls -la /logs.txt
- make integration-test
image: grafana/agent-build-image:0.30.4
name: Run integration tests
Expand Down Expand Up @@ -1449,6 +1459,6 @@ kind: secret
name: updater_private_key
---
kind: signature
hmac: b2804fac3a22d71112243d8736f990aec7cdabec5cf2df35bd33dfbfd0e9724e
hmac: 54b112e1c61a2a02cf822923d35cec7b5a9229441768f71d8c04caef434c2908

...
5 changes: 5 additions & 0 deletions .drone/pipelines/test.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ local pipelines = import '../util/pipelines.jsonnet';
path: '/var/run/docker.sock',
}],
commands: [
'docker run --rm -v /drone/src/integration-tests/configs/mimir/mimir.yaml:/mimir.yaml alpine ls -la /mimir.yaml',
'docker run --rm -v /drone/src/integration-tests/tests/otlp-metrics/config.river:/config.river alpine ls -la /config.river',
'docker run --rm -v /drone/src/integration-tests/tests/scrape-prom-metrics/config.river:/config.river alpine ls -la /config.river',
'docker run --rm -v /drone/src/integration-tests/tests/read-log-file/config.river:/config.river alpine ls -la /config.river',
'docker run --rm -v /drone/src/integration-tests/tests/read-log-file/logs.txt:/logs.txt alpine ls -la /logs.txt',
'make integration-test',
],
}],
Expand Down

0 comments on commit f9f66ce

Please sign in to comment.