summaryrefslogtreecommitdiff
path: root/spec/frontend/packages_and_registries/package_registry/components/details/__snapshots__/pypi_installation_spec.js.snap
blob: 06ae864510116ae5724cd147a374c1fc14bed68a (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
49
50
51
52
53
54
// 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 http://__token__:<your_personal_token>@gdk.test:3000/api/v4/projects/1/packages/pypi/simple"
    label="Pip Command"
    trackingaction="copy_pip_install_command"
    trackinglabel="code_instruction"
  />
   
  <h3
    class="gl-font-lg"
  >
    Registry setup
  </h3>
   
  <p>
    If you haven't already done so, you will need to add the below to your 
    <code>
      .pypirc
    </code>
     file.
  </p>
   
  <code-instruction-stub
    copytext="Copy .pypirc content"
    data-testid="pypi-setup-content"
    instruction="[gitlab]
repository = http://gdk.test:3000/api/v4/projects/1/packages/pypi
username = __token__
password = <your personal access token>"
    label=""
    multiline="true"
    trackingaction="copy_pypi_setup_command"
    trackinglabel="code_instruction"
  />
   For more information on the PyPi registry, 
  <gl-link-stub
    href="/help/user/packages/pypi_repository/index"
    target="_blank"
  >
    see the documentation
  </gl-link-stub>
  .
</div>
`;