diff --git a/.github/workflows/build_installation_package.yaml b/.github/workflows/build_installation_package.yaml index a3adbcc..66dfcad 100644 --- a/.github/workflows/build_installation_package.yaml +++ b/.github/workflows/build_installation_package.yaml @@ -11,10 +11,17 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Download and compress dependencies + env: + DMWM_GIT_TAG: ${{ env.DMWM_GIT_TAG }} + DMWM_GIT_URL: ${{ env.DMWM_GIT_URL }} + DQMGUI_GIT_TAG: ${{ env.DQMGUI_GIT_TAG }} + DQMGUI_GIT_URL: ${{ env.DQMGUI_GIT_URL }} + ROOT_GIT_URL: ${{ env.DQMGUI_GIT_TAG }} + ROOT_GIT_TAG: ${{ env.DQMGUI_GIT_URL }} run: | sudo apt update && sudo apt install -y libcurl4-gnutls-dev $(which python3) --version - bash download_dependencies.sh + bash download_dependencies.sh DMWM_GIT_TAG=$DMWM_GIT_TAG DMWM_GIT_URL=$DMWM_GIT_URL DQMGUI_GIT_TAG=$DQMGUI_GIT_TAG ROOT_GIT_URL=$ROOT_GIT_URL ROOT_GIT_TAG=$ROOT_GIT_TAG bash build_installation_package.sh - name: Archive package artifact uses: actions/upload-artifact@v3 @@ -27,14 +34,27 @@ jobs: # This will automatically update the artifacts of the "latest" release, # even though the "latest" tag does match with the actually latest commit. - name: Release + env: + DMWM_GIT_TAG: ${{ env.DMWM_GIT_TAG }} + DMWM_GIT_URL: ${{ env.DMWM_GIT_URL }} + DQMGUI_GIT_TAG: ${{ env.DQMGUI_GIT_TAG }} + DQMGUI_GIT_URL: ${{ env.DQMGUI_GIT_URL }} + ROOT_GIT_URL: ${{ env.DQMGUI_GIT_TAG }} + ROOT_GIT_TAG: ${{ env.DQMGUI_GIT_URL }} uses: ncipollo/release-action@v1 with: artifacts: "/tmp/dqmgui/dqmgui_installation_package.tar.gz" body: "Automatically generated dummy release for making the installation - package publicly available. The `latest` tag is - put on a random commit, and does not reflect the current state of the release, - while the artifact of this release is updated with the actually latest files, - on each push." - tag: "latest" + package publicly available. + + Used: + + * DMWM_GIT_TAG=$DMWM_GIT_TAG + * DMWM_GIT_URL=$DMWM_GIT_URL + * DQMGUI_GIT_TAG=$DQMGUI_GIT_TAG + * ROOT_GIT_URL=$ROOT_GIT_URL + * ROOT_GIT_TAG=$ROOT_GIT_TAG + " + tag: "DMWM_$DMWM_GIT_TAG_DQMGUI=$DQMGUI_GIT_TAG_ROOT_$ROOT_GIT_TAG" allowUpdates: "true" diff --git a/README.md b/README.md index fd8d618..ab7d54c 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,8 @@ This procedure has been tested on a RHEL8 Openstack VM. Instructions below are p ``` OR * Download all the required files yourself (this is useful if you need specific versions of DMQM/deployment or DQMGUI, change them in `config.sh`): + > **Warning** + > You will need to have the same python version with the machine you rill be installing to! Configure that in `config.sh`, with the `PYTHON_VERSION` variable. ```bash git clone --depth 1 https://github.com/cms-DQM/dqmgui_prod_deployment && cd dqmgui_prod_deployment # Now change config.sh as needed.