debian-mirror-gitlab/spec/frontend/runner/mock_data.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.5 KiB
JavaScript
Raw Normal View History

2021-09-04 01:27:46 +05:30
// Fixtures generated by: spec/frontend/fixtures/runner.rb
2021-11-11 11:23:49 +05:30
2022-05-07 20:08:51 +05:30
// List queries
import runnersData from 'test_fixtures/graphql/runner/list/admin_runners.query.graphql.json';
import runnersDataPaginated from 'test_fixtures/graphql/runner/list/admin_runners.query.graphql.paginated.json';
import runnersCountData from 'test_fixtures/graphql/runner/list/admin_runners_count.query.graphql.json';
import groupRunnersData from 'test_fixtures/graphql/runner/list/group_runners.query.graphql.json';
import groupRunnersDataPaginated from 'test_fixtures/graphql/runner/list/group_runners.query.graphql.paginated.json';
import groupRunnersCountData from 'test_fixtures/graphql/runner/list/group_runners_count.query.graphql.json';
2021-11-11 11:23:49 +05:30
2022-05-07 20:08:51 +05:30
// Details queries
import runnerData from 'test_fixtures/graphql/runner/details/runner.query.graphql.json';
import runnerWithGroupData from 'test_fixtures/graphql/runner/details/runner.query.graphql.with_group.json';
import runnerProjectsData from 'test_fixtures/graphql/runner/details/runner_projects.query.graphql.json';
import runnerJobsData from 'test_fixtures/graphql/runner/details/runner_jobs.query.graphql.json';
2021-11-18 22:05:49 +05:30
2022-06-21 17:19:12 +05:30
// Other mock data
export const onlineContactTimeoutSecs = 2 * 60 * 60;
export const staleTimeoutSecs = 5259492; // Ruby's `2.months`
2021-11-18 22:05:49 +05:30
export {
2022-04-04 11:22:00 +05:30
runnersData,
2022-03-02 08:16:31 +05:30
runnersCountData,
2021-11-18 22:05:49 +05:30
runnersDataPaginated,
2022-04-04 11:22:00 +05:30
runnerData,
runnerWithGroupData,
runnerProjectsData,
runnerJobsData,
2021-11-18 22:05:49 +05:30
groupRunnersData,
2022-03-02 08:16:31 +05:30
groupRunnersCountData,
2021-11-18 22:05:49 +05:30
groupRunnersDataPaginated,
};