Commit Graph

10 Commits

Author SHA1 Message Date
Andrii Ostapenko
44d263b2bf Enable templates linting
- braces
- brackets
- colons
- commas
- comments
- hyphens
- indentation
- key-duplicates

with corresponding code changes.

Also disable enforcement for document-(start|end) rules and
disables warnings to increase readability.

* Unrestrict octal values rule since benefits of file modes readability
  exceed possible issues with yaml 1.2 adoption in future k8s versions.
  These issues will be addressed when/if they occur.

Change-Id: Ic5e327cf40c4b09c90738baff56419a6cef132da
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-11 00:52:51 +00:00
Gage Hugo
482dbcac29 Scan templated python files with bandit
This change adds a zuul check job to export any templated python
contained in the helm charts and scan it with bandit for any
potential security flaws.

This also adds two nosec comments on the instances of subprocess
used as they currently do not appear to be malicious, as well
as changing the endpoint_update python code to prevent sql
injection, which satisfies bandit code B608.

Change-Id: I2212d26514c3510353d16a4592893dd2e85cb369
2019-01-22 20:53:52 +00:00
Pete Birley
4ba2dec634 Gate: Enable API access from VMs in the gate and development envs
This PS enables API access from VMs in the gate and development env

Change-Id: I0639e43dc88cbe8bf4cfe102320e2a8bf9025073
Depends-On: I32c8e752675b037610f77c8baee1c1636d5a032e
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-14 01:38:49 -05:00
Pete Birley
95763c3d44 Gate: add basic cinder tests to gate
This PS adds basic tests for cinder to the OSH gates.

Change-Id: Idfd2a738fe4ac69eda0ebc85a10d2e408127c0de
2018-05-02 01:33:33 +00:00
Pete Birley
a9bd125f69 Gate: Update heat templates and enable cinder in ceph dev pipeline
This PS updates the heat templates, reducing the size of the
launched vm. In addition cinder is enabled in the ceph dev
pipeline, this is possible due to the resources no longer
consumed by the test vm.

Change-Id: I9efe6fe643c636b660dd54b60dfe7c8785d7fec2
2018-03-30 05:25:08 +00:00
portdirect
c6b7fc2764 Dev-Deploy: move to k8s DNS addr for private network
This PS moves the DNS nameservers used in the smoketest heat
template to use the k8s DNS on the dev host.

Change-Id: I3a5f9eb2689f01ee2ef216843b80fbe2607eb5bc
2018-02-19 14:26:26 +00:00
Pete Birley
70d010d63a Ironic: chart and initial gate scripts
This PS adds a chart, and checks, for OpenStack Ironic.

Change-Id: I9632885e5a0ca18e4e425c6b163f73d0d1e5649d
2018-02-06 22:48:49 +00:00
portdirect
2d2e10bfb7 Gate: Update heat templates to export floating IP
This PS updates the heat template to output the Floating IP, which
makes the gate scripts compatible with the current master clients
when used with newton images.

Change-Id: I8e429b504ede521612c91d7563a8c5e4953bdbb4
2018-01-17 03:40:51 +00:00
Darla Ahlert
cbb6ed9172 Add Rally Chart
Basic functioning chart
Helm tests to verify functionality
Documentation to support

Implements: blueprint openstack-helm-chart-rally
Change-Id: Idcff88db63a5d8be6099969c41f6c34450c61064
2017-10-05 09:19:49 -05:00
Pete Birley
ff6e6d19f9 Gate: Heat functional test
This PS adds a functional test of heat in the OSH gates, it also moves
most params to a seperate file - making config of the gate in non-zuul
environments simpler.

Change-Id: I37a1bc0dcc8000c5da8067a8d376c78f7cd6f7ab
2017-08-21 13:55:53 -05:00