Skip to content

Commit 08eaf86

Browse files
committed
Remove tests execution in deploy workflow (#20)
* Remove tests execution in deploy workflow * Set metrics scrape interval to 5s
1 parent 40fca91 commit 08eaf86

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/deploy.yml

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ jobs:
1010
- name: Check out repository code
1111
uses: actions/checkout@v2
1212

13-
- run: pip install -r requirements.txt
14-
- run: python -m unittest
15-
1613
- name: Log in to Docker Hub
1714
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
1815
with:

docker/prometheus/prometheus.yml

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ scrape_configs:
44
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
55
- job_name: 'prometheus'
66

7+
scrape_interval: 5s
8+
79
# metrics_path defaults to '/metrics'
810
# scheme defaults to 'http'.
911

@@ -12,6 +14,9 @@ scrape_configs:
1214

1315
# Create a job for Docker Swarm containers.
1416
- job_name: 'dockerswarm'
17+
18+
scrape_interval: 5s
19+
1520
dockerswarm_sd_configs:
1621
- host: unix:///var/run/docker.sock
1722
role: tasks

0 commit comments

Comments
 (0)