refactor-servers-workstations-shell-monitoring #4
@ -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