Commit Graph

6 Commits

Author SHA1 Message Date
vass a9f6ab15e3 Remove ssh key in base cleanup run.
If the builds ssh key is removed during post run no cleanup
actions can be made on remote hosts by jobs inheriting from
the base job. It also causes problems with ssh keys
not being removed for static nodes when jobs are aborted.

Change-Id: Id751e8a842ed0d03e605dcd0620c388c3d7f973b
2020-04-06 20:25:37 +02:00
Monty Taylor fef2b11ebd
Ignore errors on ssh key removal
This already exists in the OpenStack base job. Protects against
failures removing the ssh key failing an otherwise successful job.

Change-Id: Id358403f6543d4ca7ddc0795807ef9a89840881d
2019-01-09 17:50:46 +00:00
Monty Taylor b95f12ed8f
Add fetch-output to base jobs
This change was added in OpenStack's base job as part of the effort to
provide a standard interface on the remote nodes into which logs can be put
regardless of how they are eventually going to be uploaded.

Change-Id: I07f1a88f357c68d3deeadf7f12b1b77fc4a948f4
2019-01-09 17:49:44 +00:00
Monty Taylor e78dab260b
Add ensure-output-dirs to base jobs
In support of the base job log/artifact/docs fetching rework, add
ensure-output-dirs to the sample base jobs as well.

Change-Id: I65241452e93cf7a8c85ea30035f806da78240050
2019-01-04 20:24:01 +00:00
Ian Wienand c68bf20246 Add validate-host and log-inventory
Add two helper roles to the base job examples.

Change-Id: I205773a4bf2d085206dfac18d51ed957ff7202a4
2018-06-20 19:28:28 +10:00
Jeremy Stanley ab5c4064e7 Add generic base and base-test jobs/playbooks
Start with a stripped-down fork of the base job from project-config,
omitting any OpenStack-specific roles and variables. Also include a
duplicate base-test job intended for testing out potential changes
to the base job.

Extend the linters env for tox to check the included playbooks with
ansible-lint, and add Sphinx integration for autodocumenting the new
playbooks.

Change-Id: I575be518c3e549a51c0c94deb295061dcf8be0b5
2017-12-20 17:48:17 +00:00