Add clear instructions to the github trigger setup on how to authorize additional organizations

Until now, this has been quite hard for customers to find
This commit is contained in:
Joseph Schorr 2018-09-27 15:59:00 -04:00
parent b894d8e58c
commit 1f8e0b72be
3 changed files with 26 additions and 3 deletions

View file

@ -3,6 +3,7 @@ import * as moment from 'moment';
import { Local, Trigger, TriggerConfig, Repository, Namespace } from '../../../types/common.types';
import { ContextChangeEvent } from '../context-path-select/context-path-select.component';
import { PathChangeEvent } from '../dockerfile-path-select/dockerfile-path-select.component';
import './manage-trigger.component.css';
/**
@ -37,13 +38,17 @@ export class ManageTriggerComponent implements OnChanges {
private namespaceTitle: string;
private namespace: any;
private buildSource: string;
private githubTriggerEndpoint: string;
private githubTriggerClientId: string;
constructor(@Inject('ApiService') private apiService: any,
@Inject('TableService') private tableService: any,
@Inject('TriggerService') private triggerService: any,
@Inject('RolesService') private rolesService: any,
@Inject('KeyService') private keyService: any,
@Inject('$scope') private $scope: ng.IScope) {
this.githubTriggerEndpoint = keyService['githubTriggerEndpoint'];
this.githubTriggerClientId = keyService['githubTriggerClientId'];
}
public ngOnChanges(changes: SimpleChanges): void {