mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Change config file permissions in GH Action
This commit is contained in:
parent
03d5486413
commit
b9e6f50d5f
17
.github/workflows/runonce.yml
vendored
17
.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
|
||||||
|
|
||||||
@ -331,4 +346,4 @@ jobs:
|
|||||||
id: dpkg-build
|
id: dpkg-build
|
||||||
run: |
|
run: |
|
||||||
export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH
|
export PATH=/usr/local/go/bin:/usr/local/go/pkg/tool/linux_amd64:$PATH
|
||||||
make DEB
|
make DEB
|
||||||
|
Loading…
Reference in New Issue
Block a user