Skip to content

Gitpod link in User Preferences

Summary

When Gitpod is enabled on a self-hosted GitLab instance an Integrations section is added to the User Preferences page. There a link to Gitpod is available. This however points to the gitpod.io public instance rather than the configured on-prem instance.

Steps to reproduce

  1. Enable Gitpod in GitLab Admin.
  2. Configure Gitpod URL to something other than https://gitpod.io, like https://code.gitlab.example.com.
  3. Visit User Preferences page.
  4. Click the Gitpod link and have the gitpod.io page be opened in a new window instead of code.gitlab.example.com.

What is the current bug behavior?

Link always points to gitpod.io.

What is the expected correct behavior?

Link should point to the configured Gitpod instance.

Results of GitLab environment info

Expand for output related to GitLab environment info

System information
System:
Proxy:          no
Current User:   git
Using RVM:      no
Ruby Version:   2.7.2p137
Gem Version:    3.1.4
Bundler Version:2.1.4
Rake Version:   13.0.3
Redis Version:  5.0.9
Git Version:    2.29.0
Sidekiq Version:5.2.9
Go Version:     unknown

GitLab information
Version:        13.8.4-ee
Revision:       f65d7b6f349
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     PostgreSQL
DB Version:     12.5
URL:            https://gitlab.example.com
HTTP Clone URL: https://gitlab.example.com/some-group/some-project.git
SSH Clone URL:  git@gitlab.example.com:some-group/some-project.git
Elasticsearch:  yes
Geo:            no
Using LDAP:     yes
Using Omniauth: yes
Omniauth Providers: google_oauth2, github, gitlab, facebook, twitter, openid_connect, saml

GitLab Shell
Version:        13.15.1
Repository storage paths:
- default:      /var/opt/gitlab/git-data/repositories
GitLab Shell path:              /opt/gitlab/embedded/service/gitlab-shell
Git:            /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 13.15.1 ? ... OK (13.15.1) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Checking Reply by email ...

IMAP server credentials are correct? ... Checking gitlab@example.com yes Init.d configured correctly? ... skipped MailRoom running? ... skipped

Checking Reply by email ... Finished

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) User output sanitized. Found 4 users of 100 limit.

Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 3/1 ... yes 3/2 ... yes 2/3 ... yes 2/4 ... yes 2/5 ... yes 4/6 ... yes 2/7 ... yes 2/8 ... yes 7/9 ... yes 2/10 ... yes 7/11 ... yes 2/12 ... yes 10/13 ... yes 26/17 ... yes 7/18 ... yes 15/19 ... yes 17/20 ... yes 15/21 ... yes 26/22 ... yes 9/23 ... yes 21/24 ... yes 20/25 ... yes 15/26 ... yes 15/27 ... yes 15/28 ... yes 15/29 ... yes 15/30 ... yes 15/31 ... yes 26/32 ... yes 26/33 ... yes 15/34 ... yes 27/36 ... yes 26/37 ... yes 9/38 ... yes 2/39 ... yes 9/40 ... yes 9/41 ... yes 9/42 ... yes 26/43 ... yes 9/44 ... yes 20/45 ... yes 2/46 ... yes 15/47 ... yes 9/49 ... yes 15/50 ... yes 9/51 ... yes 9/52 ... yes 15/54 ... yes 26/55 ... yes 17/56 ... yes 26/58 ... yes 9/59 ... yes 27/60 ... yes 9/61 ... yes 28/62 ... yes Redis version >= 4.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.2) Git version >= 2.29.0 ? ... yes (2.29.0) Git user has default SSH configuration? ... yes Active users: ... 3 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes Elasticsearch version 7.x (6.4 - 6.x deprecated to be removed in 13.8)? ... yes (7.10.2)

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Edited by Amélie Krečí