Feat: Add JCasC managed config files
Change-Id: Ibe1e731577cac990d078e03b4be21fdfc0c5b82c
Issue-ID: CIMAN-33
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml
new file mode 100644
index 0000000..d44d0fa
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/config-params.yaml
@@ -0,0 +1,3 @@
+---
+name: "packer-cloud-env"
+comment: "Packer cloud environmnet config"
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/content b/jenkins-config/managed-config-files/custom/packer-cloud-env/content
new file mode 100644
index 0000000..04d6eb6
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/content
@@ -0,0 +1,8 @@
+{
+ "cloud_auth_url": "https://auth.vexxhost.net/v3/",
+ "cloud_tenant": "ef6e8825-fc3a-4ebf-886a-ba51ada06a9c",
+ "cloud_user": "$CLOUD_USR",
+ "cloud_pass": "$CLOUD_PSW",
+ "cloud_network": "bd089be9-e846-4afe-905b-8bb6c7c90faf",
+ "ssh_proxy_host": ""
+}
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml
new file mode 100644
index 0000000..273a003
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+ - credentialsId: "packer-cloud-user"
+ tokenKey: "CLOUD"
diff --git a/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml
new file mode 100644
index 0000000..273a003
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+ - credentialsId: "packer-cloud-user"
+ tokenKey: "CLOUD"