Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
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
dCache
cta
Commits
3306c036
Commit
3306c036
authored
1 year ago
by
Julien Leduc
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Fix TNS error in gitlab CI"
parent
3ea2ab1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_database.sh
+4
-1
4 additions, 1 deletion
...ation/docker/ctafrontend/cc7/opt/run/bin/init_database.sh
with
4 additions
and
1 deletion
continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_database.sh
+
4
−
1
View file @
3306c036
...
...
@@ -42,7 +42,10 @@ case "$(get_conf database.type)" in
echo
"Configuring oracle database"
DATABASETYPE
=
oracle
DATABASEURL
=
oracle:
$(
get_conf database.oracle.username
)
/
$(
get_conf database.oracle.password
)
@
$(
get_conf database.oracle.database
)
;;
# Update TNS name ASAP
# oracle-instantclient-tnsnames.ora rpm must be installed before
test
-x
/etc/cron.hourly/tnsnames-update.cron
&&
/etc/cron.hourly/tnsnames-update.cron
;;
"postgres"
)
echo
"Configuring postgres database"
DATABASETYPE
=
postgres
...
...
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