From c671305adbf8775ecc5680efbbf8108231a83078 Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Tue, 28 Nov 2023 15:04:30 +0100 Subject: [PATCH] Update README, make path configurable --- README.md | 12 ++++++++++-- deploy_dqmgui.sh | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ade7fd..e850680 100644 --- a/README.md +++ b/README.md @@ -131,13 +131,15 @@ The installation package is created by running `download_dependencies.sh`. This ## FAQ -### How do I create a new installation package, using new versions of specific packages? +### Releases and Installation packages + +#### How do I create a new installation package, using new versions of specific packages? 1. Go to [Actions secrets and variables](https://github.com/cms-DQM/dqmgui_prod_deployment/settings/variables/actions). 2. Edit the `Repository variables` to reflect the versions of the packages you want to include in the release. For example, if you want to use DQMGUI [`9.8.0`](https://github.com/cms-DQM/dqmgui_prod/releases/tag/9.8.0), change `DQMGUI_GIT_TAG` to `9.8.0`. 3. Trigger the `build_installation_package` action [here](https://github.com/cms-DQM/dqmgui_prod_deployment/actions/workflows/build_installation_package.yaml): Click the topmost row of the "workflow runs" table, and in the new page that opens, click `Re-run all jobs`. -### When do I need to re-trigger the GitHub actions of this repository? +#### When do I need to re-trigger the GitHub actions of this repository? Two cases: @@ -146,3 +148,9 @@ DQMGUI, or DMWM's deployment. 2. You want to update an *existing* release (less common, probably for debugging reasons): The release you are looking for exists, but some of the packages downloaded in this release have been updated, using the same tag/reference/branch name. For example, if you want to include a development branch of DQMGUI (e.g. `dev`), the DQMGUI `dev` branch may be updated, but the installation package that has been created cloned an older version of the `dev` branch. + +### Installation + +#### Is it needed to recompile ROOT every time I install DQMGUI? + +No. In principle (assuming that you don't change ROOT version between releases) you only need to compile ROOT once. However, should you want to change ROOT versions between releases or just force a recompilation anyway (guaranteed fun for the whole family), you can do it by deleting the file `/root/bin/thisroot.sh` (default: `/data/srv/root/bin/thisroot.sh`). diff --git a/deploy_dqmgui.sh b/deploy_dqmgui.sh index 4ffa828..cf8665b 100755 --- a/deploy_dqmgui.sh +++ b/deploy_dqmgui.sh @@ -27,7 +27,7 @@ EUID_USER_DQM=40454 INSTALLATION_DIR=/data/srv # Where ROOT will be installed -ROOT_INSTALLATION_DIR=/data/srv/root +ROOT_INSTALLATION_DIR=$INSTALLATION_DIR/root # This scipt's directory SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)