Skip to content

Commit

Permalink
ansible: replace DO debian9-x64-1 with debian12-x64-1 (#3560)
Browse files Browse the repository at this point in the history
ansible: replace DO debian9-x64-1 with debian12-x64-1

Refs: #3499
  • Loading branch information
targos committed Jan 3, 2024
1 parent e58a9ce commit 957f037
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ hosts:

- digitalocean:
debian11-x64-1: {ip: 174.138.79.159}
debian9-x64-1: {ip: 138.197.97.208}
debian12-x64-1: {ip: 159.203.105.159}
fedora32-x64-1: {ip: 159.203.117.50}
fedora37-x64-1: {ip: 159.65.248.149}
fedora38-x64-1: {ip: 162.243.187.89}
Expand Down
6 changes: 5 additions & 1 deletion ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sshd_service_name: "{{ sshd_service_map[os]|default(sshd_service_map[os|stripver

ntp_service: {
chrony: ['rhel8', 'debian11'],
systemd: ['debian8', 'debian9', 'debian10', 'ubuntu']
systemd: ['debian8', 'debian9', 'debian10', 'debian12', 'ubuntu']
}

common_packages: [
Expand Down Expand Up @@ -75,6 +75,10 @@ packages: {
'gcc-10,g++-10,ccache,git,curl,libfontconfig1,apt-transport-https,ca-certificates,sudo,python3-pip',
],

debian12: [
'gcc,g++,make,ccache,git,curl,libfontconfig1,apt-transport-https,ca-certificates,sudo,python3-venv',
],

fedora: [
'bzip2,ccache,gcc-c++,git,fontconfig,sudo,make,python3-pip',
],
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/java-base/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ packages: {
'debian9': 'openjdk-8-jre-headless',
'debian10': 'openjdk-11-jre-headless',
'debian11': 'openjdk-17-jre-headless',
'debian12': 'openjdk-17-jre-headless',
'fedora': 'java-17-openjdk-headless',
'fedora32': 'java-11-openjdk-headless',
'freebsd': 'openjdk11-jre',
Expand Down
11 changes: 11 additions & 0 deletions ansible/roles/jenkins-worker/tasks/partials/tap2junit/debian12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---

#
# install tap2junit from pip
#

- name: install tap2junit
pip:
name: tap2junit=={{ tap2junit_version }}
virtualenv: /home/{{ server_user }}/venv
virtualenv_command: python3 -m venv
2 changes: 1 addition & 1 deletion ansible/roles/jenkins-worker/templates/systemd.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Environment="USER={{ server_user }}"
Environment="JOBS={{ jobs_env }}"
Environment="SHELL=/bin/bash"
Environment="HOME=/home/{{ server_user }}"
Environment="PATH=/home/{{ server_user }}/nghttp2/src:/home/{{ server_user }}/wrk:/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Environment="PATH=/home/{{ server_user }}/venv/bin:/home/{{ server_user }}/nghttp2/src:/home/{{ server_user }}/wrk:/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Environment="NODE_COMMON_PIPE=/home/{{ server_user }}/test.pipe"
Environment="NODE_TEST_DIR=/home/{{ server_user }}/tmp"
Environment="OSTYPE=linux-gnu"
Expand Down

0 comments on commit 957f037

Please sign in to comment.