Skip to content
ROLLCALL

Register 1.2.0 part of the Wayne State app stack

Menu

WSU values (Playbook)#

This page says which setting may come from Playbook, and how to get Playbook into your app. Next: Metrics.

ROLLCALL_GITLAB_URL is a Wayne State value, so it may come from Playbook (waynestate/playbook) when the environment has none. The environment always wins; Playbook only fills what the environment leaves out. The GitLab token never comes through Playbook and stays an environment variable.

Setting Value
ROLLCALL_GITLAB_URL The https:// base URL of the GitLab instance

Playbook is private and lives on git.wayne.edu. Getting it into your app:

Composer: add the repository to your composer.json, then require the package. Composer authenticates to git.wayne.edu with the token in auth.json.

{
    "repositories": [
        {"type": "vcs", "url": "https://git.wayne.edu/enterprise-apps/playbook.git"}
    ]
}
composer require waynestate/playbook

curl (Linux, macOS):

curl --fail -H "PRIVATE-TOKEN: $GITLAB_TOKEN" "https://git.wayne.edu/api/v4/projects/enterprise-apps%2Fplaybook/repository/files/playbook.env/raw?ref=main" -o .env.playbook

PowerShell (Windows):

Invoke-WebRequest -Headers @{ 'PRIVATE-TOKEN' = $env:GITLAB_TOKEN } -Uri "https://git.wayne.edu/api/v4/projects/enterprise-apps%2Fplaybook/repository/files/playbook.env/raw?ref=main" -OutFile .env.playbook

Clone:

git clone https://git.wayne.edu/enterprise-apps/playbook.git

The token is your own: read_api for curl, read_repository for clone and Composer.

Playbook is private on git.wayne.edu. If you get a 404, ask the Enterprise Applications team for read access.