Skip to content
Snippets Groups Projects
Commit 801f2c8d authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Set UAB_UI to true for staging OR production environment in CRI_Cluster_Monitor/group_vars/all

parent 99743120
No related branches found
No related tags found
1 merge request!15Set UAB_UI to true for staging OR production environment in CRI_Cluster_Monitor/group_vars/all
...@@ -50,6 +50,10 @@ build_packer: ...@@ -50,6 +50,10 @@ build_packer:
- 'sed -i -E "s/(trusted_url_domains: ).*/\1xdmod.rc.uab.edu/" CRI_Cluster_Monitor/group_vars/all' - 'sed -i -E "s/(trusted_url_domains: ).*/\1xdmod.rc.uab.edu/" CRI_Cluster_Monitor/group_vars/all'
- 'sed -i -E "s/(sacct_log_file_path: ).*/\1\/CRI_Cluster_Monitor\/slurm-cluster.log/" CRI_Cluster_Monitor/group_vars/all' - 'sed -i -E "s/(sacct_log_file_path: ).*/\1\/CRI_Cluster_Monitor\/slurm-cluster.log/" CRI_Cluster_Monitor/group_vars/all'
- 'sed -i -E "s/(enable_user_reg: ).*/\1false/" CRI_XCBC/group_vars/all' - 'sed -i -E "s/(enable_user_reg: ).*/\1false/" CRI_XCBC/group_vars/all'
- |
if [ "$TARGET_ENV" == "staging" || "$TARGET_ENV" == "production" ]; then
'sed -i -E "s/(enable_UAB_UI: ).*/\1true/" CRI_Cluster_Monitor/group_vars/all'
fi
- echo $PKR_VAR_s3_endpoint - echo $PKR_VAR_s3_endpoint
- packer validate xdmod - packer validate xdmod
- packer build -machine-readable xdmod - packer build -machine-readable xdmod
......
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