Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FoD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
David Schmitz
FoD
Commits
da4c1b44
Commit
da4c1b44
authored
1 year ago
by
David Schmitz
Browse files
Options
Downloads
Patches
Plain Diff
testing: update inst/testing/nemo1/
parent
3bd6df2f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inst/testing/nemo1/install_and_run_vsmd
+9
-1
9 additions, 1 deletion
inst/testing/nemo1/install_and_run_vsmd
inst/testing/nemo1/mynemo-docker-dind
+16
-1
16 additions, 1 deletion
inst/testing/nemo1/mynemo-docker-dind
with
25 additions
and
2 deletions
inst/testing/nemo1/install_and_run_vsmd
+
9
−
1
View file @
da4c1b44
...
...
@@ -5,6 +5,9 @@ if [ ! -f /.nemo_vsmd_setuped ]; then
set
-e
apt-get
-yyy
install
xtables-addons-dkms xtables-addons-common exabgp linux-headers-amd64
export
PERL_MM_USE_DEFAULT
=
1
perl
-MCPAN
-e
'install (Net::CIDR::Lite)'
perl
-MCPAN
-e
'install (Text::CSV_XS)'
mkdir
-p
/usr/share/xt_geoip
...
...
@@ -54,6 +57,11 @@ fi
echo
TODO: configure /services/etc/nemo/nemo.conf
echo
use ./bin/adm.py OR ./bin/nemo-vsmd
exec
./bin/nemo-vsmd
"
$@
"
if
[
"
$1
"
=
"--install_only"
]
;
then
echo
"use ./bin/nemo-vsmd to run inside outer container"
else
exec
./bin/nemo-vsmd
"
$@
"
fi
This diff is collapsed.
Click to expand it.
inst/testing/nemo1/mynemo-docker-dind
+
16
−
1
View file @
da4c1b44
...
...
@@ -317,7 +317,8 @@ elif [ "$1" = "--setup" -o "$1" = "--run-setup-inside" ]; then #arg
echo
"# inside debian-docker-in-docker container: run setup.sh :"
1>&2
#(set -x; docker exec -ti "$docker_outer__container_name" bash -c 'export SSH_AUTH_SOCK="/ssh-auth-sock"; cd /nemo-all/nemo-docker && ./setup.sh --verbose "$@"' -- "$@")
(
set
-x
;
docker
exec
-ti
"
$docker_outer__container_name
"
bash
-c
'export SSH_AUTH_SOCK="/ssh-auth-sock"; cd /nemo-all/nemo-docker && ./setup.sh "$@"'
--
"
$@
"
)
#(set -x; docker exec -ti "$docker_outer__container_name" bash -c 'export SSH_AUTH_SOCK="/ssh-auth-sock"; cd /nemo-all/nemo-docker && ./setup.sh "$@"' -- "$@")
(
set
-x
;
docker
exec
-ti
"
$docker_outer__container_name
"
bash
-c
'export SSH_AUTH_SOCK="/ssh-auth-sock"; export ADMIN_MAIL="test@localhost"; export ADMIN_NAME="test"; cd /nemo-all/nemo-docker && ./setup.sh "$@"'
--
"
$@
"
)
echo
1>&2
#echo "# inside debian-docker-in-docker container: test access to UI via curl (assumes empty password for the client certificate):" 1>&2
...
...
@@ -539,6 +540,20 @@ elif [ "$1" = "--nemo-get-dirname-onhost" ]; then #arg # show dirname of inside
echo
"/proc/
$(
docker inspect
"
$docker_outer__container_name
"
|
awk
' /"Pid":/ { sub(/,$/, ""); print $2; }'
)
/root/nemo-all/"
#arg
elif
[
"
$1
"
=
"--allx"
]
;
then
#arg # all-in-one mode
shift
1
set
-e
set
-x
"
$0
"
--all1
"
$0
"
--freertr-testnet-prep-and-run
"
$0
"
--exec
./install_and_run_vsmd
--install_only
"
$0
"
--nemo-get-dirname-onhost
"
$0
"
--nemo-get-filename-of-certfile
#arg
...
...
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