Skip to content

chore(deps): update dependency node to v22 #2718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
3c6d8f3
docs: Updating the vendor documentation with the correct port number …
cwadhwani-splunk Jan 16, 2025
78bb3e5
feat: Add a health check endpoint (#2670)
mstopa-splunk Jan 16, 2025
0492dcf
docs: Updated the dead links on create-parser page (#2665)
cwadhwani-splunk Jan 16, 2025
334f2f0
chore(deps): update splunk/addonfactory-test-matrix-action action to …
renovate[bot] Jan 16, 2025
623cea7
docs: add "Architecture and Load Balancers" (#2574)
mstopa-splunk Jan 16, 2025
be77057
fix: CVE (#2660)
ikheifets-splunk Jan 16, 2025
5797cc0
docs: update NGINX health_check command usage
mstopa-splunk Jan 17, 2025
df0f0ff
docs: update NGINX health_check command usage
mstopa-splunk Jan 17, 2025
61c7061
fix: poetry export after 2.0 (#2678)
ikheifets-splunk Jan 20, 2025
5703173
fix: rebuild docker image after alpine security fixes (#2687)
ikheifets-splunk Jan 30, 2025
364550b
Merge branch 'main' into develop
sbylica-splunk Feb 3, 2025
bf1eba8
docs: Describe load balancing with F5 (#2677)
mstopa-splunk Feb 10, 2025
6c52c7d
fix: resolve sonarqube reported issues (#2690)
sbylica-splunk Feb 25, 2025
7daf590
Changed rhel version in docs (#2699)
sbylica-splunk Feb 27, 2025
ac00225
Added support for multiple destinations in healthcheck (#2704)
sbylica-splunk Mar 11, 2025
fce2007
docs: remove experimental status for EP (#2714)
ikheifets-splunk Mar 20, 2025
0998d28
docs: Updated the splunk add-on link in the panos documentation (#2695)
cwadhwani-splunk Apr 2, 2025
124804b
feat: Added support for vectra json logs (#2694)
cwadhwani-splunk Apr 2, 2025
97587da
chore: add netapp tests (#2705)
ajasnosz Apr 4, 2025
8773f38
Merge branch 'main' into develop
cwadhwani-splunk Apr 8, 2025
5cbb2e1
chore(deps): update dependency node to v22
renovate[bot] Apr 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "22"
- name: Semantic Release
id: version
uses: cycjimmy/semantic-release-action@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "22"
- name: Semantic Release
id: version
uses: cycjimmy/semantic-release-action@v3
Expand Down Expand Up @@ -423,7 +423,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "22"
- name: Semantic Release
id: version
uses: cycjimmy/semantic-release-action@v3
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,14 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
- name: Semantic Release
id: version
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 18
extra_plugins: |
@semantic-release/[email protected]

@semantic-release/git
semantic-release-helm
@google/[email protected]
Expand Down Expand Up @@ -450,7 +449,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
- name: Semantic Release
id: version
uses: cycjimmy/semantic-release-action@v3
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ tags
# Persistent undo
[._]*.un~

<<<<<<< HEAD
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

Expand Down
13 changes: 7 additions & 6 deletions ansible/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# install requirements in venv
FROM python:3.10 AS venv_builder
RUN pip install ansible~=6.1.0 --no-cache-dir
RUN pip install pywinrm>=0.4.2 --no-cache-dir
RUN pip install ansible-lint>=6.0.0 --no-cache-dir
RUN pip install ansible~=6.1.0 --no-cache-dir \
&& pip install pywinrm>=0.4.2 --no-cache-dir \
&& pip install ansible-lint>=6.0.0 --no-cache-dir

WORKDIR /opt
COPY ./ansible .
COPY ./charts .

RUN apt-get update -y
RUN apt-get install parallel -y
RUN apt-get install sshpass
RUN apt update -y \
&& apt install --no-install-recommends -y build-essential parallel \
&& apt install --no-install-recommends -y sshpass \
&& apt clean

ENV ANSIBLE_CONFIG /opt/ansible.cfg
ENV ANSIBLE_HOST_KEY_CHECKING False
27 changes: 14 additions & 13 deletions ansible/app/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
version: "3.7"
services:
sc4s:
Expand All @@ -7,18 +8,18 @@ services:
condition: on-failure
image: ghcr.io/splunk/splunk-connect-for-syslog/container3:latest
ports:
- target: 514
published: 514
protocol: tcp
- target: 514
published: 514
protocol: udp
- target: 601
published: 601
protocol: tcp
- target: 6514
published: 6514
protocol: tcp
- target: 514
published: 514
protocol: tcp
- target: 514
published: 514
protocol: udp
- target: 601
published: 601
protocol: tcp
- target: 6514
published: 6514
protocol: tcp
env_file:
- /opt/sc4s/env_file
volumes:
Expand All @@ -30,4 +31,4 @@ services:
# - /opt/sc4s/tls:/etc/syslog-ng/tls:z

volumes:
splunk-sc4s-var:
splunk-sc4s-var:
2 changes: 1 addition & 1 deletion ansible/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
## SPDX-License-Identifier: LicenseRef-Splunk-8-2021
##
##
---
version: "3.7"
services:

ansible_sc4s:
build:
context: ../
Expand Down
3 changes: 2 additions & 1 deletion ansible/inventory/inventory.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
all:
hosts:
children:
node:
hosts:
node_1:
ansible_host:
ansible_host:
1 change: 1 addition & 0 deletions ansible/inventory/inventory_microk8s.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
all:
hosts:
children:
Expand Down
1 change: 1 addition & 0 deletions ansible/inventory/inventory_microk8s_ha.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
all:
hosts:
children:
Expand Down
1 change: 1 addition & 0 deletions ansible/inventory/inventory_swarm.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
all:
hosts:
children:
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: node_1
become: yes
become: true
vars:
iface: "{{ swarm_iface | default('eth0') }}"
tasks:
Expand Down
8 changes: 4 additions & 4 deletions ansible/playbooks/docker_swarm.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: manager[0]
become: yes
become: true
vars:
iface: "{{ swarm_iface | default('eth0') }}"
tasks:
Expand All @@ -10,7 +10,7 @@
- include_tasks: ../tasks/docker_swarm/create_swarm.yml

- hosts: manager, !manager[0]
become: yes
become: true
vars:
iface: "{{ swarm_iface | default('eth0') }}"
tasks:
Expand All @@ -20,14 +20,14 @@
- include_tasks: ../tasks/docker_swarm/join_managers.yml

- hosts: worker
become: yes
become: true
tasks:
- name: Docker installation role
include_role:
name: install_docker
- include_tasks: ../tasks/docker_swarm/join_workers.yml

- hosts: manager[0]
become: yes
become: true
tasks:
- include_tasks: ../tasks/docker_swarm/deploy_stack.yml
5 changes: 3 additions & 2 deletions ansible/playbooks/microk8s.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
- hosts: node_1
become: yes
become: true
vars:
microk8s_plugins:
# Do not provide here metallb here as the installation process is different to standard plugins
# Do not provide here metallb here as the installation process
# is different to standard plugins
helm3: true
dns: true
community: true
Expand Down
10 changes: 6 additions & 4 deletions ansible/playbooks/microk8s_ha.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
- hosts: manager
become: yes
become: true
vars:
microk8s_plugins:
# Do not provide here metallb here as the installation process is different to standard plugins
# Do not provide here metallb here as the installation process
# is different to standard plugins
helm3: true
dns: true
community: true
Expand All @@ -19,10 +20,11 @@
- include_tasks: ../tasks/mk8s/update_etc_hosts.yml

- hosts: workers
become: yes
become: true
vars:
microk8s_plugins:
# Do not provide here metallb here as the installation process is different to standard plugins
# Do not provide here metallb here as the installation process
# is different to standard plugins
helm3: true
dns: true
community: true
Expand Down
2 changes: 1 addition & 1 deletion ansible/playbooks/podman.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: node_1
become: yes
become: true
tasks:
- name: Podman installation role
include_role:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Ensure dependencies are installed
apt:
update-cache: yes
update-cache: true
name:
- ca-certificates
- curl
Expand Down
5 changes: 3 additions & 2 deletions ansible/roles/install_docker/tasks/install_docker_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
- name: Add Docker Repository (RedHat, centOS)
shell: |
dnf install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum-config-manager --add-repo
https://download.docker.com/linux/centos/docker-ce.repo
args:
warn: no
warn: false

- name: Install docker-ce (RedHat, CentOS)
yum:
Expand Down
11 changes: 5 additions & 6 deletions ansible/tasks/docker/deploy_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
file:
path: "{{ item }}"
state: directory
mode: 0755
mode: 0750
loop:
- /opt/sc4s
- /opt/sc4s/tls
Expand All @@ -16,15 +16,15 @@
dest: "/lib/systemd/system/sc4s.service"
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: u=rw,g=rw,o=r
mode: u=rw,g=rw

- name: Copying env_file file on the server
copy:
src: "/opt/ansible/resources/env_file"
dest: "/opt/sc4s/env_file"
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: u=rw,g=rw,o=r
mode: u=rw,g=rw

- name: Create a volume
docker_volume:
Expand All @@ -33,7 +33,6 @@
- name: Enable sc4s service
ansible.builtin.systemd:
name: sc4s
enabled: yes
daemon_reload: yes
enabled: true
daemon_reload: true
state: started

2 changes: 1 addition & 1 deletion ansible/tasks/docker_swarm/create_swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@

- name: "set fact: join_token_worker"
set_fact:
join_token_worker: "{{ join_token_worker_command['stdout'] }}"
join_token_worker: "{{ join_token_worker_command['stdout'] }}"
7 changes: 3 additions & 4 deletions ansible/tasks/docker_swarm/deploy_stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
dest: "/home/{{ ansible_user }}/docker-compose.yml"
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: u=rw,g=rw,o=r
mode: u=rw,g=rw

- name: Create sc4s dependency directories
file:
path: "{{ item }}"
state: directory
mode: 0755
mode: 0750
loop:
- /opt/sc4s
- /opt/sc4s/tls
Expand All @@ -24,7 +24,7 @@
dest: "/opt/sc4s/env_file"
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: u=rw,g=rw,o=r
mode: u=rw,g=rw

- name: Create a volume
docker_volume:
Expand All @@ -36,4 +36,3 @@
name: SC4S
compose:
- "/home/{{ ansible_user }}/docker-compose.yml"

5 changes: 3 additions & 2 deletions ansible/tasks/docker_swarm/join_managers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

- name: v2
add_host:
hostname: "{{ groups['manager'] | map('extract', hostvars, ['ansible_host']) | join(':2377,') }}:2377"
hostname: "{{ groups['manager'] |
map('extract', hostvars, ['ansible_host']) | join(':2377,') }}:2377"
groups: main_nodes_ips_with_port
with_items: "{{ ansible_play_hosts | default(play_hosts) }}"

Expand All @@ -17,4 +18,4 @@
state: join
timeout: 60
join_token: "{{ hostvars[first_swarm_manager_host].join_token_manager }}"
remote_addrs: "{{ groups['main_nodes_ips_with_port'][0] }}:2377"
remote_addrs: "{{ groups['main_nodes_ips_with_port'][0] }}:2377"
5 changes: 3 additions & 2 deletions ansible/tasks/docker_swarm/join_workers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

- name: v2
add_host:
hostname: "{{ groups['manager'] | map('extract', hostvars, ['ansible_host']) | join(':3000,') }}:3000"
hostname: "{{ groups['manager'] | map('extract', hostvars,
['ansible_host']) | join(':3000,') }}:3000"
groups: main_nodes_ips_with_port
with_items: "{{ ansible_play_hosts | default(play_hosts) }}"

Expand All @@ -14,4 +15,4 @@
state: join
timeout: 60
join_token: "{{ hostvars[first_swarm_manager_host].join_token_worker }}"
remote_addrs: "{{ groups['main_nodes_ips_with_port'][0] }}:2377"
remote_addrs: "{{ groups['main_nodes_ips_with_port'][0] }}:2377"
Loading
Loading