Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gendl
gendl
Commits
e209dbac
Commit
e209dbac
authored
May 31, 2021
by
Dave Cooper
Browse files
bump version in ci-script, look for release zip file, if exists, for docker build.
parent
f96924db
Pipeline
#3941
passed with stages
in 7 minutes and 24 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.ci-script.sh
View file @
e209dbac
...
...
@@ -6,7 +6,7 @@ OS="$1"
task
=
"
$2
"
status
=
"
$(
curl
-s
"http://localhost:9000/build?command=build&os=
${
OS
}
&branch=
$CI_BUILD_REF_NAME
&task=
${
task
}
&ci-job-id=
$CI_JOB_ID
&ci-pipeline-id=
$CI_PIPELINE_ID
&gdl-current-version=159
4
"
)
"
status
=
"
$(
curl
-s
"http://localhost:9000/build?command=build&os=
${
OS
}
&branch=
$CI_BUILD_REF_NAME
&task=
${
task
}
&ci-job-id=
$CI_JOB_ID
&ci-pipeline-id=
$CI_PIPELINE_ID
&gdl-current-version=159
6
"
)
"
#status="$(curl -s "http://ssh.genworks.com:9000/build?command=build&os=linux&branch=devo&cijobid=$CI_JOB_ID")"
echo
"Testing status of curl command..."
...
...
docker/build
View file @
e209dbac
...
...
@@ -17,16 +17,21 @@ echo "Present Working Directory: " `pwd`
CI_PIPELINE_ID
=
$
{
CI_PIPELINE_ID
:
=
"3787"
}
dist_name
=
gendl
-
build
$
{
CI_PIPELINE_ID
}
L
-
linux64
dist_name_release
=
gendl1596
-
linux64
dist_zip_server
=/
home
/
builder
/
genworks
/
manager
/
staging
/
gendl
/
$
{
CI_PIPELINE_ID
}
L
/
distribution
/
$
{
dist_name
}.
zip
dist_zip_server_release
=/
home
/
builder
/
genworks
/
manager
/
staging
/
gendl
/
$
{
CI_PIPELINE_ID
}
L
/
distribution
/
$
{
dist_name_release
}.
zip
dist_zip_local
=~/
genworks
/
builds
/
$
{
dist_name
}.
zip
if
[
-
f
"$dist_zip_server"
];
then
if
[
-
f
"$dist_zip_server_release"
];
then
dist_zip
=
$
dist_zip_server_release
elif
[
-
f
"$dist_zip_server"
];
then
dist_zip
=
$
dist_zip_server
elif
[
-
f
"$dist_zip_local"
];
then
dist_zip
=
$
dist_zip_local
else
echo
"Neither $dist_zip_server nor $dist_zip_local was found. Exiting."
echo
"Neither
$dist_zip_server_release nor
$dist_zip_server nor $dist_zip_local was found. Exiting."
exit
1
fi
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment