Skip to content

Commit a6078ad

Browse files
committed
ci: fix yaml linting errors and warnings for pipeline compatibility
1 parent 34c3aaa commit a6078ad

3 files changed

Lines changed: 19 additions & 16 deletions

File tree

.github/workflows/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: PR Labeler (Scaffold)
22

3+
env:
4+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
5+
36
"on":
47
pull_request_target:
58
types: [opened, synchronize]
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: QuanuX GCP Engine - Kernel & Memory Physics Tuning
33
hosts: quanux_annex_node
4-
become: yes
4+
become: true
55
tasks:
66
- name: Disable Transparent Huge Pages (THP) to preserve runtime determinism
77
shell: echo never > /sys/kernel/mm/transparent_hugepage/enabled
@@ -13,21 +13,21 @@
1313
lineinfile:
1414
path: /etc/sysfs.conf
1515
line: "kernel/mm/transparent_hugepage/enabled = never"
16-
create: yes
16+
create: true
1717

1818
- name: Configure Static Hugepages and CPU Isolation in GRUB
1919
lineinfile:
2020
path: /etc/default/grub
2121
regexp: '^GRUB_CMDLINE_LINUX_DEFAULT='
2222
line: 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2-7 default_hugepagesz=1G hugepagesz=1G hugepages=16"'
23-
23+
2424
- name: Update GRUB
2525
command: update-grub
2626

2727
- name: Apply QuanuX Low-Latency Network Fabric sysctl parameters
2828
blockinfile:
2929
path: /etc/sysctl.d/99-quanux-gcp.conf
30-
create: yes
30+
create: true
3131
block: |
3232
# QuanuX Low-Latency VPC tuning for c2-standard fabric
3333
net.core.rmem_max=16777216
@@ -36,6 +36,6 @@
3636
net.ipv4.tcp_wmem=4096 65536 16777216
3737
net.ipv4.tcp_low_latency=1
3838
net.core.netdev_max_backlog=5000
39-
39+
4040
- name: Reload sysctl definitions
4141
command: sysctl --system

QuanuX-Infra/ansible/07-gcp-engine-start.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
---
22
- name: QuanuX GCP Engine - Initialization & Pipeline Boot
33
hosts: quanux_annex_node
4-
become: yes
4+
become: true
55
tasks:
66
- name: Install system dependencies for C++ Compilation
77
apt:
8-
name:
8+
name:
99
- build-essential
1010
- python3-dev
1111
- python3-pip
1212
- cython3
1313
state: present
14-
update_cache: yes
14+
update_cache: true
1515

1616
- name: Extract and deploy CNATS JetStream fabric
1717
shell: "curl -sfL https://binaries.nats.dev/nats-io/nats-server/v2@latest | sh"
1818
args:
1919
creates: /usr/local/bin/nats-server
2020
executable: /bin/bash
21-
21+
2222
- name: Create NATS configuration directory
2323
file:
2424
path: /etc/nats
2525
state: directory
26-
26+
2727
- name: Configure JetStream
2828
copy:
2929
dest: /etc/nats/nats-server.conf
@@ -35,7 +35,7 @@
3535
max_mem: 1G
3636
max_file: 10G
3737
}
38-
38+
3939
- name: Initialize NATS Systemd Service (Strict Fail-Closed)
4040
copy:
4141
dest: /etc/systemd/system/nats.service
@@ -51,13 +51,13 @@
5151
5252
[Install]
5353
WantedBy=multi-user.target
54-
54+
5555
- name: Enable and Start CNATS Fabric
5656
systemd:
5757
name: nats
58-
enabled: yes
58+
enabled: true
5959
state: restarted
60-
daemon_reload: yes
60+
daemon_reload: true
6161

6262
- name: Sync QuanuX Repository State
6363
synchronize:
@@ -97,6 +97,6 @@
9797
- name: Enable and Start Annex subsystem
9898
systemd:
9999
name: quanux-annex
100-
enabled: yes
100+
enabled: true
101101
state: restarted
102-
daemon_reload: yes
102+
daemon_reload: true

0 commit comments

Comments
 (0)