citadel.nodes.test module¶
-
class
citadel.nodes.test.Test(yml, path)[source]¶ Synopsis: Placeholder for the test stage. Requirements: None Platform: Any Usage
1 2 3 4
test: ansible: playbook: some_playbook.yml inventory: some_inventory
This module is simply part of the convention to run citadel by stages. Other supported stages are: build, publish and test. These are used to control their execution at specific moments since, at some points of your lifecycle you may wish to simply run the build and publish stages, or just the deploy, without having to run the whole thing.
Stages get used when invoking the CLI of citadel itself:
1
citadel-generate -i build,publish,test
Would ignore the build and publish phases, and compute whatever there is left in the citadel.yml file (likely the deploy).
If you just want to run the build, you could:
1
citadel-generate -i publish,deploy,test