Added OpenStack services
Change-Id: I9aadad2919a6a7400d6f11a884317e33e787b416
diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml
index c089928..435207e 100644
--- a/zuul.d/jobs.yaml
+++ b/zuul.d/jobs.yaml
@@ -17,6 +17,9 @@
parent: vexxhost-tox-molecule
pre-run:
- zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/pre-run.yml
+ cleanup-run:
+ - zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml
+ timeout: 3600
vars:
tox_environment:
STACK_NAME: "atmosphere-{{ zuul.build }}"
diff --git a/zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml b/zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml
new file mode 100644
index 0000000..66f8e4b
--- /dev/null
+++ b/zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml
@@ -0,0 +1,18 @@
+# Copyright (c) 2022 VEXXHOST, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+- hosts: all
+ tasks:
+ - name: Destroy the Molecule environment
+ shell: tox -e molecule -- destroy --all