Ignore dashboard files touched during deployment
This commit is contained in:

committed by
Maximilian Paß

parent
0c9ffea369
commit
dc562ba7fd
3
.github/workflows/python-ci.yml
vendored
3
.github/workflows/python-ci.yml
vendored
@ -23,6 +23,9 @@ jobs:
|
||||
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
||||
- run: pipenv install
|
||||
working-directory: deploy/grafana-dashboard
|
||||
- name: Use Sample Environments
|
||||
run: cp environments.json.sample environments.json
|
||||
working-directory: deploy/grafana-dashboard
|
||||
- name: Create Grafana Dashboard JSON
|
||||
run: pipenv run python main.py
|
||||
working-directory: deploy/grafana-dashboard
|
||||
|
6
deploy/grafana-dashboard/.gitignore
vendored
6
deploy/grafana-dashboard/.gitignore
vendored
@ -1,2 +1,8 @@
|
||||
# Ignore the generated json encoded dashboard.
|
||||
main.json
|
||||
|
||||
# Ignore the current environments required for generating the dashboard.
|
||||
environments.json
|
||||
|
||||
# Ignore the Grafana dashboard deployment files.
|
||||
dashboards/
|
||||
|
0
deploy/grafana-dashboard/dashboards/.keep
Normal file
0
deploy/grafana-dashboard/dashboards/.keep
Normal file
Reference in New Issue
Block a user