mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-24 11:12:58 +02:00
Change config file permissions in GH Action
This commit is contained in:
15
.github/workflows/runonce.yml
vendored
15
.github/workflows/runonce.yml
vendored
@@ -33,6 +33,11 @@ jobs:
|
|||||||
- name: Build MetricCollector
|
- name: Build MetricCollector
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
|
- name: Set config file permissions
|
||||||
|
run: |
|
||||||
|
chown $USER .github/ci*.json
|
||||||
|
chmod 0600 .github/ci*.json
|
||||||
|
|
||||||
- name: Run MetricCollector once
|
- name: Run MetricCollector once
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||||
|
|
||||||
@@ -59,6 +64,11 @@ jobs:
|
|||||||
- name: Build MetricCollector
|
- name: Build MetricCollector
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
|
- name: Set config file permissions
|
||||||
|
run: |
|
||||||
|
chown $USER .github/ci*.json
|
||||||
|
chmod 0600 .github/ci*.json
|
||||||
|
|
||||||
- name: Run MetricCollector once
|
- name: Run MetricCollector once
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||||
|
|
||||||
@@ -85,6 +95,11 @@ jobs:
|
|||||||
- name: Build MetricCollector
|
- name: Build MetricCollector
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
|
- name: Set config file permissions
|
||||||
|
run: |
|
||||||
|
chown $USER .github/ci*.json
|
||||||
|
chmod 0600 .github/ci*.json
|
||||||
|
|
||||||
- name: Run MetricCollector once
|
- name: Run MetricCollector once
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user