fix(custom git trigger): fixed init
correctly added in default parameters for config [TESTING -> locally with docker] Issue: https://www.pivotaltracker.com/story/show/145071887 - [ ] It works! - [ ] Comments provide sufficient explanations for the next contributor - [ ] Tests cover changes and corner cases - [ ] Follows Quay syntax patterns and format
This commit is contained in:
parent
6023e15274
commit
faa6b0c3a6
2 changed files with 15 additions and 4 deletions
|
@ -31,7 +31,7 @@
|
|||
<div class="col-lg-7 col-md-7 col-sm-12 main-col">
|
||||
<h3>Select build context directory</h3>
|
||||
<strong>Please select the build context directory under the git repository:</strong>
|
||||
<input class="form-control" type="text" placeholder="/"
|
||||
<input class="form-control" type="text"
|
||||
ng-model="$ctrl.config.context"
|
||||
ng-pattern="/^($|\/|\/.+)/">
|
||||
</div>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<div class="col-lg-7 col-md-7 col-sm-12 main-col">
|
||||
<h3>Select dockerfile path</h3>
|
||||
<strong>Please select the build context directory under the git repository:</strong>
|
||||
<input class="form-control" type="text" placeholder="{{ $ctrl.config.context }}"
|
||||
<input class="form-control" type="text"
|
||||
ng-model="$ctrl.config.dockerfile_path"
|
||||
ng-pattern="/^($|\/|\/.+)/">
|
||||
</div>
|
||||
|
|
Reference in a new issue