diff --git a/.env.example b/.env.example index 6f209ab9..8ab90001 100644 --- a/.env.example +++ b/.env.example @@ -12,7 +12,7 @@ # These are used by the ui service # defined in the docker compose stack -# customize the location where you want users to provide feedack +# customize the location where you want users to provide feedback # # default: https://github.com/go-vela/ui/issues/new # VELA_FEEDBACK_URL= @@ -44,10 +44,10 @@ VELA_API=http://localhost:8080 # github web url (only required if using GitHub Enterprise) # # default: https://github.com -# VELA_SOURCE_ADDR= +# VELA_SCM_ADDR= # github client id from oauth application -VELA_SOURCE_CLIENT= +VELA_SCM_CLIENT= # github client secret from oauth application -VELA_SOURCE_SECRET= +VELA_SCM_SECRET= diff --git a/DOCS.md b/DOCS.md index 8d59659b..d65afb6e 100644 --- a/DOCS.md +++ b/DOCS.md @@ -38,7 +38,7 @@ cd $HOME/go-vela/worker ```bash # add Github Enterprise Web URL to local `.env` file for `docker-compose` -echo "VELA_SOURCE_ADDR=" >> .env +echo "VELA_SCM_ADDR=" >> .env ``` * 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=" >> .env ```bash # add Github Client ID to local `.env` file for `docker-compose` -echo "VELA_SOURCE_CLIENT=" >> .env +echo "VELA_SCM_CLIENT=" >> .env # add Github Client Secret to local `.env` file for `docker-compose` -echo "VELA_SOURCE_SECRET=" >> .env +echo "VELA_SCM_SECRET=" >> .env ``` ## Start diff --git a/docker-compose.yml b/docker-compose.yml index 3bf26fb9..f72de7c0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,8 +62,8 @@ services: QUEUE_DRIVER: redis QUEUE_ADDR: 'redis://redis:6379' QUEUE_ROUTES: 'docker,local,docker:local' - SOURCE_DRIVER: github - SOURCE_CONTEXT: 'continuous-integration/vela' + SCM_DRIVER: github + SCM_CONTEXT: 'continuous-integration/vela' SECRET_VAULT: 'true' SECRET_VAULT_ADDR: 'http://vault:8200' SECRET_VAULT_TOKEN: vela