Skip to content

Commit 29ecd45

Browse files
authored
Merge pull request #298 from winem/ubuntu-2004-support
Drop U16 and add U20 support
2 parents 1551a3d + 365027a commit 29ecd45

File tree

24 files changed

+96
-90
lines changed

24 files changed

+96
-90
lines changed

.kitchen.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ provisioner:
2222
st2_rbac_enable: yes
2323

2424
platforms:
25-
# Ubuntu Xenial with Systemd
26-
- name: ubuntu-16.04
25+
# Ubuntu Bionic with Systemd
26+
- name: ubuntu-18.04
2727
driver_config:
28-
image: stackstorm/packagingtest:xenial-systemd
28+
image: stackstorm/packagingtest:bionic-systemd
2929
platform: ubuntu
3030
run_command: /sbin/init
3131
volume:
3232
- /sys/fs/cgroup:/sys/fs/cgroup:ro
33-
# Ubuntu Bionic with Systemd
34-
- name: ubuntu-18.04
33+
# Ubuntu Focal with Systemd
34+
- name: ubuntu-20.04
3535
driver_config:
36-
image: stackstorm/packagingtest:bionic-systemd
36+
image: stackstorm/packagingtest:focal-systemd
3737
platform: ubuntu
3838
run_command: /sbin/init
3939
volume:

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ branches:
99

1010
env:
1111
# default is stable repo
12-
- DISTRO=ubuntu-16
1312
- DISTRO=ubuntu-18
13+
- DISTRO=ubuntu-20
1414
- DISTRO=centos-7
1515
- DISTRO=centos-8
1616

