Commit 1804b3dc authored by Douwe Maan's avatar Douwe Maan

Merge branch 'ce-3839-ci-cd-only-github-projects-fe' into 'master'

Create CI/CD-only projects from GitHub -- CE backport

See merge request gitlab-org/gitlab-ce!17432
parents 77570977 ace3bcdd
import { __ } from './locale'; import _ from 'underscore';
import { __, sprintf } from './locale';
import axios from './lib/utils/axios_utils'; import axios from './lib/utils/axios_utils';
import flash from './flash'; import flash from './flash';
import { convertPermissionToBoolean } from './lib/utils/common_utils';
class ImporterStatus { class ImporterStatus {
constructor(jobsUrl, importUrl) { constructor({ jobsUrl, importUrl, ciCdOnly }) {
this.jobsUrl = jobsUrl; this.jobsUrl = jobsUrl;
this.importUrl = importUrl; this.importUrl = importUrl;
this.ciCdOnly = ciCdOnly;
this.initStatusPage(); this.initStatusPage();
this.setAutoUpdate(); this.setAutoUpdate();
} }
...@@ -45,6 +48,7 @@ class ImporterStatus { ...@@ -45,6 +48,7 @@ class ImporterStatus {
repo_id: id, repo_id: id,
target_namespace: targetNamespace, target_namespace: targetNamespace,
new_name: newName, new_name: newName,
ci_cd_only: this.ciCdOnly,
}) })
.then(({ data }) => { .then(({ data }) => {
const job = $(`tr#repo_${id}`); const job = $(`tr#repo_${id}`);
...@@ -54,7 +58,13 @@ class ImporterStatus { ...@@ -54,7 +58,13 @@ class ImporterStatus {
$('table.import-jobs tbody').prepend(job); $('table.import-jobs tbody').prepend(job);
job.addClass('active'); job.addClass('active');
job.find('.import-actions').html('<i class="fa fa-spinner fa-spin" aria-label="importing"></i> started'); const connectingVerb = this.ciCdOnly ? __('connecting') : __('importing');
job.find('.import-actions').html(sprintf(
_.escape(__('%{loadingIcon} Started')), {
loadingIcon: `<i class="fa fa-spinner fa-spin" aria-label="${_.escape(connectingVerb)}"></i>`,
},
false,
));
}) })
.catch(() => flash(__('An error occurred while importing project'))); .catch(() => flash(__('An error occurred while importing project')));
} }
...@@ -71,13 +81,16 @@ class ImporterStatus { ...@@ -71,13 +81,16 @@ class ImporterStatus {
switch (job.import_status) { switch (job.import_status) {
case 'finished': case 'finished':
jobItem.removeClass('active').addClass('success'); jobItem.removeClass('active').addClass('success');
statusField.html('<span><i class="fa fa-check"></i> done</span>'); statusField.html(`<span><i class="fa fa-check"></i> ${__('Done')}</span>`);
break; break;
case 'scheduled': case 'scheduled':
statusField.html(`${spinner} scheduled`); statusField.html(`${spinner} ${__('Scheduled')}`);
break; break;
case 'started': case 'started':
statusField.html(`${spinner} started`); statusField.html(`${spinner} ${__('Started')}`);
break;
case 'failed':
statusField.html(__('Failed'));
break; break;
default: default:
statusField.html(job.import_status); statusField.html(job.import_status);
...@@ -98,7 +111,11 @@ function initImporterStatus() { ...@@ -98,7 +111,11 @@ function initImporterStatus() {
if (importerStatus) { if (importerStatus) {
const data = importerStatus.dataset; const data = importerStatus.dataset;
return new ImporterStatus(data.jobsImportPath, data.importPath); return new ImporterStatus({
jobsUrl: data.jobsImportPath,
importUrl: data.importPath,
ciCdOnly: convertPermissionToBoolean(data.ciCdOnly),
});
} }
} }
......
...@@ -42,7 +42,9 @@ class Import::GithubController < Import::BaseController ...@@ -42,7 +42,9 @@ class Import::GithubController < Import::BaseController
target_namespace = find_or_create_namespace(namespace_path, current_user.namespace_path) target_namespace = find_or_create_namespace(namespace_path, current_user.namespace_path)
if can?(current_user, :create_projects, target_namespace) if can?(current_user, :create_projects, target_namespace)
project = Gitlab::LegacyGithubImport::ProjectCreator.new(repo, project_name, target_namespace, current_user, access_params, type: provider).execute project = Gitlab::LegacyGithubImport::ProjectCreator
.new(repo, project_name, target_namespace, current_user, access_params, type: provider)
.execute(extra_project_attrs)
if project.persisted? if project.persisted?
render json: ProjectSerializer.new.represent(project) render json: ProjectSerializer.new.represent(project)
...@@ -73,15 +75,15 @@ class Import::GithubController < Import::BaseController ...@@ -73,15 +75,15 @@ class Import::GithubController < Import::BaseController
end end
def new_import_url def new_import_url
public_send("new_import_#{provider}_url") # rubocop:disable GitlabSecurity/PublicSend public_send("new_import_#{provider}_url", extra_import_params) # rubocop:disable GitlabSecurity/PublicSend
end end
def status_import_url def status_import_url
public_send("status_import_#{provider}_url") # rubocop:disable GitlabSecurity/PublicSend public_send("status_import_#{provider}_url", extra_import_params) # rubocop:disable GitlabSecurity/PublicSend
end end
def callback_import_url def callback_import_url
public_send("callback_import_#{provider}_url") # rubocop:disable GitlabSecurity/PublicSend public_send("callback_import_#{provider}_url", extra_import_params) # rubocop:disable GitlabSecurity/PublicSend
end end
def provider_unauthorized def provider_unauthorized
...@@ -116,4 +118,12 @@ class Import::GithubController < Import::BaseController ...@@ -116,4 +118,12 @@ class Import::GithubController < Import::BaseController
def client_options def client_options
{} {}
end end
def extra_project_attrs
{}
end
def extra_import_params
{}
end
end end
...@@ -36,6 +36,42 @@ module ImportHelper ...@@ -36,6 +36,42 @@ module ImportHelper
_('Please wait while we import the repository for you. Refresh at will.') _('Please wait while we import the repository for you. Refresh at will.')
end end
def import_github_title
_('Import repositories from GitHub')
end
def import_github_authorize_message
_('To import GitHub repositories, you first need to authorize GitLab to access the list of your GitHub repositories:')
end
def import_github_personal_access_token_message
personal_access_token_link = link_to _('Personal Access Token'), 'https://github.com/settings/tokens'
if github_import_configured?
_('Alternatively, you can use a %{personal_access_token_link}. When you create your Personal Access Token, you will need to select the <code>repo</code> scope, so we can display a list of your public and private repositories which are available to import.').html_safe % { personal_access_token_link: personal_access_token_link }
else
_('To import GitHub repositories, you can use a %{personal_access_token_link}. When you create your Personal Access Token, you will need to select the <code>repo</code> scope, so we can display a list of your public and private repositories which are available to import.').html_safe % { personal_access_token_link: personal_access_token_link }
end
end
def import_configure_github_admin_message
github_integration_link = link_to 'GitHub integration', help_page_path('integration/github')
if current_user.admin?
_('Note: As an administrator you may like to configure %{github_integration_link}, which will allow login via GitHub and allow importing repositories without generating a Personal Access Token.').html_safe % { github_integration_link: github_integration_link }
else
_('Note: Consider asking your GitLab administrator to configure %{github_integration_link}, which will allow login via GitHub and allow importing repositories without generating a Personal Access Token.').html_safe % { github_integration_link: github_integration_link }
end
end
def import_githubish_choose_repository_message
_('Choose which repositories you want to import.')
end
def import_all_githubish_repositories_button_label
_('Import all repositories')
end
private private
def github_project_url(full_path) def github_project_url(full_path)
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
- provider_title = Gitlab::ImportSources.title(provider) - provider_title = Gitlab::ImportSources.title(provider)
%p.light %p.light
Select projects you want to import. = import_githubish_choose_repository_message
%hr %hr
%p %p
= button_tag class: "btn btn-import btn-success js-import-all" do = button_tag class: "btn btn-import btn-success js-import-all" do
Import all projects = import_all_githubish_repositories_button_label
= icon("spinner spin", class: "loading-icon") = icon("spinner spin", class: "loading-icon")
.table-responsive .table-responsive
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
%colgroup.import-jobs-status-col %colgroup.import-jobs-status-col
%thead %thead
%tr %tr
%th From #{provider_title} %th= _('From %{provider_title}') % { provider_title: provider_title }
%th To GitLab %th= _('To GitLab')
%th Status %th= _('Status')
%tbody %tbody
- @already_added_projects.each do |project| - @already_added_projects.each do |project|
%tr{ id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}" } %tr{ id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}" }
...@@ -30,10 +30,12 @@ ...@@ -30,10 +30,12 @@
- if project.import_status == 'finished' - if project.import_status == 'finished'
%span %span
%i.fa.fa-check %i.fa.fa-check
done = _('Done')
- elsif project.import_status == 'started' - elsif project.import_status == 'started'
%i.fa.fa-spinner.fa-spin %i.fa.fa-spinner.fa-spin
started = _('Started')
- elsif project.import_status == 'failed'
= _('Failed')
- else - else
= project.human_import_status_name = project.human_import_status_name
...@@ -55,7 +57,9 @@ ...@@ -55,7 +57,9 @@
= text_field_tag :path, repo.name, class: "input-mini form-control", tabindex: 2, autofocus: true, required: true = text_field_tag :path, repo.name, class: "input-mini form-control", tabindex: 2, autofocus: true, required: true
%td.import-actions.job-status %td.import-actions.job-status
= button_tag class: "btn btn-import js-add-to-import" do = button_tag class: "btn btn-import js-add-to-import" do
Import = has_ci_cd_only_params? ? _('Connect') : _('Import')
= icon("spinner spin", class: "loading-icon") = icon("spinner spin", class: "loading-icon")
.js-importer-status{ data: { jobs_import_path: "#{url_for([:jobs, :import, provider])}", import_path: "#{url_for([:import, provider])}" } } .js-importer-status{ data: { jobs_import_path: "#{url_for([:jobs, :import, provider])}",
import_path: "#{url_for([:import, provider])}",
ci_cd_only: "#{has_ci_cd_only_params?}" } }
- page_title "GitHub Import" - title = has_ci_cd_only_params? ? _('Connect repositories from GitHub') : _('GitHub import')
- page_title title
- breadcrumb_title title
- header_title "Projects", root_path - header_title "Projects", root_path
%h3.page-title %h3.page-title
= icon 'github', text: 'Import Projects from GitHub' = icon 'github', text: import_github_title
- if github_import_configured? - if github_import_configured?
%p %p
To import a GitHub project, you first need to authorize GitLab to access = import_github_authorize_message
the list of your GitHub repositories:
= link_to 'List your GitHub repositories', status_import_github_path, class: 'btn btn-success' = link_to _('List your GitHub repositories'), status_import_github_path, class: 'btn btn-success'
%hr %hr
%p %p
- if github_import_configured? = import_github_personal_access_token_message
Alternatively,
- else
To import a GitHub project,
you can use a
= succeed '.' do
= link_to 'Personal Access Token', 'https://github.com/settings/tokens'
When you create your Personal Access Token,
you will need to select the <code>repo</code> scope, so we can display a
list of your public and private repositories which are available for import.
= form_tag personal_access_token_import_github_path, method: :post, class: 'form-inline' do = form_tag personal_access_token_import_github_path, method: :post, class: 'form-inline' do
.form-group .form-group
= text_field_tag :personal_access_token, '', class: 'form-control', placeholder: "Personal Access Token", size: 40 = text_field_tag :personal_access_token, '', class: 'form-control', placeholder: _('Personal Access Token'), size: 40
= submit_tag 'List your GitHub repositories', class: 'btn btn-success' = submit_tag _('List your GitHub repositories'), class: 'btn btn-success'
-# EE-specific start
-# EE-specific end
- unless github_import_configured? - unless github_import_configured?
%hr %hr
%p %p
Note: = import_configure_github_admin_message
- if current_user.admin?
As an administrator you may like to configure
- else
Consider asking your GitLab administrator to configure
= link_to 'GitHub integration', help_page_path("integration/github")
which will allow login via GitHub and allow importing projects without
generating a Personal Access Token.
- page_title "GitHub Import" - title = has_ci_cd_only_params? ? _('Connect repositories from GitHub') : _('GitHub import')
- page_title title
- breadcrumb_title title
- header_title "Projects", root_path - header_title "Projects", root_path
%h3.page-title %h3.page-title
= icon 'github', text: 'Import Projects from GitHub' = icon 'github', text: import_github_title
= render 'import/githubish_status', provider: 'github' = render 'import/githubish_status', provider: 'github'
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
= icon('gitlab', text: 'GitLab export') = icon('gitlab', text: 'GitLab export')
%div %div
- if github_import_enabled? - if github_import_enabled?
= link_to new_import_github_path, class: 'btn import_github' do = link_to new_import_github_path, class: 'btn js-import-github' do
= icon('github', text: 'GitHub') = icon('github', text: 'GitHub')
%div %div
- if bitbucket_import_enabled? - if bitbucket_import_enabled?
......
...@@ -12,9 +12,8 @@ module Gitlab ...@@ -12,9 +12,8 @@ module Gitlab
@type = type @type = type
end end
def execute def execute(extra_attrs = {})
::Projects::CreateService.new( attrs = {
current_user,
name: name, name: name,
path: name, path: name,
description: repo.description, description: repo.description,
...@@ -24,7 +23,9 @@ module Gitlab ...@@ -24,7 +23,9 @@ module Gitlab
import_source: repo.full_name, import_source: repo.full_name,
import_url: import_url, import_url: import_url,
skip_wiki: skip_wiki skip_wiki: skip_wiki
).execute }.merge!(extra_attrs)
::Projects::CreateService.new(current_user, attrs).execute
end end
private private
......
...@@ -59,6 +59,9 @@ msgid_plural "%{count} participants" ...@@ -59,6 +59,9 @@ msgid_plural "%{count} participants"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "%{loadingIcon} Started"
msgstr ""
msgid "%{number_commits_behind} commits behind %{default_branch}, %{number_commits_ahead} commits ahead" msgid "%{number_commits_behind} commits behind %{default_branch}, %{number_commits_ahead} commits ahead"
msgstr "" msgstr ""
...@@ -216,6 +219,9 @@ msgstr "" ...@@ -216,6 +219,9 @@ msgstr ""
msgid "Allows you to add and manage Kubernetes clusters." msgid "Allows you to add and manage Kubernetes clusters."
msgstr "" msgstr ""
msgid "Alternatively, you can use a %{personal_access_token_link}. When you create your Personal Access Token, you will need to select the <code>repo</code> scope, so we can display a list of your public and private repositories which are available to import."
msgstr ""
msgid "An error occurred previewing the blob" msgid "An error occurred previewing the blob"
msgstr "" msgstr ""
...@@ -602,6 +608,9 @@ msgstr "" ...@@ -602,6 +608,9 @@ msgstr ""
msgid "Choose file..." msgid "Choose file..."
msgstr "" msgstr ""
msgid "Choose which repositories you want to import."
msgstr ""
msgid "CiStatusLabel|canceled" msgid "CiStatusLabel|canceled"
msgstr "" msgstr ""
...@@ -1068,6 +1077,12 @@ msgstr "" ...@@ -1068,6 +1077,12 @@ msgstr ""
msgid "Confidentiality" msgid "Confidentiality"
msgstr "" msgstr ""
msgid "Connect"
msgstr ""
msgid "Connect repositories from GitHub"
msgstr ""
msgid "Container Registry" msgid "Container Registry"
msgstr "" msgstr ""
...@@ -1271,6 +1286,9 @@ msgstr "" ...@@ -1271,6 +1286,9 @@ msgstr ""
msgid "Don't show again" msgid "Don't show again"
msgstr "" msgstr ""
msgid "Done"
msgstr ""
msgid "Download" msgid "Download"
msgstr "" msgstr ""
...@@ -1421,6 +1439,9 @@ msgstr "" ...@@ -1421,6 +1439,9 @@ msgstr ""
msgid "Explore public groups" msgid "Explore public groups"
msgstr "" msgstr ""
msgid "Failed"
msgstr ""
msgid "Failed Jobs" msgid "Failed Jobs"
msgstr "" msgstr ""
...@@ -1486,6 +1507,9 @@ msgstr "" ...@@ -1486,6 +1507,9 @@ msgstr ""
msgid "Format" msgid "Format"
msgstr "" msgstr ""
msgid "From %{provider_title}"
msgstr ""
msgid "From issue creation until deploy to production" msgid "From issue creation until deploy to production"
msgstr "" msgstr ""
...@@ -1513,6 +1537,9 @@ msgstr "" ...@@ -1513,6 +1537,9 @@ msgstr ""
msgid "Git version" msgid "Git version"
msgstr "" msgstr ""
msgid "GitHub import"
msgstr ""
msgid "GitLab Runner section" msgid "GitLab Runner section"
msgstr "" msgstr ""
...@@ -1635,9 +1662,18 @@ msgstr "" ...@@ -1635,9 +1662,18 @@ msgstr ""
msgid "If your HTTP repository is not publicly accessible, add authentication information to the URL: <code>https://username:password@gitlab.company.com/group/project.git</code>." msgid "If your HTTP repository is not publicly accessible, add authentication information to the URL: <code>https://username:password@gitlab.company.com/group/project.git</code>."
msgstr "" msgstr ""
msgid "Import"
msgstr ""
msgid "Import all repositories"
msgstr ""
msgid "Import in progress" msgid "Import in progress"
msgstr "" msgstr ""
msgid "Import repositories from GitHub"
msgstr ""
msgid "Import repository" msgid "Import repository"
msgstr "" msgstr ""
...@@ -1796,6 +1832,9 @@ msgstr "" ...@@ -1796,6 +1832,9 @@ msgstr ""
msgid "Leave project" msgid "Leave project"
msgstr "" msgstr ""
msgid "List your GitHub repositories"
msgstr ""
msgid "Lock" msgid "Lock"
msgstr "" msgstr ""
...@@ -1993,6 +2032,12 @@ msgstr "" ...@@ -1993,6 +2032,12 @@ msgstr ""
msgid "Note that the master branch is automatically protected. %{link_to_protected_branches}" msgid "Note that the master branch is automatically protected. %{link_to_protected_branches}"
msgstr "" msgstr ""
msgid "Note: As an administrator you may like to configure %{github_integration_link}, which will allow login via GitHub and allow importing repositories without generating a Personal Access Token."
msgstr ""
msgid "Note: Consider asking your GitLab administrator to configure %{github_integration_link}, which will allow login via GitHub and allow importing repositories without generating a Personal Access Token."
msgstr ""
msgid "Notification events" msgid "Notification events"
msgstr "" msgstr ""
...@@ -2113,6 +2158,9 @@ msgstr "" ...@@ -2113,6 +2158,9 @@ msgstr ""
msgid "Pending" msgid "Pending"
msgstr "" msgstr ""
msgid "Personal Access Token"
msgstr ""
msgid "Pipeline" msgid "Pipeline"
msgstr "" msgstr ""
...@@ -2574,6 +2622,9 @@ msgstr "" ...@@ -2574,6 +2622,9 @@ msgstr ""
msgid "Schedule a new pipeline" msgid "Schedule a new pipeline"
msgstr "" msgstr ""
msgid "Scheduled"
msgstr ""
msgid "Schedules" msgid "Schedules"
msgstr "" msgstr ""
...@@ -2825,6 +2876,12 @@ msgstr "" ...@@ -2825,6 +2876,12 @@ msgstr ""
msgid "Start the Runner!" msgid "Start the Runner!"
msgstr "" msgstr ""
msgid "Started"
msgstr ""
msgid "Status"
msgstr ""
msgid "Stopped" msgid "Stopped"
msgstr "" msgstr ""
...@@ -3242,6 +3299,15 @@ msgstr "" ...@@ -3242,6 +3299,15 @@ msgstr ""
msgid "Tip:" msgid "Tip:"
msgstr "" msgstr ""
msgid "To GitLab"
msgstr ""
msgid "To import GitHub repositories, you can use a %{personal_access_token_link}. When you create your Personal Access Token, you will need to select the <code>repo</code> scope, so we can display a list of your public and private repositories which are available to import."
msgstr ""
msgid "To import GitHub repositories, you first need to authorize GitLab to access the list of your GitHub repositories:"
msgstr ""
msgid "To import an SVN repository, check out %{svn_link}." msgid "To import an SVN repository, check out %{svn_link}."
msgstr "" msgstr ""
...@@ -3569,6 +3635,9 @@ msgstr "" ...@@ -3569,6 +3635,9 @@ msgstr ""
msgid "confidentiality|You are going to turn on the confidentiality. This means that only team members with <strong>at least Reporter access</strong> are able to see and leave comments on the issue." msgid "confidentiality|You are going to turn on the confidentiality. This means that only team members with <strong>at least Reporter access</strong> are able to see and leave comments on the issue."
msgstr "" msgstr ""
msgid "connecting"
msgstr ""
msgid "day" msgid "day"
msgid_plural "days" msgid_plural "days"
msgstr[0] "" msgstr[0] ""
...@@ -3577,6 +3646,9 @@ msgstr[1] "" ...@@ -3577,6 +3646,9 @@ msgstr[1] ""
msgid "estimateCommand|%{slash_command} will update the estimated time with the latest command." msgid "estimateCommand|%{slash_command} will update the estimated time with the latest command."
msgstr "" msgstr ""
msgid "importing"
msgstr ""
msgid "merge request" msgid "merge request"
msgid_plural "merge requests" msgid_plural "merge requests"
msgstr[0] "" msgstr[0] ""
......
...@@ -173,11 +173,11 @@ feature 'New project' do ...@@ -173,11 +173,11 @@ feature 'New project' do
context 'from GitHub' do context 'from GitHub' do
before do before do
first('.import_github').click first('.js-import-github').click
end end
it 'shows import instructions' do it 'shows import instructions' do
expect(page).to have_content('Import Projects from GitHub') expect(page).to have_content('Import repositories from GitHub')
expect(current_path).to eq new_import_github_path expect(current_path).to eq new_import_github_path
end end
end end
......
...@@ -29,7 +29,10 @@ describe('Importer Status', () => { ...@@ -29,7 +29,10 @@ describe('Importer Status', () => {
`); `);
spyOn(ImporterStatus.prototype, 'initStatusPage').and.callFake(() => {}); spyOn(ImporterStatus.prototype, 'initStatusPage').and.callFake(() => {});
spyOn(ImporterStatus.prototype, 'setAutoUpdate').and.callFake(() => {}); spyOn(ImporterStatus.prototype, 'setAutoUpdate').and.callFake(() => {});
instance = new ImporterStatus('', importUrl); instance = new ImporterStatus({
jobsUrl: '',
importUrl,
});
}); });
it('sets table row to active after post request', (done) => { it('sets table row to active after post request', (done) => {
...@@ -65,7 +68,9 @@ describe('Importer Status', () => { ...@@ -65,7 +68,9 @@ describe('Importer Status', () => {
spyOn(ImporterStatus.prototype, 'initStatusPage').and.callFake(() => {}); spyOn(ImporterStatus.prototype, 'initStatusPage').and.callFake(() => {});
spyOn(ImporterStatus.prototype, 'setAutoUpdate').and.callFake(() => {}); spyOn(ImporterStatus.prototype, 'setAutoUpdate').and.callFake(() => {});
instance = new ImporterStatus(jobsUrl); instance = new ImporterStatus({
jobsUrl,
});
}); });
function setupMock(importStatus) { function setupMock(importStatus) {
...@@ -86,17 +91,17 @@ describe('Importer Status', () => { ...@@ -86,17 +91,17 @@ describe('Importer Status', () => {
it('sets the job status to done', (done) => { it('sets the job status to done', (done) => {
setupMock('finished'); setupMock('finished');
expectJobStatus(done, 'done'); expectJobStatus(done, 'Done');
}); });
it('sets the job status to scheduled', (done) => { it('sets the job status to scheduled', (done) => {
setupMock('scheduled'); setupMock('scheduled');
expectJobStatus(done, 'scheduled'); expectJobStatus(done, 'Scheduled');
}); });
it('sets the job status to started', (done) => { it('sets the job status to started', (done) => {
setupMock('started'); setupMock('started');
expectJobStatus(done, 'started'); expectJobStatus(done, 'Started');
}); });
it('sets the job status to custom status', (done) => { it('sets the job status to custom status', (done) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment