Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
datasid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
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
simmctic
datasid
Commits
f774491f
Commit
f774491f
authored
11 years ago
by
Diego Giovane Pasqualin
Browse files
Options
Downloads
Plain Diff
Merge branch 'add_test_option' of /home/git/repositories/minicom/datasid
parents
063ad8d1
41838833
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build-agent.sh
+13
-0
13 additions, 0 deletions
build-agent.sh
windows-installer/Makefile
+10
-0
10 additions, 0 deletions
windows-installer/Makefile
with
23 additions
and
0 deletions
build-agent.sh
+
13
−
0
View file @
f774491f
...
@@ -22,6 +22,15 @@
...
@@ -22,6 +22,15 @@
build_dir
=
"build"
build_dir
=
"build"
agent_dir
=
"agent"
agent_dir
=
"agent"
case
"
$1
"
in
-t
|
--test
)
cp
"
${
agent_dir
}
/conf/datasid.conf"
"/tmp/datasid.conf"
sed
"s/WEBSERVICE=
\"
http:
\/\/
simmc.c3sl.ufpr.br
\/
axis2
\/
services
\/
DataSID
\"\
/WEBSERVICE=
\"
http:
\/\/
bisimmcdev.c3sl.ufpr.br
\/
axis2
\/
services
\/
DataSID
\"
/g"
\
"/tmp/datasid.conf"
>
"
${
agent_dir
}
/conf/datasid.conf"
;;
esac
cd
"
${
build_dir
}
"
cd
"
${
build_dir
}
"
sudo
bash env-manager.sh
--no-confirm
delete
sudo
bash env-manager.sh
--no-confirm
delete
sudo
bash env-manager.sh
--no-confirm
create
sudo
bash env-manager.sh
--no-confirm
create
...
@@ -31,3 +40,7 @@ cd /home/user/build/agent
...
@@ -31,3 +40,7 @@ cd /home/user/build/agent
sudo -u user /bin/bash autobuild.sh
sudo -u user /bin/bash autobuild.sh
EOF
EOF
cd
-
cd
-
if
[
-f
"/tmp/datasid.conf"
]
;
then
mv
"/tmp/datasid.conf"
"
${
agent_dir
}
/conf/"
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
windows-installer/Makefile
+
10
−
0
View file @
f774491f
...
@@ -16,6 +16,7 @@ GSOAP = gsoap-$(GSOAPVER)
...
@@ -16,6 +16,7 @@ GSOAP = gsoap-$(GSOAPVER)
INSTALLERSRC
=
./src/installer.nsi
INSTALLERSRC
=
./src/installer.nsi
COLLECTDIR
=
$(
WININSTDIR
)
/../windows-collect
COLLECTDIR
=
$(
WININSTDIR
)
/../windows-collect
AGENT
=
$(
COLLECTDIR
)
/src/datasidAgent.py
WINGSOAP
=
"wine win-build/
$(
GSOAP
)
/gsoap/bin/win32/"
WINGSOAP
=
"wine win-build/
$(
GSOAP
)
/gsoap/bin/win32/"
all
:
client collect installer
all
:
client collect installer
...
@@ -40,3 +41,12 @@ installer:
...
@@ -40,3 +41,12 @@ installer:
@
mkdir
-p
"windows-agent"
@
mkdir
-p
"windows-agent"
@
cp
build/DataSID.exe
"windows-agent"
@
cp
build/DataSID.exe
"windows-agent"
@
cp
7zS.sfx
"windows-agent"
@
cp
7zS.sfx
"windows-agent"
test
:
/tmp/datasidAgent.py all
@
mv
$<
$(
AGENT
)
/tmp/datasidAgent.py
:
@
cp
$(
AGENT
)
$@
@
sed
"s/URL =
\"
http:
\/\/
simmc.c3sl.ufpr.br
\/
axis2
\/
services
\/
DataSID
\"\
/URL =
\"
http:
\/\/
bisimmcdev.c3sl.ufpr.br
\/
axis2
\/
services
\/
DataSID
\"
/g"
\
$@
>
$(
AGENT
)
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