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

mock_data.js « pipeline_new « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55ec1fb5afc554d887f8e06c5bcab70eb6ca6471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export const mockRefs = ['master', 'branch-1', 'tag-1'];

export const mockParams = {
  refParam: 'tag-1',
  variableParams: {
    test_var: 'test_var_val',
  },
  fileParams: {
    test_file: 'test_file_val',
  },
};

export const mockProjectId = '21';

export const mockPostParams = {
  ref: 'tag-1',
  variables: [
    { key: 'test_var', value: 'test_var_val', variable_type: 'env_var' },
    { key: 'test_file', value: 'test_file_val', variable_type: 'file' },
  ],
};