Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
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
Container 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
5f72a3f4
Commit
5f72a3f4
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Correctly setup BOB_DOCUMENTATION_SERVER in case of stable builds
parent
5f80e7f8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab/functions.sh
+9
-8
9 additions, 8 deletions
gitlab/functions.sh
with
9 additions
and
8 deletions
gitlab/functions.sh
+
9
−
8
View file @
5f72a3f4
...
...
@@ -272,18 +272,19 @@ check_env CONDA_FOLDER
check_env CONDA_ENV
export_env BOB_PREFIX_PATH
# Setup default documentation server
if
[
-z
"
${
CI_BUILD_TAG
}
"
]
;
then
DEFSRV
=
"
${
DOCSERVER
}
/software/bob/docs/latest/bob/%s/master/"
if
[
-z
"
${
BOB_DOCUMENTATION_SERVER
}
"
]
;
then
BOB_DOCUMENTATION_SERVER
=
"
${
DEFSRV
}
"
else
BOB_DOCUMENTATION_SERVER
=
"
${
BOB_DOCUMENTATION_SERVER
}
|
${
DEFSRV
}
"
fi
unset
DEFSRV
export_env BOB_DOCUMENTATION_SERVER
else
log_info
"Building tag, not setting BOB_DOCUMENTATION_SERVER"
DEFSRV
=
"http://pythonhosted.org/%s/"
fi
if
[
-z
"
${
BOB_DOCUMENTATION_SERVER
}
"
]
;
then
BOB_DOCUMENTATION_SERVER
=
"
${
DEFSRV
}
"
else
BOB_DOCUMENTATION_SERVER
=
"
${
BOB_DOCUMENTATION_SERVER
}
|
${
DEFSRV
}
"
fi
unset
DEFSRV
export_env BOB_DOCUMENTATION_SERVER
# sets up certificates for curl and openssl
CURL_CA_BUNDLE
=
"
${
SCRIPTS_DIR
}
/cacert.pem"
...
...
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