Skip to content
Snippets Groups Projects
Commit c6ecbcc6 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Disable automatic deployment to the LCR

We don't want to automatically push changes that might affect the work in the LCR.

JIRA INFRA-566 #action In Progress
parent 8f51da9e
No related branches found
No related tags found
No related merge requests found
stages:
- deploy
deploy-lcr:
tags:
- docker
stage: deploy
image: registry.esss.lu.se/ics-docker/tower-cli:3.3
script:
- >
tower-cli job launch
-h torn.tn.esss.lu.se
-t ${TOWER_OAUTH_TOKEN}
-J "deploy-cs-studio@lcr"
--tags csstudio-ess-opis
-e "csstudio_ess_opis_version=$CI_COMMIT_REF_NAME" --monitor
only:
- master@ics-software/ess-opis
deploy-nx:
tags:
- docker
......
......@@ -176,6 +176,9 @@ this readme file will be updated accordingly.
The ess-opis repository is cloned and mounted in CS-Studio by the [Ansible role](https://gitlab.esss.lu.se/ics-ansible-galaxy/ics-ans-role-cs-studio)
used to deploy CS-Studio.
Every time a push is done on the master branch, it triggers an Ansible job via
AWX API to update the git repository on the LCR workstations. Refer to the
`.gitlab-ci.yml` file for the implementation.
Automatic update to the LCR has been disabled to prevent unwanted changes.
Deployment is done from AWX using the "deploy-cs-studio-opis" template.
Deployment to the nxbastion machine is still automatic when pushing to the master branch.
Refer to the `.gitlab-ci.yml` file for the implementation.
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