Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/runner/components/runner_type_help.vue')
-rw-r--r--app/assets/javascripts/runner/components/runner_type_help.vue60
1 files changed, 60 insertions, 0 deletions
diff --git a/app/assets/javascripts/runner/components/runner_type_help.vue b/app/assets/javascripts/runner/components/runner_type_help.vue
new file mode 100644
index 00000000000..927deb290a4
--- /dev/null
+++ b/app/assets/javascripts/runner/components/runner_type_help.vue
@@ -0,0 +1,60 @@
+<script>
+import { GlBadge } from '@gitlab/ui';
+import { INSTANCE_TYPE, GROUP_TYPE, PROJECT_TYPE } from '../constants';
+import RunnerTypeBadge from './runner_type_badge.vue';
+
+export default {
+ components: {
+ GlBadge,
+ RunnerTypeBadge,
+ },
+ runnerTypes: {
+ INSTANCE_TYPE,
+ GROUP_TYPE,
+ PROJECT_TYPE,
+ },
+};
+</script>
+
+<template>
+ <div class="bs-callout">
+ <p>{{ __('Runners are processes that pick up and execute CI/CD jobs for GitLab.') }}</p>
+ <p>
+ {{
+ __(
+ 'You can register runners as separate users, on separate servers, and on your local machine. Register as many runners as you want.',
+ )
+ }}
+ </p>
+
+ <div>
+ <span> {{ __('Runners can be:') }}</span>
+ <ul>
+ <li>
+ <runner-type-badge :type="$options.runnerTypes.INSTANCE_TYPE" size="sm" />
+ - {{ __('Runs jobs from all unassigned projects.') }}
+ </li>
+ <li>
+ <runner-type-badge :type="$options.runnerTypes.GROUP_TYPE" size="sm" />
+ - {{ __('Runs jobs from all unassigned projects in its group.') }}
+ </li>
+ <li>
+ <runner-type-badge :type="$options.runnerTypes.PROJECT_TYPE" size="sm" />
+ - {{ __('Runs jobs from assigned projects.') }}
+ </li>
+ <li>
+ <gl-badge variant="warning" size="sm">
+ {{ __('locked') }}
+ </gl-badge>
+ - {{ __('Cannot be assigned to other projects.') }}
+ </li>
+ <li>
+ <gl-badge variant="danger" size="sm">
+ {{ __('paused') }}
+ </gl-badge>
+ - {{ __('Not available to run jobs.') }}
+ </li>
+ </ul>
+ </div>
+ </div>
+</template>