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

runner_kubernetes_instructions.vue « instructions « runner_instructions « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee41dab0ceca85c22a72d600055828b09a5817a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<script>
import { GlButton, GlIcon } from '@gitlab/ui';
import { s__ } from '~/locale';

export default {
  components: {
    GlButton,
    GlIcon,
  },
  methods: {
    onClose() {
      this.$emit('close');
    },
  },
  I18N_INSTRUCTIONS_TEXT: s__(
    'Runners|To install Runner in Kubernetes follow the instructions described in the GitLab documentation.',
  ),
  I18N_VIEW_INSTRUCTIONS: s__('Runners|View installation instructions'),
  HELP_URL: 'https://docs.gitlab.com/runner/install/kubernetes.html',
};
</script>
<template>
  <div>
    <p>
      {{ $options.I18N_INSTRUCTIONS_TEXT }}
    </p>
    <gl-button :href="$options.HELP_URL">
      <gl-icon name="external-link" />
      {{ $options.I18N_VIEW_INSTRUCTIONS }}
    </gl-button>
    <footer class="gl-display-flex gl-justify-content-end gl-pt-3">
      <gl-button @click="onClose()">{{ __('Close') }}</gl-button>
    </footer>
  </div>
</template>