Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ics-ans-role-phoebus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ics-ansible-galaxy
ics-ans-role-phoebus
Commits
2864fb06
Commit
2864fb06
authored
5 years ago
by
Anders Harrisson
Browse files
Options
Downloads
Patches
Plain Diff
Fix incorrect paths
parent
fde0cf24
No related branches found
Branches containing commit
Tags
v0.9.0
Tags containing commit
No related merge requests found
Pipeline
#26236
passed
5 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
molecule/default/tests/test_default.py
+2
-2
2 additions, 2 deletions
molecule/default/tests/test_default.py
templates/phoebus.j2
+1
-1
1 addition, 1 deletion
templates/phoebus.j2
with
3 additions
and
3 deletions
molecule/default/tests/test_default.py
+
2
−
2
View file @
2864fb06
...
@@ -5,7 +5,7 @@ import testinfra.utils.ansible_runner
...
@@ -5,7 +5,7 @@ import testinfra.utils.ansible_runner
testinfra_hosts
=
testinfra
.
utils
.
ansible_runner
.
AnsibleRunner
(
testinfra_hosts
=
testinfra
.
utils
.
ansible_runner
.
AnsibleRunner
(
os
.
environ
[
'
MOLECULE_INVENTORY_FILE
'
]).
get_hosts
(
'
all
'
)
os
.
environ
[
'
MOLECULE_INVENTORY_FILE
'
]).
get_hosts
(
'
all
'
)
PHOEBUS_VERSION
=
'
4.6.0
-SNAPSHOT
'
PHOEBUS_VERSION
=
'
4.6.0
'
def
test_default
(
host
):
def
test_default
(
host
):
...
@@ -22,7 +22,7 @@ def test_default(host):
...
@@ -22,7 +22,7 @@ def test_default(host):
def
test_settings
(
host
):
def
test_settings
(
host
):
settings
=
host
.
file
(
"
/opt/ess-phoebus-{}/phoebus.ini
"
.
format
(
PHOEBUS_VERSION
))
settings
=
host
.
file
(
"
/opt/ess-
cs-studio-
phoebus-{}/phoebus.ini
"
.
format
(
PHOEBUS_VERSION
))
assert
settings
.
exists
assert
settings
.
exists
assert
settings
.
is_file
assert
settings
.
is_file
assert
settings
.
contains
(
"
org.phoebus.pv.ca/addr_list=127.0.0.1
"
)
assert
settings
.
contains
(
"
org.phoebus.pv.ca/addr_list=127.0.0.1
"
)
This diff is collapsed.
Click to expand it.
templates/phoebus.j2
+
1
−
1
View file @
2864fb06
#!/usr/bin/env bash
#!/usr/bin/env bash
PHOEBUS_OPTS
=
"{{ phoebus_options }}"
PHOEBUS_OPTS
=
"{{ phoebus_options }}"
PHOEBUS_JAR
={{
phoebus_home
}}
/ess-phoebus-
{{
phoebus_version
}}
.jar
PHOEBUS_JAR
={{
phoebus_home
}}
/ess-
cs-studio-
phoebus-
{{
phoebus_version
}}
.jar
if
[[
-d
/opt/conda/envs/csstudio/bin
]]
if
[[
-d
/opt/conda/envs/csstudio/bin
]]
then
then
...
...
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