Skip to content

Commit

Permalink
Merge preview commits to main (#24)
Browse files Browse the repository at this point in the history
* PENG-2467 modify the democluster user data to set up the slurm-influxdb integration

* PENG-2366 patch code to support the installation of the Vantage Agent in the democluster

* PENG-2366 fix small issue in the image-factory project, as well as fix the Makefile

* PENG-2366 create a separated environment for each agent, as well as fix the demo cluster user data by adding a systemd service for the vantage agent

* PENG-2366 patch the *deploy-democluster.sh* script for starting the vantage-agent systemd process in the demo cluster cloud init

* PENG-2372 patch the demo cluster to install the agents from the Snap Store

* PENG-2372 modify the CHANGELOG

* PENG-2366 patch the *deploy-democluster.sh* script to remove the set up of the configurations *task-self-update-interval-seconds*
  • Loading branch information
matheushent authored Dec 16, 2024
1 parent 60223dc commit 88ffe1f
Show file tree
Hide file tree
Showing 7 changed files with 489 additions and 378 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ This project contains the democluster image producing codebase.


#### Tuning
The environment variables `JG_VERSION` and `ENV` are exposed as tunables
The environment variables `JG_VERSION`, `VTG_VERSION` and `ENV` are exposed as tunables
to enable customizing the `democluster` for development purposes.

Example
```bash
ENV=dev JG_VERSION=4.3.1 \
ENV=dev JG_VERSION=4.3.1 VTG_VERSION=2.3.0 \
./public-scripts/deploy-democluster.sh \
aset-fc8b1039-faa7-47b1-967a-c1a55c418740 \
9mWa98GbTJMcBZhinfy08aqHPyQWZUn7tH_XrAGLiYE
Expand Down
14 changes: 14 additions & 0 deletions democluster/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ Tracking of all notable changes to the Demo Cluster image.
Unreleased
----------

0.4.0 - 2024-11-25
------------------

- Install the Jobbergate Agent and the Vantage Agent from the Snap Store in classic mode (`PENG-2372`_).

.. _PENG-2372: https://app.clickup.com/t/18022949/PENG-2372

0.3.0 - 2024-10-13
------------------

- Implement support for the InfluxDB integration with job metrics (`PENG-2467`_).

.. _PENG-2467: https://app.clickup.com/t/18022949/PENG-2467

0.2.0 - 2023-09-20
------------------

Expand Down
3 changes: 0 additions & 3 deletions democluster/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ check-deps: ## Check deps needed to build the image

.PHONY: init
init: ## Run packer init .
@if [ ! -z "$JG_VERSION" ]; then\
sed -i 's/jobbergate-agent==[0-9]\+\.[0-9]\+\.[0-9]\+/jobbergate-agent==$(JG_VERSION)/' user-data;\
fi
${PACKER} init .

.PHONY: stage0
Expand Down
Loading

0 comments on commit 88ffe1f

Please sign in to comment.