GitLab Setup
GitLab is our source control platform and CI/CD system.
warning
GitLab access is required. If you do not have access yet, request it here.
Install GitLab CLI
- mise
- Homebrew
mise use -g glab@latest
Or add to your .mise.toml:
[tools]
"ubi:gitlab-org/cli" = { version = "latest", exe = "glab", provider = "gitlab" }
brew install glab
Login to GitLab
- Web Authentication
- Personal Access Token
info
You may need to re-login from time to time as your session expires.
Run the authentication command:
glab auth login
Follow the prompts and authenticate through your browser.
- Login to GitLab via Okta
- Go to GitLab → Preferences → Access Tokens
- Create a token with
api,read_repository, andwrite_repositoryscopes - Copy the token
- Run the following command with your personal access token:
glab auth login --hostname gitlab.com -p https -g https --use-keyring --token glpat-xxx
Replace glpat-xxx with your actual token.
Verify Authentication
glab auth status
You should see: "✓ Logged in to gitlab.com as @username"
Next: AWS CLI Setup