mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
24 lines
530 B
Bash
Executable File
24 lines
530 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## Set GITLAB_URL ENV
|
|
# gitlab-rails console production
|
|
|
|
# ## Reset default password for root user
|
|
# u = User.first
|
|
# u.password_automatically_set = false
|
|
# u.password = 'password'
|
|
# u.password_confirmation = 'password'
|
|
# u.save!
|
|
|
|
# ## Create access token
|
|
# t = PersonalAccessToken.new({ user: u, name: 'node-gitlab', scopes: ['api']})
|
|
# t.save!
|
|
|
|
# ## Store access token in an ENV
|
|
# ENV['PERSONAL_ACCESS_TOKEN'] = t.token
|
|
|
|
# ## Exist rails console
|
|
# exit
|
|
ls
|
|
## Exec any other entry point logic
|
|
exec /assets/wrapper "$@" |