summaryrefslogtreecommitdiff
path: root/spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap
blob: 158bbbc3463b72ed6cf3aacd11188b9cbd6777b4 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`PypiInstallation renders all the messages 1`] = `
<div>
  <installation-title-stub
    options="[object Object]"
    packagetype="pypi"
  />
   
  <code-instruction-stub
    copytext="Copy Pip command"
    data-testid="pip-command"
    instruction="pip install @gitlab-org/package-15 --extra-index-url pypiPath"
    label="Pip Command"
    trackingaction="copy_pip_install_command"
    trackinglabel="code_instruction"
  />
   
  <h3
    class="gl-font-lg"
  >
    Registry setup
  </h3>
   
  <p>
    <gl-sprintf-stub
      message="If you haven't already done so, you will need to add the below to your %{codeStart}.pypirc%{codeEnd} file."
    />
  </p>
   
  <code-instruction-stub
    copytext="Copy .pypirc content"
    data-testid="pypi-setup-content"
    instruction="[gitlab]
repository = pypiSetupPath
username = __token__
password = <your personal access token>"
    label=""
    multiline="true"
    trackingaction="copy_pypi_setup_command"
    trackinglabel="code_instruction"
  />
   
  <gl-sprintf-stub
    message="For more information on the PyPi registry, %{linkStart}see the documentation%{linkEnd}."
  />
</div>
`;