Skip to content

Commit 8532b96

Browse files
authoredOct 19, 2023
Merge pull request #332 from setswei/FixUnitTests
Fix e2e tests, drop Ubuntu18
2 parents 222ee03 + 7ea9b45 commit 8532b96

File tree

17 files changed

+7
-109
lines changed

17 files changed

+7
-109
lines changed
 

‎.github/workflows/e2e.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ jobs:
5353
- unstable
5454
os:
5555
- centos7
56-
- ubuntu18
5756
- rockylinux8
5857
- ubuntu20
5958
ansible-core:
@@ -66,6 +65,7 @@ jobs:
6665
- name: Install Python dependencies
6766
run: |
6867
python3 -m pip install --upgrade pip
68+
python3 -m pip install --upgrade "requests<=2.29.0"
6969
python3 -m pip install --upgrade ansible-core==${{ matrix.ansible-core }}
7070
python3 -m pip install --upgrade molecule==${{ env.MOLECULE_VERSION }}
7171
python3 -m pip install --upgrade molecule-docker==${{ env.MOLECULE_DOCKER_VERSION }}

‎.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010

1111
# Log files
1212
*.log
13+
14+
# Virtual Environment
15+
.venv

‎README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010

1111
## Supported platforms
1212

13-
* Ubuntu Bionic (18.04)
1413
* Ubuntu Focal (20.04)
1514
* RHEL 7 and CentOS 7
1615
* RHEL 8 and Rocky Linux 8
1716

18-
> If you are using the provided [`Vagrantfile`](Vagrantfile), note that it uses Bionic by default.
17+
> If you are using the provided [`Vagrantfile`](Vagrantfile), note that it uses Focal by default.
1918
2019
> In order to access StackStorm Web UI, please do not forget to ensure that the http and https ports are allowed by the firewall.
2120
@@ -110,7 +109,6 @@ There are a few requirements when developing on `ansible-st2`.
110109

111110
These are the platforms we must support (must pass end-to-end testing):
112111

113-
* Ubuntu Bionic (18.04)
114112
* Ubuntu Focal (20.04)
115113
* CentOS 7
116114
* Rocky Linux 8
@@ -121,7 +119,7 @@ The playbooks and roles must support Ansible idempotence.
121119
That is, re-running the `stackstorm.yml` playbook must end with the result `changed=0.*failed=0` (provided that versions and revisions are pinned).
122120

123121
For local development, there is a [Vagrantfile](Vagrantfile) available.
124-
By default, the following command will set up an ubuntu18 box (`ubuntu/bionic64`):
122+
By default, the following command will set up an ubuntu20 box (`ubuntu/focal64`):
125123

126124
```sh
127125
vagrant up

‎Vagrantfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
# vi: set ft=ruby :
33

44
VIRTUAL_MACHINES = {
5-
:ubuntu18 => {
6-
:hostname => 'ansible-st2-ubuntu18',
7-
:box => 'ubuntu/bionic64',
8-
},
95
:ubuntu20 => {
106
:hostname => 'ansible-st2-ubuntu20',
117
:box => 'ubuntu/focal64',
@@ -27,7 +23,7 @@ Vagrant.configure(2) do |config|
2723
config.ssh.forward_agent = true
2824

2925
VIRTUAL_MACHINES.each do |name, cfg|
30-
config.vm.define name, autostart: (name == :ubuntu18) do |vm_config|
26+
config.vm.define name, autostart: (name == :ubuntu20) do |vm_config|
3127
vm_config.vm.hostname = cfg[:hostname]
3228
vm_config.vm.box = cfg[:box]
3329

‎meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ galaxy_info:
1616
platforms:
1717
- name: Ubuntu
1818
versions:
19-
- bionic
2019
- focal
2120
- name: EL
2221
versions:

‎molecule/ubuntu18/Dockerfile.ubuntu18.j2

-5
This file was deleted.

‎molecule/ubuntu18/molecule.yml

-83
This file was deleted.

‎roles/StackStorm.mongodb/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: Ubuntu
1010
versions:
11-
- bionic
1211
- focal
1312
- name: EL
1413
versions:

‎roles/StackStorm.nginx/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ galaxy_info:
99
platforms:
1010
- name: Ubuntu
1111
versions:
12-
- bionic
1312
- focal
1413
- name: EL
1514
versions:

‎roles/StackStorm.nodejs/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ galaxy_info:
99
platforms:
1010
- name: Ubuntu
1111
versions:
12-
- bionic
1312
- focal
1413
- name: EL
1514
versions:

‎roles/StackStorm.rabbitmq/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: Ubuntu
1010
versions:
11-
- bionic
1211
- focal
1312
- name: EL
1413
versions:

‎roles/StackStorm.redis/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: Ubuntu
1010
versions:
11-
- bionic
1211
- focal
1312
- name: EL
1413
versions:

‎roles/StackStorm.st2/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: Ubuntu
1010
versions:
11-
- bionic
1211
- focal
1312
- name: EL
1413
versions:

‎roles/StackStorm.st2chatops/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: Ubuntu
1010
versions:
11-
- bionic
1211
- focal
1312
- name: EL
1413
versions:

‎roles/StackStorm.st2repo/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: Ubuntu
1010
versions:
11-
- bionic
1211
- focal
1312
- name: EL
1413
versions:

‎roles/StackStorm.st2smoketests/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ galaxy_info:
88
platforms:
99
- name: Ubuntu
1010
versions:
11-
- bionic
1211
- focal
1312
- name: EL
1413
versions:

‎roles/StackStorm.st2web/meta/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ galaxy_info:
99
platforms:
1010
- name: Ubuntu
1111
versions:
12-
- bionic
1312
- focal
1413
- name: EL
1514
versions:

0 commit comments

Comments
 (0)
Please sign in to comment.