CI: fix remaining errors
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m18s
CI / lint-and-test (pull_request) Successful in 1m23s
CI / ansible-validation (pull_request) Successful in 3m2s
CI / secret-scanning (pull_request) Successful in 1m20s
CI / dependency-scan (pull_request) Successful in 1m24s
CI / sast-scan (pull_request) Successful in 2m39s
CI / license-check (pull_request) Successful in 1m24s
CI / vault-check (pull_request) Successful in 2m19s
CI / playbook-test (pull_request) Successful in 2m25s
CI / container-scan (pull_request) Successful in 1m50s
CI / sonar-analysis (pull_request) Successful in 2m33s
CI / workflow-summary (pull_request) Successful in 1m17s
All checks were successful
CI / skip-ci-check (pull_request) Successful in 1m18s
CI / lint-and-test (pull_request) Successful in 1m23s
CI / ansible-validation (pull_request) Successful in 3m2s
CI / secret-scanning (pull_request) Successful in 1m20s
CI / dependency-scan (pull_request) Successful in 1m24s
CI / sast-scan (pull_request) Successful in 2m39s
CI / license-check (pull_request) Successful in 1m24s
CI / vault-check (pull_request) Successful in 2m19s
CI / playbook-test (pull_request) Successful in 2m25s
CI / container-scan (pull_request) Successful in 1m50s
CI / sonar-analysis (pull_request) Successful in 2m33s
CI / workflow-summary (pull_request) Successful in 1m17s
- Whitelist 0BSD license (for tslib dependency) - Fix roles_path to use absolute path: /workspace/ilia/ansible/roles (relative 'roles' was searching in wrong directories) - Add Node.js install step before checkout in sonar-analysis job (actions/checkout@v4 requires node runtime) All make test and npm test checks pass locally
This commit is contained in:
parent
64f7273ddd
commit
85e475b36d
@ -107,7 +107,7 @@ jobs:
|
|||||||
cat > /tmp/ci-ansible.cfg <<'EOF'
|
cat > /tmp/ci-ansible.cfg <<'EOF'
|
||||||
[defaults]
|
[defaults]
|
||||||
inventory = /tmp/ci-inventory.ini
|
inventory = /tmp/ci-inventory.ini
|
||||||
roles_path = roles
|
roles_path = /workspace/ilia/ansible/roles
|
||||||
host_key_checking = False
|
host_key_checking = False
|
||||||
stdout_callback = yaml
|
stdout_callback = yaml
|
||||||
bin_ansible_callbacks = True
|
bin_ansible_callbacks = True
|
||||||
@ -258,7 +258,7 @@ jobs:
|
|||||||
if [ -f "package.json" ]; then
|
if [ -f "package.json" ]; then
|
||||||
npm ci
|
npm ci
|
||||||
# Exclude the repo itself (private=true packages are treated as UNLICENSED by license-checker).
|
# Exclude the repo itself (private=true packages are treated as UNLICENSED by license-checker).
|
||||||
license-checker --excludePrivatePackages --onlyAllow 'MIT;Apache-2.0;BSD-3-Clause;ISC;BSD-2-Clause;Python-2.0;BlueOak-1.0.0'
|
license-checker --excludePrivatePackages --onlyAllow 'MIT;Apache-2.0;BSD-3-Clause;ISC;BSD-2-Clause;Python-2.0;BlueOak-1.0.0;0BSD'
|
||||||
else
|
else
|
||||||
echo "No package.json found, skipping license check"
|
echo "No package.json found, skipping license check"
|
||||||
fi
|
fi
|
||||||
@ -362,7 +362,7 @@ jobs:
|
|||||||
cat > /tmp/ci-ansible.cfg <<'EOF'
|
cat > /tmp/ci-ansible.cfg <<'EOF'
|
||||||
[defaults]
|
[defaults]
|
||||||
inventory = /tmp/ci-inventory.ini
|
inventory = /tmp/ci-inventory.ini
|
||||||
roles_path = roles
|
roles_path = /workspace/ilia/ansible/roles
|
||||||
host_key_checking = False
|
host_key_checking = False
|
||||||
stdout_callback = yaml
|
stdout_callback = yaml
|
||||||
bin_ansible_callbacks = True
|
bin_ansible_callbacks = True
|
||||||
@ -492,6 +492,12 @@ jobs:
|
|||||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Node.js for checkout action
|
||||||
|
run: |
|
||||||
|
apt-get update && apt-get install -y curl
|
||||||
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||||
|
apt-get install -y nodejs
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user