1717
# StackStorm 'unstable' repo check
18-
- DISTRO=ubuntu-16 ST2_REPO=unstable
1918
- DISTRO=ubuntu-18 ST2_REPO=unstable
19+
- DISTRO=ubuntu-20 ST2_REPO=unstable
2020
- DISTRO=centos-7 ST2_REPO=unstable
2121
- DISTRO=centos-8 ST2_REPO=unstable
2222

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Aka IFTTT orchestration for Ops.
99
[![Join our community Slack](https://stackstorm-community.herokuapp.com/badge.svg)](https://stackstorm.com/community-signup)
1010

1111
## Supported platforms
12-
* Ubuntu Xenial (16.04)
1312
* Ubuntu Bionic (18.04)
13+
* Ubuntu Focal (20.04)
1414
* RHEL7 / CentOS7
1515
* RHEL8 / CentOS8
1616

@@ -19,7 +19,7 @@ Aka IFTTT orchestration for Ops.
1919
> In order to access StackStorm Web UI, please don't forget to ensure that http/https ports are opened in your firewall system.
2020
2121
## Requirements
22-
At least 2GB of memory and 3.5GB of disk space is required, since StackStorm is shipped with RabbitMQ, Mongo and nginx.
22+
At least 2GB of memory and 3.5GB of disk space is required, since StackStorm is shipped with RabbitMQ, Mongo, Redis and nginx.
2323

2424
## Installation
2525
```sh
@@ -50,7 +50,6 @@ Below is the list of variables you can redefine in your playbook to customize st
5050
| `st2_ldap` | [See `st2_ldap` variable in role defaults](roles/st2/defaults/main.yml) | Settings for LDAP authentication backend. `st2_ldap` is a dictionary and has one item `backend_kwargs`. `backend_kwargs` should be provided as exactly listed in ST2 documentation for [LDAP configuration](https://docs.stackstorm.com/authentication.html#ldap).
5151
| `st2_packs` | `[ st2 ]` | List of packs to install. This flag does not work with a `--python3` only pack.
5252
| `st2_python_packages` | `[ ]` | List of python packages to install into the `/opt/stackstorm/st2` virtualenv. This is needed when deploying alternative auth or coordination backends which depend on Python modules to make them work.
53-
| `st2_u16_add_insecure_py3_ppa` | `false` | Whether permission is granted to install the deadsnakes Python3.6 PPA for Ubuntu 16.
5453
| **st2web**
5554
| `st2web_version` | `latest` | st2web version to install. `present` to install available package, `latest` to get automatic updates, or pin it to numeric version like `2.2.0` or with revision like `2.2.0-1`.
5655
| `st2web_ssl_certificate` | `null` | String with custom SSL certificate (`.crt`). If not provided, self-signed certificate will be generated.
@@ -93,8 +92,8 @@ st2smoketests, you will need to disable proxy for localhost.
9392
There are a few requirements when developing on `ansible-st2`.
9493

9594
These are the platforms we must support (must pass end-to-end testing):
96-
- Ubuntu Xenial
9795
- Ubuntu Bionic
96+
- Ubuntu Focal
9897
- CentOS7
9998
- CentOS8
10099
- RHEL7 (via AWS)
@@ -109,7 +108,7 @@ vagrant up
109108

110109
Other distros:
111110
```sh
112-
vagrant up ubuntu16
111+
vagrant up ubuntu20
113112
vagrant up centos7
114113
vagrant up centos8
115114
```
@@ -120,8 +119,8 @@ You might be interested in other methods to deploy StackStorm engine:
120119
* [Puppet Module](https://github.com/stackstorm/puppet-st2)
121120

122121
* Manual Instructions
123-
* [Ubuntu 16.04](https://docs.stackstorm.com/install/u16.html)
124122
* [Ubuntu 18.04](https://docs.stackstorm.com/install/u18.html)
123+
* [Ubuntu 20.04](https://docs.stackstorm.com/install/u20.html)
125124
* [RHEL8/CentOS8](https://docs.stackstorm.com/install/rhel8.html)
126125
* [RHEL7/CentOS7](https://docs.stackstorm.com/install/rhel7.html)
127126

Vagrantfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# vi: set ft=ruby :
33

44
VIRTUAL_MACHINES = {
5-
:ubuntu16 => {
6-
:hostname => 'ansible-st2-ubuntu16',
7-
:box => 'ubuntu/xenial64',
8-
},
95
:ubuntu18 => {
106
:hostname => 'ansible-st2-ubuntu18',
117
:box => 'ubuntu/bionic64',
128
},
9+
:ubuntu20 => {
10+
:hostname => 'ansible-st2-ubuntu20',
11+
:box => 'ubuntu/focal64',
12+
},
1313
:centos7 => {
1414
:hostname => 'ansible-st2-centos7',
1515
:box => 'centos/7',

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ galaxy_info:
1717
- name: Ubuntu
1818
versions:
1919
- bionic
20-
- xenial
20+
- focal
2121
- name: EL
2222
versions:
2323
- 7
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
# MongoDB default version
3-
mongodb_version: "4.0"
3+
mongodb_version: "{% if ansible_facts.os_family == 'Debian' and ansible_facts.distribution_major_version == '20' %}4.4{% else %}4.0{% endif %}"

roles/StackStorm.mongodb/meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ galaxy_info:
99
- name: Ubuntu
1010
versions:
1111
- bionic
12-
- xenial
12+
- focal
1313
- name: EL
1414
versions:
1515
- 7
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Use the following URL to find the key: https://www.mongodb.org/static/pgp/server-{{ mongodb_major_minor_version }}.asc
22
mongodb_apt_keys:
3-
"3.2": "42F3E95A2C4F08279C4960ADD68FA50FEA312927"
4-
"3.4": "0C49F3730359A14518585931BC711F9BA15703C6"
53
"3.6": "2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5"
64
"4.0": "9DA31620334BD75D9DCB49F368818C72E52529D4"
5+
"4.4": "20691EEC35216C63CAF66CE1656408E390CFB1F5"

roles/StackStorm.nginx/meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ galaxy_info:
1010
- name: Ubuntu
1111
versions:
1212
- bionic
13-
- xenial
13+
- focal
1414
- name: EL
1515
versions:
1616
- 7

roles/StackStorm.nodejs/meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ galaxy_info:
1010
- name: Ubuntu
1111
versions:
1212
- bionic
13-
- xenial
13+
- focal
1414
- name: EL
1515
versions:
1616
- 7

0 commit comments

Comments
 (0)