Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Setup-Manager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Dmytro Bogatov
Setup-Manager
Commits
47dc37dd
Verified
Commit
47dc37dd
authored
Oct 25, 2018
by
Dmytro Bogatov
💕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace python with bash.
parent
310fb731
Pipeline
#2636
failed with stage
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
infra/build-services.sh
infra/build-services.sh
+1
-2
No files found.
infra/build-services.sh
View file @
47dc37dd
...
...
@@ -140,7 +140,6 @@ generate-service () {
}
source sources/data.sh
source ./.secret.sh
rm -rf services/
mkdir -p services
...
...
@@ -169,7 +168,7 @@ else
mkdir -p dashboard/dashboard-auth
cp sources/dashboard-auth/*.yaml dashboard/dashboard-auth/
COOKIE_SECRET=
$(
python
-c
'import os,base64; print base64.b64encode(os.urandom(16))'
)
COOKIE_SECRET=
$(
dd
if
=
/dev/urandom
bs
=
16
count
=
1 2>/dev/null |
base64
)
sed -i -e "
s
#__OAUTH2_PROXY_COOKIE_SECRET__#
$COOKIE_SECRET
#g
" dashboard/dashboard-auth/oauth2-proxy.yaml
sed -i -e "
s
#__OAUTH2_PROXY_CLIENT_SECRET__#
$OAUTH2_PROXY_CLIENT_SECRET
#g
" dashboard/dashboard-auth/oauth2-proxy.yaml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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