Skip to content
Snippets Groups Projects
Commit 5d83be06 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Merge branch 'feat-uab-ui' into 'master'

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

See merge request !15
parents 99743120 801f2c8d
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