Skip to content
Snippets Groups Projects
Commit 270461e9 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Merge branch 'feat-build-date-iso8601' into 'master'

Use ISO8601 for image timestamp

Closes terraform-openstack#6

See merge request !21
parents 84493777 0415d842
No related branches found
No related tags found
1 merge request!21Use ISO8601 for image timestamp
......@@ -39,7 +39,7 @@ build_packer:
script:
- cd CRI_XCBC && git checkout dev && git pull && cd ..
- cd CRI_Cluster_Monitor && git checkout master && git pull && cd ..
- export PKR_VAR_build_image_name="xdmod-$TARGET_ENV-$(date +%Y%m%d%H%M%S)"
- export PKR_VAR_build_image_name="xdmod-$TARGET_ENV-$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S)"
- 'sed -i -E "s/(enable_selinix_permissive: ).*/\1true/" CRI_Cluster_Monitor/group_vars/all'
- 'sed -i -E "s/(enable_simplesaml: ).*/\1true/" CRI_Cluster_Monitor/group_vars/all'
- 'sed -i -E "s/(openssl_cert_gen: ).*/\1true/" CRI_Cluster_Monitor/group_vars/all'
......@@ -68,7 +68,7 @@ clean_up: # This job removes older built images
openstack image delete ${img}
done
allow_failure: true
trigger_job:
stage: post_build
variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment