Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
cdee7d07
Commit
cdee7d07
authored
Sep 14, 2020
by
Claes
Committed by
Esteban Blanc
Dec 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docker tests updated
parent
485901f1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
169 deletions
+0
-169
src/tools/docker/Dockerfile.pwrtest01a
src/tools/docker/Dockerfile.pwrtest01a
+0
-13
src/tools/docker/Dockerfile.pwrtest01b
src/tools/docker/Dockerfile.pwrtest01b
+0
-13
src/tools/docker/pwrtest01c/Dockerfile.pwrtest01c
src/tools/docker/pwrtest01c/Dockerfile.pwrtest01c
+0
-16
src/tools/docker/pwrtest01c/test_pwrtest01c.sh
src/tools/docker/pwrtest01c/test_pwrtest01c.sh
+0
-44
src/tools/docker/test_pwrtest01a.sh
src/tools/docker/test_pwrtest01a.sh
+0
-41
src/tools/docker/test_pwrtest01b.sh
src/tools/docker/test_pwrtest01b.sh
+0
-42
No files found.
src/tools/docker/Dockerfile.pwrtest01a
deleted
100644 → 0
View file @
485901f1
ARG RELEASE=debian:10
FROM $RELEASE
ARG INSTALL_UPDATE
ARG INSTALL_PWRRT
ARG PKG_PWRRT
COPY ./test_pwrtest01a.sh ./$PKG_PWRRT ./pwrp_pkg_pwrtest01a_0001.tgz ./
RUN $INSTALL_UPDATE
RUN $INSTALL_PWRRT
RUN apt-get install -y iproute2
RUN dpkg -i $PKG_PWRRT
RUN mv ./pwrp_pkg_pwrtest01a_0001.tgz /home/pwrp/
CMD ./test_pwrtest01a.sh
src/tools/docker/Dockerfile.pwrtest01b
deleted
100644 → 0
View file @
485901f1
ARG RELEASE=debian:10
FROM $RELEASE
ARG INSTALL_UPDATE
ARG INSTALL_PWRRT
ARG PKG_PWRRT
COPY ./test_pwrtest01b.sh ./$PKG_PWRRT ./pwrp_pkg_pwrtest01b_0001.tgz ./
RUN $INSTALL_UPDATE
RUN $INSTALL_PWRRT
RUN apt-get install -y iproute2
RUN dpkg -i $PKG_PWRRT
RUN mv ./pwrp_pkg_pwrtest01b_0001.tgz /home/pwrp/
CMD ./test_pwrtest01b.sh
src/tools/docker/pwrtest01c/Dockerfile.pwrtest01c
deleted
100644 → 0
View file @
485901f1
ARG RELEASE=debian:10
FROM $RELEASE
ARG INSTALL_UPDATE
ARG INSTALL_PWRRT
ARG PKG_PWRRT
ENV DISPLAY :1
ENV DEBIAN_FRONTEND none_interactive
COPY ./pwrtest01c/test_pwrtest01c.sh ./$PKG_PWRRT ./pwrp_pkg_pwrtest01c_0001.tgz ./dummy_display_xorg.conf ./
RUN $INSTALL_UPDATE
RUN $INSTALL_PWRRT
RUN apt-get install -y xserver-xorg-video-dummy
RUN dpkg -i $PKG_PWRRT
RUN mv ./pwrp_pkg_pwrtest01c_0001.tgz /home/pwrp/
RUN ./test_pwrtest01c.sh
src/tools/docker/pwrtest01c/test_pwrtest01c.sh
deleted
100755 → 0
View file @
485901f1
#!/bin/bash
echo
"Here in test_pwrtest01b.sh"
Xorg
-noreset
+extension GLX +extension RANDR +extension RENDER
-config
./dummy_display_xorg.conf :99 &
sleep
20
su - pwrp
cd
/home/pwrp
pwd
source
.bashrc
export
DISPLAY
=
:99
pwd
ls
-l
export
PWR_BUS_ID
=
999
export
PYTHONPATH
=
$pwr_exe
pwr_pkg.sh
-i
/home/pwrp/pwrp_pkg_pwrtest01c_0001.tgz
# Rename boot, node and plcfiles
nname
=
`
eval uname
-n
`
bootfile
=
`
eval ls
-1
$pwrp_load
/ld_boot
*
.dat
`
nodefile
=
`
eval ls
-1
$pwrp_load
/ld_node
*
.dat
`
plcfile
=
`
eval ls
-1
$pwrp_exe
/plc_
*
_0999_plc
`
echo
"19-MAR-2020 17:06:54.32"
>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"pwrtest01"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"Common"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"plc_"
$nname
"_0999_plc"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"VolPwrTest01c 0.254.254.203"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"
$nname
0.254.254.203 127.0.0.1 0 0 0 0 600000 0.002000 0 0 - -"
>
$pwrp_load
/ld_node_
"
$nname
"
_0999.dat
mv
$plcfile
$pwrp_exe
/
"plc_"
$nname
"_0999_plc"
ip address
# Start project
rt_ini
-i
&
sleep
10
ps aux
export
PYTHONPATH
=
$pwr_exe
ra_testall_c.sh
ls
-l
$pwrp_log
sleep
3
\ No newline at end of file
src/tools/docker/test_pwrtest01a.sh
deleted
100755 → 0
View file @
485901f1
#!/bin/bash
echo
"Here in test_pwrtest01a.sh"
su - pwrp
cd
/home/pwrp
pwd
source
.bashrc
pwd
ls
-l
export
PWR_BUS_ID
=
999
pwr_pkg.sh
-i
/home/pwrp/pwrp_pkg_pwrtest01a_0001.tgz
# Rename boot, node and plcfiles
nname
=
`
eval uname
-n
`
bootfile
=
`
eval ls
-1
$pwrp_load
/ld_boot
*
.dat
`
nodefile
=
`
eval ls
-1
$pwrp_load
/ld_node
*
.dat
`
plcfile
=
`
eval ls
-1
$pwrp_exe
/plc_
*
_0999_plc
`
echo
"19-MAR-2020 17:06:54.32"
>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"pwrtest01"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"Common"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"plc_"
$nname
"_0999_plc"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"VolPwrTest01a 0.254.254.201"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"
$nname
0.254.254.201 172.17.0.2 0 0 0 0 600000 0.002000 0 0 - -"
>
$pwrp_load
/ld_node_
"
$nname
"
_0999.dat
echo
"pwrtest01b 0.254.254.202 172.17.0.3 0 0 0 0 600000 0.002000 0 0 - -"
>>
$pwrp_load
/ld_node_
"
$nname
"
_0999.dat
mv
$plcfile
$pwrp_exe
/
"plc_"
$nname
"_0999_plc"
ip address
# Start project
rt_ini
-i
&
sleep
10
ps aux
i
=
0
while
[
$i
-lt
100
]
;
do
ra_status
sleep
2
let
i
=
i+1
done
src/tools/docker/test_pwrtest01b.sh
deleted
100755 → 0
View file @
485901f1
#!/bin/bash
echo
"Here in test_pwrtest01b.sh"
su - pwrp
cd
/home/pwrp
pwd
source
.bashrc
pwd
ls
-l
export
PWR_BUS_ID
=
999
pwr_pkg.sh
-i
/home/pwrp/pwrp_pkg_pwrtest01b_0001.tgz
# Rename boot, node and plcfiles
nname
=
`
eval uname
-n
`
bootfile
=
`
eval ls
-1
$pwrp_load
/ld_boot
*
.dat
`
nodefile
=
`
eval ls
-1
$pwrp_load
/ld_node
*
.dat
`
plcfile
=
`
eval ls
-1
$pwrp_exe
/plc_
*
_0999_plc
`
echo
"19-MAR-2020 17:06:54.32"
>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"pwrtest01"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"Common"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"plc_"
$nname
"_0999_plc"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"VolPwrTest01b 0.254.254.202"
>>
$pwrp_load
/ld_boot_
"
$nname
"
_0999.dat
echo
"
$nname
0.254.254.202 172.17.0.3 0 0 0 0 600000 0.002000 0 0 - -"
>
$pwrp_load
/ld_node_
"
$nname
"
_0999.dat
echo
"pwrtest01a 0.254.254.201 172.17.0.2 0 0 0 0 600000 0.002000 0 0 - -"
>>
$pwrp_load
/ld_node_
"
$nname
"
_0999.dat
mv
$plcfile
$pwrp_exe
/
"plc_"
$nname
"_0999_plc"
ip address
# Start project
rt_ini
-i
&
sleep
10
ps aux
ra_status
i
=
0
while
[
$i
-lt
100
]
;
do
ra_status
sleep
2
let
i
=
i+1
done
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment