Commit Graph

10 Commits

Author SHA1 Message Date
ricolin 53800d1057 Remove docs, deprecated hooks, tests
Remove all deprecated hooks and tests.
Also since all test and hooks are removed,
we can remove the declare of python language in classifier.
Since we didn't actually provide any document,
we should remove docs too.

Hooks are maintained as Agents under heat-agents repo now.
Hooks in heat-templates are deprecated for a while. Hence, remove
hooks in heat-templates.

Depends-On: https://review.openstack.org/#/c/584774/
Change-Id: Ia886f71eaf99d75db0f9a6a7dfbe8664995c26e7
2019-01-03 20:18:06 +13:00
rabi cedf276918 Add basic stuff to build docs
This adds basic stuff required to build docs.

Change-Id: Ib9b917cc442e73aa177c68b1e1b26792ed2e8cd2
2017-07-20 06:04:50 +00:00
Dan Prince 7c5aae183a A hook which invokes os-apply-config.
The intent is for this element (hook script) to be used in place of the
one in tripleo-image-elements which relies on an external signal handling
shell script at the end of the os-refresh-config run
(99-refresh-completed).

This version will run os-apply-config and return a signal immediately.
Because it uses the heat-hook mechanisms it also supports a broader set of
signal handling capabilities... which 99-refresh-completed doesn't fully
support.

Change-Id: Ic9402ff93cbc840bec1debcd8881de563d03cbf0
2016-09-29 14:46:45 -04:00
Adrien Vergé e9d9662bb6 Lint YAML files
Currently most OpenStack code is linted, but YAML files are not. As a
result, sometimes YAML problems enter the code base (e.g., the key
duplicate fixed in change I7f2369adfb152fd2a74b9b105e969e653e592922).

This patch enables YAML linting in tox linting tests, using the
yamllint tool [1]. It checks syntax errors, key duplicates, and
cosmetic problems.

[1]: http://yamllint.readthedocs.org/

EDIT: It also fixes six errors (including key duplicates) that entered
the code base after the first fix change was merged.
(I7f2369adfb152fd2a74b9b105e969e653e592922)

Change-Id: Ie746230f28fe3ed0cf218201d5a3810f7bc44070
2016-06-03 11:29:04 +02:00
Mark Vanderwiel f9a4f6d4d8 Use new openstack heat plugins for validation
Make use of new openstack orchestration template validate
heat plugin command in ver 1.2.0.

Depends-On: Icf5794ad6bb35574a060f095d7ef10e6a46ca2fe
Change-Id: I516da8cee501fab47cf34bdd3bb98cc5d7299c4a
Blueprint: heat-support-python-openstackclient
2016-04-14 10:17:34 -05:00
Kanagaraj Manickam 96a0b0b3d2 Fix for heat-template build failure
In mitaka, a new feature is introduced to ignore a given
set of errors and is used here to fix the zuul faliure.

In addition, it fixes the invalid template errors.

For those templates which causes circular error is
moved to invalid folder

NOTE: openshift-origin/centos65/highly-available is marked
as invald to make the build jobs to pass.

depends-on: I4a3043fd17b69a346d447dfbd17488040cf9b387
Change-Id: I7b5b72cb8f6ff53b82edf92799a57917c718e032
Closes-bug: #1554380
2016-03-10 19:49:28 +05:30
Randall Burt 10fd46579a Handle non-zero success codes from Salt
Salt does not always return 0 on success so verify actual
task results on non-zero return codes. Also add test for
salt config hook.

Change-Id: Ib848ef27ae29417ca38874d8310bdcd2bc35e2c3
Co-Authored-By: Chris Hultin <Chris.Hultin@rackspace.com>
Closes-Bug: #1483336
2015-10-05 12:24:41 -05:00
Sirushti Murugesan 4a4641a0a2 Upgrade Hacking version
Change-Id: Ib2fc7e0d8e27de2fef341e313e29904502158aa4
Closes-Bug: #1458450
2015-05-25 11:52:29 +05:30
Rabi Mishra 96898e3824 Add env_file support for docker-compose hook
Added support for `env_file` which can be single file or a list
of files. Use special input 'env_files' for the env_files. These
files will be created by the hook relative to the compose project
directory.

if 'env_file' entries in 'docker-compose.yml' do not exist in the
`input_values` supplied, docker-compose will throw an error as it
can't find these files.

Change-Id: I0dbe80e8c8c56cc680f8ee86b4f34cf3d27533c4
2015-04-07 22:46:47 +05:30
Steve Baker c393625dfa Support files for unit test of software-config hooks
This change adds a tox.ini file including environments
for py26, py27 and pep8. These will be used to unit test the
hot software-config hooks.

Change-Id: Ieea12be77205d777a6b9c0f1c239418b9ce59d9f
2014-10-13 12:19:06 +13:00