Commits on Source (72)
-
Eesaan Atluri authored190fe18e
-
Eesaan Atluri authored
Feat gl cicd var scripts Closes #232 See merge request rc/hpc-factory!196
-
Eesaan Atluri authored1302836f
-
Eesaan Atluri authored
fix: openldap-servers pkg install failure Closes #237 See merge request rc/hpc-factory!199
-
Eesaan Atluri authored100dc7c8
-
Eesaan Atluri authored
Add missing pasword auth config for catchall in sshpiper Closes #247 See merge request !202
-
Dylan Wheeler authored
feat: update group_vars to have variable for centos_repos and update the related ansible playbook to pull from that variable
cd4a3038 -
Bo-Chun Chen authored
FEAT: paramaterize centos repos See merge request !205
-
Eesaan Atluri authored
* Detach the floating ips to assign to new instance * Detach internal port to assign it to new instance * Install NetworkManager required during deploy NetworkManager is restarted during cloud-init final module but it failsbecause the package was not available. So install it during build to make it available during deploy
2c20aada -
Eesaan Atluri authored
Automate ood knightly build and deploy in a single pipeline Closes #231 See merge request rc/hpc-factory!197
-
Eesaan Atluri authored
* feat: Colorize packer ansible provisioner tasks Closes #260
b9010e0e -
Eesaan Atluri authored
Enable callback plugins to format the ansible log Closes #260 See merge request rc/hpc-factory!207
-
Eesaan Atluri authored
- Keep the latest $NUM_IMAGES_TO_KEEP no. of images in a list sorted by creation time in descending order. - The NUM_IMAGES_TO_KEEP value should always be postive so that the list of servers to delete will be calculated correctly - Never run the cleanup_img job if NUM_IMAGES_TO_KEEP is non-postive. So if you intend to not cleanup the images for any reason, just pass a negative value or 0 to the NUM_IMAGES_TO_KEEP
76c52d7a -
Eesaan Atluri authored6406f2c8
-
Eesaan Atluri authored5bbfdc33
-
Eesaan Atluri authored3fc9b750
-
Eesaan Atluri authored
Use creation time as sort key rather than using image name with timestamp. Currently, the name only allows either a build tag or datetime. So filtering and sorting by image name won't give us complete list because we can only select images with buildtag or datetime in their name. This change allows flexibility in changing the image naming format in future
444f32a3 -
Eesaan Atluri authored9cd78e89
-
Eesaan Atluri authorede0786eec
-
During cleanup, --name filter will only match the exact string, not a pattern match. Since we use datetime in the name, we can't use it to match a set of images. We use a tag constructed from BUILD_TARGET-BUILD_TAG-ENV for filtering.
6fefbb40 -
Eesaan Atluri authored371cba1a
-
Eesaan Atluri authored91fec2f8
-
Eesaan Atluri authoreda82c386d
-
Eesaan Atluri authored
ci: Add Job to cleanup older images for all builds Closes #265 See merge request rc/hpc-factory!209
-
Eesaan Atluri authored540fe9dc
-
Eesaan Atluri authored80cd89d3
-
Eesaan Atluri authoreddaeb4472
-
Eesaan Atluri authored3cdcc529
-
Eesaan Atluri authored4f0136cc
-
Eesaan Atluri authored12ba17c0
-
Bo-Chun Chen authored763578be
-
Eesaan Atluri authored
Closes rc/hpc-factory#248 With this change you can define multiple bind addresses for account app Gunicorn allows defining multiple bind addresses.
060a9bfa -
Eesaan Atluri authoredc1792f11
-
Eesaan Atluri authored1807f643
-
Eesaan Atluri authored1c7980a2
-
Eesaan Atluri authoreda2804081
-
Bo-Chun Chen authored
feat: use variable for fstype in fstab Closes #273 See merge request !214
-
Eesaan Atluri authoredafe9050d
-
Eesaan Atluri authored
We moved away from deploying account app inside OOD apache webserver We use gunicorn webserver to serve account app behind an http proxy. We configured gunicorn to accept traffic from proxy.
ad8a459f -
Eesaan Atluri authored
OOD deploy time config changes Closes #248 and #214 See merge request rc/hpc-factory!195
-
Eesaan Atluri authorede831c26a
-
Eesaan Atluri authoredfe36c58a
-
Eesaan Atluri authored
By default keep the previously deployed instance. Any instance older than that will be deleted based on the NUM_SERVERS_TO_KEEP variable.
8a2bcd77 -
Eesaan Atluri authoredce9a4567
-
Eesaan Atluri authored
The NUM_SERVERS_TO_KEEP value should always be postive so that the list of servers to delete will be calculated correctly.
98e116b6 -
Eesaan Atluri authored4fb2ca03
-
Eesaan Atluri authoreddcce0366
-
Eesaan Atluri authoredd5a1a22f
-
Eesaan Atluri authored
Replaces image-based sort with filtering by tags and sorting by creation time to determine old instances for deletion. This also simplifies the previous logic to print a list of servers for deletion
f0b434d9 -
Eesaan Atluri authored
Prevents running prod from getting deleted because it will be the oldest instance in the sorted list of servers to delete. Also allows rollback if the new prod instance fails after cutover.
6d8644e3 -
Eesaan Atluri authoredcde4773c
-
Bo-Chun Chen authored
Move build var overrides to PKR_VARS_extra_vars Closes #266 See merge request rc/hpc-factory!215
-
Eesaan Atluri authored
remove explicit check for pipeline source, since CI_MERGE_REQUEST_IID will always be set in MR pipelines, skipped otherwise.
3ab518b1 -
Eesaan Atluri authoredfa7e977b
-
Eesaan Atluri authored
fix: Use the image name format formed from image_tag See merge request rc/hpc-factory!217
-
Eesaan Atluri authored17cb7406
-
Eesaan Atluri authored
fix: remove extra spaces in img name Closes #283 See merge request !219
c893e23f -
Eesaan Atluri authored
Double quotes conflicted with the f-string syntax. Using single quotes avoids syntax errors when accessing dict keys.
49ac37af -
Eesaan Atluri authored
Fix f-string error due to double quotes when dereferencing a list element Closes #284 See merge request !220
-
Dylan W Wheeler authoredb2254aa5
-
Dylan W Wheeler authored
FEAT: updating requirements.txt See merge request rc/hpc-factory!221
-
Dylan W Wheeler authored18743db5
-
Eesaan Atluri authored
Add Job to cleanup old instances after deploy for OOD Closes #240 See merge request !206
-
Dylan W Wheeler authored22eef887
-
Bo-Chun Chen authored
FEAT: update utils README Closes #291 See merge request !222
-
Eesaan Atluri authored14047ea8
-
Eesaan Atluri authored
update utils/readme with a cmd to create new sched pipeline Closes #286 See merge request rc/hpc-factory!223
1f85da16 -
Eesaan Atluri authored
The python-gitlab cli allows listing only sched pipeline IDs of a project. This script allows us to list the description slong with it. This helps a user to look at pipeline list and decide which sched pipeline they would read/write the variables.
ab5748ee -
Eesaan Atluri authored97f50d32
-
Eesaan Atluri authored
Script to list sched pipelines with ID and description Closes #287 See merge request rc/hpc-factory!224
-
Eesaan Atluri authored
If the build job fails we don't want to run the deploy job. We use needs keyword to accomplish it. We use optional: true so that if the needed job is not present, the job can start when all other needs requirements are met.
cc0d0dd0 -
Bo-Chun Chen authored
Avoid the deploy when build fails for OOD Closes #282 See merge request !226
Showing
- .gitlab-ci.yml 129 additions, 35 deletions.gitlab-ci.yml
- ansible/ansible.cfg 15 additions, 0 deletionsansible/ansible.cfg
- ansible/cluster.yml 2 additions, 0 deletionsansible/cluster.yml
- ansible/group_vars/all 15 additions, 0 deletionsansible/group_vars/all
- ansible/roles/fix_centos_repo/tasks/main.yaml 1 addition, 1 deletionansible/roles/fix_centos_repo/tasks/main.yaml
- ansible/roles/ldap_config/tasks/main.yml 0 additions, 1 deletionansible/roles/ldap_config/tasks/main.yml
- ansible/roles/nfs_mounts/tasks/fstab.yml 1 addition, 1 deletionansible/roles/nfs_mounts/tasks/fstab.yml
- ansible/roles/ood_config/files/shell-app.js 252 additions, 0 deletionsansible/roles/ood_config/files/shell-app.js
- ansible/roles/ood_config/tasks/main.yml 39 additions, 0 deletionsansible/roles/ood_config/tasks/main.yml
- ansible/roles/ood_config/templates/ood_proxy.conf.j2 206 additions, 0 deletionsansible/roles/ood_config/templates/ood_proxy.conf.j2
- ansible/roles/ood_config/templates/shell_app.env.j2 1 addition, 0 deletionsansible/roles/ood_config/templates/shell_app.env.j2
- ansible/roles/ssh_proxy_config/templates/sshpiperd.yaml.j2 6 additions, 0 deletionsansible/roles/ssh_proxy_config/templates/sshpiperd.yaml.j2
- openstack-ood/nodeimage.pkr.hcl 8 additions, 2 deletionsopenstack-ood/nodeimage.pkr.hcl
- requirements.txt 8 additions, 0 deletionsrequirements.txt
- utils/README.md 56 additions, 0 deletionsutils/README.md
- utils/gitlab-ci-vars-reader.py 72 additions, 0 deletionsutils/gitlab-ci-vars-reader.py
- utils/gitlab-ci-vars-updater.py 133 additions, 0 deletionsutils/gitlab-ci-vars-updater.py
- utils/gitlab.ini.example 10 additions, 0 deletionsutils/gitlab.ini.example
- utils/list-sched-pipelines.py 40 additions, 0 deletionsutils/list-sched-pipelines.py
ansible/ansible.cfg
0 → 100644
ansible/roles/ood_config/files/shell-app.js
0 → 100644
ansible/roles/ood_config/tasks/main.yml
0 → 100644
requirements.txt
0 → 100644
certifi==2025.1.31 | |||
charset-normalizer==3.4.1 | |||
idna==3.10 | |||
python-gitlab==5.6.0 | |||
requests==2.32.3 | |||
requests-toolbelt==1.0.0 | |||
urllib3==2.4.0 | |||
PyYAML==6.0.2 |
utils/README.md
0 → 100644
utils/gitlab-ci-vars-reader.py
0 → 100755
utils/gitlab-ci-vars-updater.py
0 → 100644
utils/gitlab.ini.example
0 → 100644
utils/list-sched-pipelines.py
0 → 100755