Skip to content

Commit

Permalink
DO NOT MERGE: run test with pg15
Browse files Browse the repository at this point in the history
  • Loading branch information
fblackburn1 committed Jan 10, 2025
1 parent 6959048 commit fc710a4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
25 changes: 25 additions & 0 deletions zuul.d/pre-run-pg15.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
- hosts: all
tasks:
- name: Install requirements
become: yes
apt:
name:
- curl
- ca-certificates
state: present
- name: step1
become: yes
ansible.builtin.shell: install -d /usr/share/postgresql-common/pgdg
- name: step2
become: yes
ansible.builtin.shell: curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
- name: step3
become: yes
ansible.builtin.shell: sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
- name: step4
become: yes
ansible.builtin.shell: apt update
- name: step5
become: yes
ansible.builtin.shell: apt -y install postgresql-15
7 changes: 6 additions & 1 deletion zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
- job:
name: wazo-acceptance-bullseye-pg15
parent: wazo-acceptance-bullseye
pre-run: zuul.d/pre-run-pg15.yaml

- project:
templates:
- wazo-tox-linters-310
wazo-check:
jobs:
- wazo-acceptance-bullseye
- wazo-acceptance-bullseye-pg15
wazo-gate:
jobs:
- wazo-acceptance-bullseye
Expand Down

0 comments on commit fc710a4

Please sign in to comment.