Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
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
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
Show more breadcrumbs
AURA
steering
Commits
5b371ec9
Verified
Commit
5b371ec9
authored
3 years ago
by
Roman Brendler
Browse files
Options
Downloads
Patches
Plain Diff
Rework(run.sh,init-db): Create default values for dashboard and tank callback url
parent
1c0e48e2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#1592
failed
3 years ago
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run.sh
+6
-0
6 additions, 0 deletions
run.sh
with
6 additions
and
0 deletions
run.sh
+
6
−
0
View file @
5b371ec9
...
...
@@ -44,6 +44,12 @@ if [[ $docker == "false" ]]; then
./manage.py createsuperuser
--noinput
echo
"create rsa key"
./manage.py creatersakey
if
[[
-z
${
TANK_CALLBACK_BASE_URL
}
]]
;
then
DASHBOARD_CALLBACK_BASE_URL
=
"
${
AURA_PROTO
}
://
${
AURA_HOST
}
/tank"
fi
if
[[
-z
${
DASHBOARD_CALLBACK_BASE_URL
}
]]
;
then
DASHBOARD_CALLBACK_BASE_URL
=
"
${
AURA_PROTO
}
://
${
AURA_HOST
}
"
fi
echo
"create dashboard client with client id
$DASHBOARD_OIDC_CLIENT_ID
"
./manage.py create_oidc_client dashboard public
--client-id
$DASHBOARD_OIDC_CLIENT_ID
--client-secret
$DASHBOARD_OIDC_CLIENT_SECRET
-r
"id_token token"
-u
${
DASHBOARD_CALLBACK_BASE_URL
}
/oidc_callback.html
-u
${
DASHBOARD_CALLBACK_BASE_URL
}
/oidc_callback_silentRenew.html
-p
${
DASHBOARD_CALLBACK_BASE_URL
}
echo
"create tank client with client id
$TANK_OIDC_CLIENT_ID
"
...
...
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