CI: Migrate to JCasC managed files
Signed-off-by: Kevin Sandi <ksandi@contractor.linuxfoundation.org>
Change-Id: I1880c3d8a66edaf23083d0734d3914af02b8837b
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@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..b942b13
--- /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-env"
\ No newline at end of file
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..f4935bf
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/content
@@ -0,0 +1,13 @@
+{
+ "cloud_auth_url": "https://auth.vexxhost.net/v3/",
+ "cloud_tenant": "340aa2bd-d826-4bc3-b0b7-8f85b7e84294",
+ "cloud_user": "$PACKER_CLOUD_USR",
+ "cloud_pass": "$PACKER_CLOUD_PSW",
+ "cloud_network": "b9e029b4-9b35-4a83-a4e6-c820eb00c3ec",
+ "cloud_region": "sjc1",
+ "cloud_availability_zone": "nova",
+ "flavor": "v2-highcpu-1",
+ "vm_use_block_storage": "true",
+ "vm_image_disk_format": "raw",
+ "ssh_proxy_host": ""
+}
\ No newline at end of file
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 120000
index 0000000..ba50257
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.sandbox.yaml
@@ -0,0 +1 @@
+customizedCredentialMappings.yaml
\ No newline at end of file
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..1f2397e
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/packer-cloud-env/customizedCredentialMappings.yaml
@@ -0,0 +1,4 @@
+---
+customizedCredentialMappings:
+ - credentialsId: "packer-cloud"
+ tokenKey: "PACKER_CLOUD"
\ No newline at end of file