inventory_ipmi_hostname: "10.30.50.56"
cpu_microarchitecture: "sapphirerapids"
-docker_sut: true
intel_800_matrix: "dpdk24.07"
mellanox_matrix: "dpdk24.07"
inventory_ipmi_hostname: "10.30.50.58"
cpu_microarchitecture: "sapphirerapids"
-docker_sut: true
intel_800_matrix: "dpdk24.07"
mellanox_matrix: "dpdk24.07"
tags: vault
- role: prometheus_exporter
tags: prometheus_exporter
- - role: jenkins_job_health_exporter
- tags: jenkins_job_health_exporter
- role: cleanup
tags: cleanup
---
# file: tasks/main.yaml
-- name: Add permanent proxy settings
- ansible.builtin.lineinfile:
- path: "/etc/environment"
- state: "present"
- line: "{{ item.key }}={{ item.value }}"
- with_dict: "{{ proxy_env }}"
- when: proxy_env is defined
- tags:
- - common-conf-proxy
-
- name: Update Repositories Cache
ansible.builtin.apt:
update_cache: true
- "patchutils"
- "libboost-dev"
- "libboost-regex-dev"
- #- "libudev-dev" #http://security.ubuntu.com/ubuntu/pool/main/s/systemd/
- "yasm"
packages_by_arch:
dsa: "4.0"
intel_qat_compatibility_matrix:
- qat2: "1.0.20-00008"
+ qat2: "1.1.50-00003"
qat1: "4.27.0-00006"
intel_i40e_url:
"4.0": "https://github.com/intel/idxd-config/archive/refs/tags/accel-config-v4.0.tar.gz"
intel_qat_url:
- "1.0.20-00008": "777529/QAT20.L.1.0.20-00008.tar.gz"
- "4.22.0-00001": "780675/QAT.L.4.22.0-00001.tar.gz"
+ "1.1.50-00003": "822703/QAT20.L.1.1.50-00003.tar.gz"
"4.27.0-00006": "838409/QAT.L.4.27.0-00006.tar.gz"
\ No newline at end of file
with_items:
- "wget http://security.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_255.4-1ubuntu8.4_amd64.deb"
- "dpkg -i ./libudev-dev_255.4-1ubuntu8.4_amd64.deb"
- - "apt install libudev-dev nasm libnl-genl-3-dev"
+ - "apt install -y libudev-dev nasm libnl-genl-3-dev"
- "./configure --enable-icp-sriov=host"
- "make"
- "make install"
+++ /dev/null
----
-# file: roles/jenkins_job_health_exporter/defaults/main.yaml
-
-# Conf - Jenkins Job Health Exporter.
-jenkins_host: "jenkins.fd.io"
-poll_interval_sec: 1800
-req_timeout_sec: 30
-bind_to: "0.0.0.0:9186"
-last_builds: 10
-jobs:
- - "vpp-csit-verify-api-crc-master-ubuntu2204-x86_64"
- - "vpp-gcc-verify-master-ubuntu2204-x86_64"
- - "vpp-verify-master-ubuntu2204-aarch64"
- - "vpp-verify-master-ubuntu2204-x86_64"
- - "vpp-debug-verify-master-ubuntu2204-x86_64"
- - "vpp-checkstyle-verify-master-ubuntu2204-x86_64"
- - "vpp-docs-verify-master-ubuntu2204-x86_64"
- - "vpp-csit-verify-device-master-ubuntu2204-x86_64-1n-skx"
- - "vpp-csit-verify-device-master-ubuntu2204-aarch64-1n-tx2"
-
-# Conf - Service.
-jenkins_job_health_exporter_restart_handler_state: "restarted"
-
-# Inst - System paths.
-jenkins_job_health_exporter_target_dir: "/usr/bin"
-jenkins_job_health_exporter_conf_dir: "/etc"
-jenkins_job_health_exporter_url: "https://github.com/ayourtch/jenkins-job-health-exporter/releases/download"
-jenkins_job_health_exporter_version: "v0.0.3"
+++ /dev/null
----
-# file roles/jenkins_job_health_exporter/handlers/main.yaml
-
-- name: Restart Jenkins Job Health Exporter
- ansible.builtin.systemd:
- daemon_reload: true
- enabled: true
- name: "jenkins-job-health-exporter"
- state: "{{ jenkins_job_health_exporter_restart_handler_state }}"
+++ /dev/null
----
-# file: roles/jenkins_job_health_exporter/tasks/main.yaml
-
-- name: Conf - Jenkins Job Health Exporter Config
- ansible.builtin.template:
- src: "templates/jenkins-job-health-exporter.j2"
- dest: "/etc/jenkins-job-health-exporter.json"
- owner: "root"
- group: "root"
- mode: "0644"
- when:
- - ansible_hostname == "s22-nomad"
- tags:
- - conf-jenkins-job-json
-
-- name: Inst - Jenkins Job Health Exporter Binary
- ansible.builtin.get_url:
- url: "{{ jenkins_job_health_exporter_url }}/{{ jenkins_job_health_exporter_version }}/jenkins-job-health-exporter"
- dest: "{{ jenkins_job_health_exporter_target_dir }}/jenkins-job-health-exporter"
- mode: "0755"
- when:
- - ansible_hostname == "s22-nomad"
- tags:
- - inst-jenkins-job-binary
-
-- name: Inst - Jenkins Job Health Exporter Service
- ansible.builtin.template:
- src: "templates/jenkins-job-health-exporter.service.j2"
- dest: "/lib/systemd/system/jenkins-job-health-exporter.service"
- owner: "root"
- group: "root"
- mode: "0644"
- when:
- - ansible_hostname == "s22-nomad"
- notify:
- - "Restart Jenkins Job Health Exporter"
- tags:
- - inst-jenkins-job-service
+++ /dev/null
-{
- "jenkins_host": "{{ jenkins_host }}",
- "poll_interval_sec": {{ poll_interval_sec }},
- "req_timeout_sec": {{ req_timeout_sec }},
- "bind_to": "{{ bind_to }}",
- "last_builds": {{ last_builds }},
- "jobs": [
-{% for item in jobs %}
- "{{ item }}"
-{%- if not loop.last %},
-{% endif %}
-{% endfor %}
-
- ],
- "verbose": 3
-}
\ No newline at end of file
+++ /dev/null
-[Unit]
-Description=Jenkins Job Health Exporter
-Documentation=https://github.com/ayourtch/jenkins-job-health-exporter
-
-[Service]
-Restart=always
-ExecStart={{ jenkins_job_health_exporter_target_dir }}/jenkins-job-health-exporter {{ jenkins_job_health_exporter_conf_dir }}/jenkins-job-health-exporter.json
-ExecReload=/bin/kill -HUP $MAINPID
-TimeoutStopSec=20s
-SendSIGKILL=no
-
-[Install]
-WantedBy=multi-user.target
\ No newline at end of file
default = "Csit1234"
}
-source "amazon-ebs" "csit_ubuntu_jammy_x86_sut" {
- ami_name = "csit_ubuntu_jammy_x86_sut"
- ami_description = "CSIT SUT image based on Ubuntu Jammy"
+source "amazon-ebs" "csit_ubuntu_noble_x86_sut" {
+ ami_name = "csit_ubuntu_noble_x86_sut"
+ ami_description = "CSIT SUT image based on Ubuntu noble"
ena_support = true
instance_type = "c6in.4xlarge"
launch_block_device_mappings {
ssh_username = "ubuntu"
}
-source "amazon-ebs" "csit_ubuntu_jammy_x86_tg" {
- ami_name = "csit_ubuntu_jammy_x86_tg"
- ami_description = "CSIT TG image based on Ubuntu Jammy"
+source "amazon-ebs" "csit_ubuntu_noble_x86_tg" {
+ ami_name = "csit_ubuntu_noble_x86_tg"
+ ami_description = "CSIT TG image based on Ubuntu noble"
ena_support = true
instance_type = "c6in.4xlarge"
launch_block_device_mappings {
}
build {
- name = "csit_ubuntu_jammy_x86_sut-packer"
+ name = "csit_ubuntu_noble_x86_sut-packer"
sources = [
- "source.amazon-ebs.csit_ubuntu_jammy_x86_sut"
+ "source.amazon-ebs.csit_ubuntu_noble_x86_sut"
]
provisioner "shell" {
inline = var.first_run_commands
}
build {
- name = "csit_ubuntu_jammy_x86_tg-packer"
+ name = "csit_ubuntu_noble_x86_tg-packer"
sources = [
- "source.amazon-ebs.csit_ubuntu_jammy_x86_tg"
+ "source.amazon-ebs.csit_ubuntu_noble_x86_tg"
]
provisioner "shell" {
inline = var.first_run_commands
default = "Csit1234"
}
-source "amazon-ebs" "csit_ubuntu_jammy_arm_sut" {
- ami_name = "csit_ubuntu_jammy_arm_sut"
- ami_description = "CSIT SUT image based on Ubuntu jammy"
+source "amazon-ebs" "csit_ubuntu_noble_arm_sut" {
+ ami_name = "csit_ubuntu_noble_arm_sut"
+ ami_description = "CSIT SUT image based on Ubuntu noble"
ena_support = true
instance_type = "c7gn.4xlarge"
launch_block_device_mappings {
}
build {
- name = "csit_ubuntu_jammy_arm_sut-packer"
+ name = "csit_ubuntu_noble_arm_sut-packer"
sources = [
- "source.amazon-ebs.csit_ubuntu_jammy_arm_sut"
+ "source.amazon-ebs.csit_ubuntu_noble_arm_sut"
]
provisioner "shell" {
inline = var.first_run_commands
layout: us
toggle: null
variant: ''
+ late-commands:
- curtin in-target --target=/target -- systemctl enable docker
locale: en_US.UTF-8
network: