Add Kitchen tests
Fixes: PROD-26009 (PROD:26009)
Change-Id: I77f5e11163b3440c9985864eeecc997a1bb2e188
diff --git a/tests/pillar/client.sls b/tests/pillar/client.sls
index 69d77c5..444ef78 100644
--- a/tests/pillar/client.sls
+++ b/tests/pillar/client.sls
@@ -35,4 +35,5 @@
host: 0.0.0.0
protocol: "http"
http_port: 80
- ssh_port: 22
\ No newline at end of file
+ ssh_port: 22
+ key: "key"
\ No newline at end of file
diff --git a/tests/pillar/mcp_extra_repo.sls b/tests/pillar/mcp_extra_repo.sls
new file mode 100644
index 0000000..259c552
--- /dev/null
+++ b/tests/pillar/mcp_extra_repo.sls
@@ -0,0 +1,58 @@
+linux:
+ system:
+ enabled: true
+ repo:
+ mcp_extra_repo:
+ source: "deb http://mirror.mirantis.com/nightly/extra/{{ grains.get('oscodename') }} {{ grains.get('oscodename') }} main"
+ architectures: amd64
+ clean_file: true
+ key: |
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+ Version: GnuPG v1
+
+ mQENBFWt8ogBCACtT/j4WMGuhEI486Vv9zVV0GWGefHE5hBlgJSjSgrExLFqQ2Fo
+ ScaABCfvzUeuXHNoh/c2eLjx3YE6oFrdiw5tam0NFlZMM+PSufciTxQz8vrXHGx7
+ VB5rg2TXKoqOv9cW690FsRAeOtKTtBxZvYVTLEPn2GJW09Xy9CBa+n23XBHTBvKs
+ j3hxkn25Oy70Wgxk/BJqpynXGno+NzuAnIbb+f+X7i6fiXwrvtp5zOYOJeUwS+fU
+ IM/mXbetOd/sHtJqc9NUYpTip4nElEqAYRCsXDTbuMNdzSr8VlSMM8b61mBGelLH
+ XJe+EPP+Logc5KXO8adoGgWhqlbD6n7w+ynHABEBAAG0LmZ1ZWwtaW5mcmEgKEV4
+ YW1wbGUga2V5KSA8ZGV2b3BzQG1pcmFudGlzLmNvbT6JATgEEwECACIFAlWt8ogC
+ GwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJELzlzEYfoisIkuQIAJl0cFJ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+R5jrmaGu9fG
+ =sqIn
+ -----END PGP PUBLIC KEY BLOCK-----
diff --git a/tests/pillar/server.sls b/tests/pillar/server.sls
index 07a76f5..49af9dd 100644
--- a/tests/pillar/server.sls
+++ b/tests/pillar/server.sls
@@ -2,8 +2,10 @@
server:
enabled: true
canonical_web_url: http://10.10.10.148:8082/
- email_private_key: ""
- token_private_key: ""
+ bind:
+ address: 127.0.0.1
+ email_private_key: "email_private_key"
+ token_private_key: "token_private_key"
initial_user:
full_name: John Doe
email: 'mail@jdoe.com'
@@ -45,16 +47,6 @@
port: 5432
name: gerrit
user: gerrit
- password: ${_param:postgresql_gerrit_password}
+ password: passw0rd
pool_limit: 250
pool_max_idle: 16
- client:
- enabled: true
- server:
- user: "jdoe"
- password: "passw0rd"
- email: "jdoe@email.com"
- host: 0.0.0.0
- protocol: "http"
- http_port: 80
- ssh_port: 22