Skip to content

Commit

Permalink
zuul: add cfg-cookiecutter-tox jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored and osfrickler committed Jul 25, 2023
1 parent 3262f74 commit c24fac1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 34 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/test-cookiecutter.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
---
- job:
name: cfg-cookiecutter-tox
parent: tox
vars:
tox_envlist: cookiecutter

- job:
name: cfg-cookiecutter-tox-yoga
parent: cfg-cookiecutter-tox
vars:
tox_environment:
OPENSTACK_VERSION: yoga

- job:
name: cfg-cookiecutter-tox-zed
parent: cfg-cookiecutter-tox
vars:
tox_environment:
OPENSTACK_VERSION: zed

- job:
name: cfg-cookiecutter-tox-antelope
parent: cfg-cookiecutter-tox
vars:
tox_environment:
OPENSTACK_VERSION: "2023.1"

- project:
merge-mode: squash-merge
default-branch: main
Expand All @@ -8,15 +35,24 @@
- flake8
- hadolint
- yamllint
- cfg-cookiecutter-tox-yoga
- cfg-cookiecutter-tox-zed
- cfg-cookiecutter-tox-antelope
gate:
jobs:
- ansible-lint
- flake8
- hadolint
- yamllint
- cfg-cookiecutter-tox-yoga
- cfg-cookiecutter-tox-zed
- cfg-cookiecutter-tox-antelope
periodic-daily:
jobs:
- ansible-lint
- flake8
- hadolint
- yamllint
- cfg-cookiecutter-tox-yoga
- cfg-cookiecutter-tox-zed
- cfg-cookiecutter-tox-antelope
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ skipsdist = true
envlist = py3

[testenv]
passenv = OPENSTACK_VERSION
deps =
-rrequirements.txt

[testenv:cookiecutter]
commands =
cookiecutter --no-input .
cookiecutter --no-input . openstack_version={env:OPENSTACK_VERSION}

0 comments on commit c24fac1

Please sign in to comment.