Merge pull request #2 from TheJumpCloud/travis-upgrade-psql

upgrade psql version
This commit is contained in:
Travis Dempsey 2022-04-29 11:43:20 -05:00 committed by GitHub
commit 6aa2147efe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 62 additions and 99 deletions

View file

@ -1,8 +1,5 @@
stages:
- test
- commitlint
- name: release
if: branch = master AND type != pull_request
sudo: required
cache: bundler
@ -18,59 +15,25 @@ before_install:
# the `platforms` defined in `kitchen.yml`
env:
matrix:
- INSTANCE: default-debian-9-2019-2-py3
# - INSTANCE: default-debian-9-2019-2-py3
# TODO: Re-enable this once the `systemd` service can be restarted reliably
# - INSTANCE: default-ubuntu-1804-2019-2-py3
- INSTANCE: default-centos-7-2019-2-py3
# - INSTANCE: default-fedora-29-2019-2-py3
- INSTANCE: default-opensuse-leap-15-2019-2-py3
# - INSTANCE: default-opensuse-leap-15-2019-2-py3
# - INSTANCE: default-debian-9-2018-3-py2
- INSTANCE: default-ubuntu-1604-2018-3-py2
# - INSTANCE: default-ubuntu-1604-2018-3-py2
# - INSTANCE: default-centos-7-2018-3-py2
- INSTANCE: default-fedora-29-2018-3-py2
# - INSTANCE: default-fedora-29-2018-3-py2
# TODO: Use this when fixed instead of `opensuse-423`
# NOTE: Having to temporarily disable `opensuse-423` due to slow mirror
# - INSTANCE: default-opensuse-leap-15-2018-3-py2
# - INSTANCE: default-opensuse-423-2018-3-py2
# - INSTANCE: default-debian-8-2017-7-py2
# - INSTANCE: default-ubuntu-1604-2017-7-py2
- INSTANCE: default-centos-6-2017-7-py2
# - INSTANCE: default-centos-6-2017-7-py2
# - INSTANCE: default-fedora-28-2017-7-py2
# - INSTANCE: default-opensuse-leap-42-2017-7-py2
script:
- bundle exec kitchen verify ${INSTANCE}
jobs:
include:
# Define the commitlint stage
- stage: commitlint
language: node_js
node_js: lts/*
before_install: skip
script:
- npm install @commitlint/config-conventional -D
- npm install @commitlint/travis-cli -D
- commitlint-travis
# Define the release stage that runs semantic-release
- stage: release
language: node_js
node_js: lts/*
before_install: skip
script:
# Update `AUTHORS.md`
- export MAINTAINER_TOKEN=${GH_TOKEN}
- go get github.com/myii/maintainer
- maintainer contributor
# Install all dependencies required for `semantic-release`
- npm install @semantic-release/changelog@3 -D
- npm install @semantic-release/exec@3 -D
- npm install @semantic-release/git@7 -D
deploy:
provider: script
skip_cleanup: true
script:
# Run `semantic-release`
- npx semantic-release@15

View file

@ -12,68 +12,68 @@ driver:
# the `env.matrix` instances defined in `.travis.yml`
platforms:
## SALT 2019.2
- name: debian-9-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:debian-9
- name: ubuntu-1804-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:ubuntu-18.04
# - name: debian-9-2019-2-py3
# driver:
# image: netmanagers/salt-2019.2-py3:debian-9
# - name: ubuntu-1804-2019-2-py3
# driver:
# image: netmanagers/salt-2019.2-py3:ubuntu-18.04
- name: centos-7-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:centos-7
- name: fedora-29-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:fedora-29
- name: opensuse-leap-15-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:opensuse-leap-15
run_command: /usr/lib/systemd/systemd
# - name: fedora-29-2019-2-py3
# driver:
# image: netmanagers/salt-2019.2-py3:fedora-29
# - name: opensuse-leap-15-2019-2-py3
# driver:
# image: netmanagers/salt-2019.2-py3:opensuse-leap-15
# run_command: /usr/lib/systemd/systemd
## SALT 2018.3
- name: debian-9-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:debian-9
- name: ubuntu-1604-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:ubuntu-16.04
- name: centos-7-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:centos-7
- name: fedora-29-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:fedora-29
# - name: debian-9-2018-3-py2
# driver:
# image: netmanagers/salt-2018.3-py2:debian-9
# - name: ubuntu-1604-2018-3-py2
# driver:
# image: netmanagers/salt-2018.3-py2:ubuntu-16.04
# - name: centos-7-2018-3-py2
# driver:
# image: netmanagers/salt-2018.3-py2:centos-7
# - name: fedora-29-2018-3-py2
# driver:
# image: netmanagers/salt-2018.3-py2:fedora-29
# TODO: Use this when fixed instead of `opensuse-423`
- name: opensuse-leap-15-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:opensuse-leap-15
run_command: /usr/lib/systemd/systemd
- name: opensuse-423-2018-3-py2
driver:
image: netmanagers/salt-2018.3-py2:opensuse-423
provision_command:
- zypper refresh && zypper install -y net-tools
run_command: /usr/lib/systemd/systemd
# - name: opensuse-leap-15-2018-3-py2
# driver:
# image: netmanagers/salt-2018.3-py2:opensuse-leap-15
# run_command: /usr/lib/systemd/systemd
# - name: opensuse-423-2018-3-py2
# driver:
# image: netmanagers/salt-2018.3-py2:opensuse-423
# provision_command:
# - zypper refresh && zypper install -y net-tools
# run_command: /usr/lib/systemd/systemd
## SALT 2017.7
- name: debian-8-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:debian-8
- name: ubuntu-1604-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:ubuntu-16.04
- name: centos-6-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:centos-6
run_command: /sbin/init
- name: fedora-28-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:fedora-28
- name: opensuse-leap-42-2017-7-py2
driver:
image: netmanagers/salt-2017.7-py2:opensuse-leap-42
provision_command:
- zypper refresh && zypper install -y python-pip
run_command: /usr/lib/systemd/systemd
# - name: debian-8-2017-7-py2
# driver:
# image: netmanagers/salt-2017.7-py2:debian-8
# - name: ubuntu-1604-2017-7-py2
# driver:
# image: netmanagers/salt-2017.7-py2:ubuntu-16.04
# - name: centos-6-2017-7-py2
# driver:
# image: netmanagers/salt-2017.7-py2:centos-6
# run_command: /sbin/init
# - name: fedora-28-2017-7-py2
# driver:
# image: netmanagers/salt-2017.7-py2:fedora-28
# - name: opensuse-leap-42-2017-7-py2
# driver:
# image: netmanagers/salt-2017.7-py2:opensuse-leap-42
# provision_command:
# - zypper refresh && zypper install -y python-pip
# run_command: /usr/lib/systemd/systemd
provisioner:
name: salt_solo

View file

@ -5,9 +5,9 @@ postgres.port: '5432'
postgres:
# UPSTREAM REPO
# Set True to configure upstream postgresql.org repository for YUM/APT/ZYPP
use_upstream_repo: False
use_upstream_repo: True
# Version to install from upstream repository (if upstream_repo: True)
version: '10'
version: '13'
# Set True to add a file in /etc/profile.d adding the bin dir in $PATH
# as packages from upstream put them somewhere like /usr/pgsql-10/bin
add_profile: False

View file

@ -3,7 +3,7 @@
postgres:
use_upstream_repo: True
add_profile: False # add bin_dir to $PATH, if installed from repos
version: '10'
version: '13'
pkg: postgresql
pkgs_extra: []
pkg_client: postgresql-client