Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
d5729b6d
Commit
d5729b6d
authored
2 years ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-983
: Verify dsconfig changes in deploy
parent
fd79e578
No related branches found
No related tags found
1 merge request
!469
L2SS-983: Deployment through environments and ansible
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy/deploy.yml
+23
-5
23 additions, 5 deletions
deploy/deploy.yml
with
23 additions
and
5 deletions
deploy/deploy.yml
+
23
−
5
View file @
d5729b6d
...
...
@@ -57,11 +57,11 @@
shell
:
"
make
stop"
args
:
chdir
:
"
{{
default_install_path
}}/docker-compose"
-
name
:
Git Fetch All
changed_when
:
false
shell
:
"
git
fetch
--all"
args
:
chdir
:
"
{{
default_install_path
}}"
#
- name: Git Fetch All
#
changed_when: false
#
shell: "git fetch --all"
#
args:
#
chdir: "{{ default_install_path }}"
-
name
:
Update Sources
changed_when
:
false
shell
:
"
git
checkout
{{
station_version
}}"
...
...
@@ -91,11 +91,29 @@
shell
:
"
./sbin/load_ConfigDb.sh
CDB/LOFAR_ConfigDb.json"
args
:
chdir
:
"
{{
default_install_path
}}"
-
name
:
Get Base Database Config
changed_when
:
false
shell
:
"
./sbin/load_ConfigDb.sh
CDB/LOFAR_ConfigDb.json
2>&1"
register
:
base_dsconfig_result
args
:
chdir
:
"
{{
default_install_path
}}"
-
name
:
Verify Base Database Config
when
:
'
"No
changes
needed"
in
base_dsconfig_result.stdout'
debug
:
msg="Base database changes stored"
-
name
:
Update Station Database Config
changed_when
:
false
shell
:
"
./sbin/load_ConfigDb.sh
CDB/stations/{{
station_config
}}"
args
:
chdir
:
"
{{
default_install_path
}}"
-
name
:
Get Station Database Config
changed_when
:
false
shell
:
"
./sbin/load_ConfigDb.sh
CDB/stations/{{
station_config
}}
2>&1"
register
:
station_dsconfig_result
args
:
chdir
:
"
{{
default_install_path
}}"
-
name
:
Verify Station Database Config
when
:
'
"No
changes
needed"
in
station_dsconfig_result.stdout'
debug
:
msg="Station database changes stored"
-
name
:
Start Station
changed_when
:
false
shell
:
"
make
start"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment