diff --git a/static/directives/setup-trigger-dialog.html b/static/directives/setup-trigger-dialog.html index 0cd47b23c..d3fe653bb 100644 --- a/static/directives/setup-trigger-dialog.html +++ b/static/directives/setup-trigger-dialog.html @@ -21,7 +21,7 @@
@@ -35,7 +35,7 @@
-
+
{{ pullInfo.analysis.message }}
@@ -59,7 +59,10 @@
-
Please select the credentials to use when pulling the base image:
+
+

Because Dockerfiles may depend on other private images, you may need to use a robot account to build this repository.

+ Please select the credentials to use when pulling the base image: +
Note: In order to set pull credentials for a build trigger, you must be an Administrator of the namespace {{ repository.namespace }} diff --git a/static/directives/trigger-setup-custom.html b/static/directives/trigger-setup-custom.html index 6c200c894..633ab74ff 100644 --- a/static/directives/trigger-setup-custom.html +++ b/static/directives/trigger-setup-custom.html @@ -1,16 +1,39 @@
-
+ + + + + + + + + +
Repository{{ state.gitURL }}
Dockerfile Location: +
+ {{ state.currentLocation || '(Repository Root)' }} +
+
+ steps-completed="stepsCompleted()"> - -
-
Please enter the URL used to clone the your git repository:
- -
+ +
+
Please enter the URL used to clone your git repository:
+ +
+ + +
+
Dockerfile Location:
+ +
diff --git a/static/directives/trigger-setup-github.html b/static/directives/trigger-setup-github.html index 0d6baaf74..c6af1f957 100644 --- a/static/directives/trigger-setup-github.html +++ b/static/directives/trigger-setup-github.html @@ -33,7 +33,7 @@
- {{ state.currentLocation || '(Repository Root)' }} + {{ state.currentLocation || '(Repository Root)' }}
diff --git a/static/js/directives/ui/trigger-setup-custom.js b/static/js/directives/ui/trigger-setup-custom.js index ddc9d9fc8..2f8ec9ffe 100644 --- a/static/js/directives/ui/trigger-setup-custom.js +++ b/static/js/directives/ui/trigger-setup-custom.js @@ -23,10 +23,15 @@ angular.module('quay').directive('triggerSetupCustom', function() { $scope.state = { 'gitURL': null, + 'subdir': null, }; $scope.stepsCompleted = function() { - $scope.analyze({'isValid': $scope.state.gitURL != null}); + $scope.analyze({'isValid': $scope.state.gitURL != null && $scope.subdir != null}); + }; + + $scope.nopLoad = function(callback) { + callback(); }; } };