This creates a testing role for upload-logs-swift so that we can test
chagnes to this role before moving them into the production role.
Change-Id: If55b0e2809d9309bc98e6763da32219d996dbfa4
This role sets up a host to report via netconsole. It is a port of
old devstack-gate functionality from circa
Iebc8e1812d1441aba7c18d3e7c982b620b5198a0.
Change-Id: I37c26fdbcdf61a55fae4cbee3eb61a4bc45ca628
Extend the Debian/Ubuntu mirror_info design to accommodate the
parameters required for sources.list entries, and more closely match
the scheme and terminology for them to what is described in the
sources.list(5) manpage.
Change-Id: I0e3cdfeaff838484a9dd0a8cace134c9f8e94650
Some jobs need to start with a clean slate of firewall rules so that
they can manage their own rules. Add a simple role that clears out
everything.
Change-Id: I92d3b02a6bd4f19460294ca5293dfbbd67bfd295
This is designed to be a flexible system which can replace
the current ad-hoc mirrors used by the configure-mirror
and other roles in this repo.
Change-Id: I20adef837c5f961624fe0f7adbc93d2cf8f7761a
These jobs are for testing this repo and should normally only be
included by the OpenDev Zuul for gating.
Change-Id: I7bf940edce1135d855d7f66605db2e856bd7177d
The puppet module command is deprecated and
is replaced by using the PDK [1] [2].
The difference between the two commands is only
the output in the pkg directory.
The old puppet module command will create a folder and a tarball with the module.
$ls pkg/
openstack-openstacklib-14.1.0/
openstack-openstacklib-14.1.0.tar.gz
While the PDK will only create the tarball in the
pkg folder. This should be no problem since I can't
find anywhere were we are using the generated folder
in the pkg folder.
This is part 1 in a series of two changes, it contains a role to install
the package dependencies (run in pre.yaml before revoke-sudo is called),
the followup change adds the role to actually build. We need those two
steps to not introduce breakage since the users of build-puppet-module
need to be updated before we can change build-puppet-module.
Change-Id: Ief299751c001542b10fcdf44f1b40a169135877a
Needed-By: https://review.opendev.org/667589
Needed-By: https://review.opendev.org/667595
Co-Authored-By: Tobias Urdin <tobias.urdin@binero.se>
This was previously defined in openstack-zuul-jobs, but
we're working out a way of keeping these in-repo, so move
it here.
This was entirely authored by David Simard.
Change-Id: I743b8e9011f717569589d9e16ac0228ad3d112d1
Co-Authored-By: David Moreau Simard <dmsimard@redhat.com>
This adds a role that installs OpenStack via devstack for end-users.
This lets any job for a project which uses OpenStack as a client
install an OpenStack for testing.
Change-Id: Ic561c7c67b563e3cee7acbcbddc4ae463a695e97
This adds job definition for running Ansible Molecule testing framework
from inside tox.
This would ease use of molecule testing for any projects that
want to use by avoiding the need to duplicate the setup code across
each repository.
It uses tox `molecule` environment.
Change-Id: I8df4df5448a78b9e21f45fac12d534eb84b29d3d
Needed-By: https://review.opendev.org/#/c/663599/
Needed-By: https://review.opendev.org/#/c/651772/
Needed-By: https://review.opendev.org/#/c/663336/
When producing javascript content tarballs, return artifact records
to Zuul.
Add a new job, build-javascript-content-tarball, which includes the
role to fetch javascript content tarballs.
Change-Id: Ia247054d0523b81916815151fd57138469f634e0
There was a request in If3dc95d1348553e5b43683f6a36d324fb978fbed to
make the role more generic so it could handle different layouts of
zone.db files. Make it so the role can take a list of tuples (domain,
path/to/zone.db) so that we can handle any layouts, and modify the
default searching to build this from the source directory.
Reviews in https://review.opendev.org/660888 suggested making this
defined as a generic job, so a validate-zone-db job is added.
Change-Id: I56cbc027f63787f90eef283eeb2fbb81486dcaf5
This role uses named-checkzone to validate Bind zone.db files it finds
in the specified directory. Helps to avoid committing broken DNS
configurations.
Needed-By: https://review.opendev.org/660888
Change-Id: If3dc95d1348553e5b43683f6a36d324fb978fbed
This is helpful for people that would like to use the py37 target for
tox.
Change-Id: I03eb4a8164a8e6fe5f75bd5cacc7c95f5428adca
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This role is meant to replicate a successfully tested git repository
to a remote git server over SSH during the POST pipeline.
Change-Id: I562802ede7358c809c915f09f229884d81cc5b31
Depends-On: https://review.openstack.org/643435
This splits all of the current job and role documentation into
files by subject area so that jobs and roles are easier for users to
find.
This will require that any future new jobs or roles add a line to the
appropriate area of the documentation, since that can no longer be
done automatically. A linter check is added to ensure that every
job and role continue to be documented.
After this refactor, we can begin to enhance the documentation pages
so that they include narrative documentation and subsections.
Change-Id: Ia6f0e89b57e3cb0d7d1745206384c946506d7ea0
In order to see more consistency and good practices in zuul-jobs,
suggest some guidelines regarding OS and containers support, and
dealing with roles dependencies.
Change-Id: Iad001766a56833094ac8703fca11559265b6f914
Add a general note on testing, and specifically on how to use test
roles for testing trusted roles in the gate.
Change-Id: Idf84bc56effbb21f7b7a82703f398fb203c3694b
This captures some discussion over the scoping of variable names
during some recent role development. It tries to provide some
guidelines to prefixing of global variable names in roles and
"module-like" roles.
Since "deprecation.rst" is now holding a few different things, it
makes more sense as "policy.rst".
Reorganise to be nested in one more level, and add a contents section
to help find sections easier.
Change-Id: I0d551eefd33744ffa23418d0780769a7e52fe9cf
Add a testenv:py27 environment that overrides basepython to 2.7
Unfortunately implicit namespace packages are a Python3 thing [1] so
we have to scatter a few __init__.py's around for the test loader
under python2 to be able to find the unit test directories.
Update documenation to mention this
Needed-By: https://review.openstack.org/592768
[1] https://www.python.org/dev/peps/pep-0420/
Change-Id: I9a653666e8a083fb7f3fbb92589fe0467a41e6e6
This adds a Sphinx module that includes the 'description' field of
a zuul job into the documentation.
Change-Id: Iaaf5d9c1013d6c1e788046db9dbf1278d786c01e
Also add a .gitignore and establish a documentation pattern.
Change-Id: Ib447ac13d03de4ab61171d50b19117ff654ad329
Co-Authored-By: Paul Belanger <pabelanger@redhat.com>