Skip to content

Commit cb1fdf6

Browse files
authored
Merge branch 'master' into feat/max-log-size
2 parents b7dd50e + 01b64c1 commit cb1fdf6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.env.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# These are used by the ui service
1313
# defined in the docker compose stack
1414

15-
# customize the location where you want users to provide feedack
15+
# customize the location where you want users to provide feedback
1616
#
1717
# default: https://github.com/go-vela/ui/issues/new
1818
# VELA_FEEDBACK_URL=
@@ -44,10 +44,10 @@ VELA_API=http://localhost:8080
4444
# github web url (only required if using GitHub Enterprise)
4545
#
4646
# default: https://github.com
47-
# VELA_SOURCE_ADDR=
47+
# VELA_SCM_ADDR=
4848

4949
# github client id from oauth application
50-
VELA_SOURCE_CLIENT=
50+
VELA_SCM_CLIENT=
5151

5252
# github client secret from oauth application
53-
VELA_SOURCE_SECRET=
53+
VELA_SCM_SECRET=

DOCS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ cd $HOME/go-vela/worker
3838

3939
```bash
4040
# add Github Enterprise Web URL to local `.env` file for `docker-compose`
41-
echo "VELA_SOURCE_ADDR=<GitHub Enterprise Web URL>" >> .env
41+
echo "VELA_SCM_ADDR=<GitHub Enterprise Web URL>" >> .env
4242
```
4343

4444
* Create an [OAuth App](https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/) and obtain secrets for local development:
@@ -50,10 +50,10 @@ echo "VELA_SOURCE_ADDR=<GitHub Enterprise Web URL>" >> .env
5050

5151
```bash
5252
# add Github Client ID to local `.env` file for `docker-compose`
53-
echo "VELA_SOURCE_CLIENT=<Github OAuth Client ID>" >> .env
53+
echo "VELA_SCM_CLIENT=<Github OAuth Client ID>" >> .env
5454

5555
# add Github Client Secret to local `.env` file for `docker-compose`
56-
echo "VELA_SOURCE_SECRET=<Github OAuth Client Secret>" >> .env
56+
echo "VELA_SCM_SECRET=<Github OAuth Client Secret>" >> .env
5757
```
5858

5959
## Start

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ services:
6262
QUEUE_DRIVER: redis
6363
QUEUE_ADDR: 'redis://redis:6379'
6464
QUEUE_ROUTES: 'docker,local,docker:local'
65-
SOURCE_DRIVER: github
66-
SOURCE_CONTEXT: 'continuous-integration/vela'
65+
SCM_DRIVER: github
66+
SCM_CONTEXT: 'continuous-integration/vela'
6767
SECRET_VAULT: 'true'
6868
SECRET_VAULT_ADDR: 'http://vault:8200'
6969
SECRET_VAULT_TOKEN: vela

0 commit comments

Comments
 (0)