mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ Minor improvements to CircleCI-Node
This commit is contained in:
parent
3fb5f3af13
commit
1b8e75dfad
|
@ -39,26 +39,28 @@ export const pipelineOperations = [
|
||||||
export const pipelineFields = [
|
export const pipelineFields = [
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* pipeline:get */
|
/* pipeline:shared */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'VCS',
|
displayName: 'Provider',
|
||||||
name: 'vcs',
|
name: 'vcs',
|
||||||
type: 'options',
|
type: 'options',
|
||||||
options: [
|
options: [
|
||||||
{
|
|
||||||
name: 'Github',
|
|
||||||
value: 'github',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'Bitbucket',
|
name: 'Bitbucket',
|
||||||
value: 'bitbucket',
|
value: 'bitbucket',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Github',
|
||||||
|
value: 'github',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
operation: [
|
operation: [
|
||||||
'get',
|
'get',
|
||||||
|
'getAll',
|
||||||
|
'trigger',
|
||||||
],
|
],
|
||||||
resource: [
|
resource: [
|
||||||
'pipeline',
|
'pipeline',
|
||||||
|
@ -76,6 +78,8 @@ export const pipelineFields = [
|
||||||
show: {
|
show: {
|
||||||
operation: [
|
operation: [
|
||||||
'get',
|
'get',
|
||||||
|
'getAll',
|
||||||
|
'trigger',
|
||||||
],
|
],
|
||||||
resource: [
|
resource: [
|
||||||
'pipeline',
|
'pipeline',
|
||||||
|
@ -83,8 +87,13 @@ export const pipelineFields = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
default: '',
|
default: '',
|
||||||
|
placeholder: 'n8n-io/n8n',
|
||||||
description: 'Project slug in the form org-name/repo-name',
|
description: 'Project slug in the form org-name/repo-name',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/* -------------------------------------------------------------------------- */
|
||||||
|
/* pipeline:get */
|
||||||
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
{
|
||||||
displayName: 'Pipeline Number',
|
displayName: 'Pipeline Number',
|
||||||
name: 'pipelineNumber',
|
name: 'pipelineNumber',
|
||||||
|
@ -105,53 +114,10 @@ export const pipelineFields = [
|
||||||
default: 1,
|
default: 1,
|
||||||
description: 'The number of the pipeline',
|
description: 'The number of the pipeline',
|
||||||
},
|
},
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* pipeline:getAll */
|
/* pipeline:getAll */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
|
||||||
displayName: 'VCS',
|
|
||||||
name: 'vcs',
|
|
||||||
type: 'options',
|
|
||||||
options: [
|
|
||||||
{
|
|
||||||
name: 'Github',
|
|
||||||
value: 'github',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Bitbucket',
|
|
||||||
value: 'bitbucket',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
displayOptions: {
|
|
||||||
show: {
|
|
||||||
operation: [
|
|
||||||
'getAll',
|
|
||||||
],
|
|
||||||
resource: [
|
|
||||||
'pipeline',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
default: '',
|
|
||||||
description: 'Version control system',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
displayName: 'Project Slug',
|
|
||||||
name: 'projectSlug',
|
|
||||||
type: 'string',
|
|
||||||
displayOptions: {
|
|
||||||
show: {
|
|
||||||
operation: [
|
|
||||||
'getAll',
|
|
||||||
],
|
|
||||||
resource: [
|
|
||||||
'pipeline',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
default: '',
|
|
||||||
description: 'Project slug in the form org-name/repo-name',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
displayName: 'Return All',
|
displayName: 'Return All',
|
||||||
name: 'returnAll',
|
name: 'returnAll',
|
||||||
|
@ -219,53 +185,10 @@ export const pipelineFields = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* pipeline:trigger */
|
/* pipeline:trigger */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
{
|
|
||||||
displayName: 'VCS',
|
|
||||||
name: 'vcs',
|
|
||||||
type: 'options',
|
|
||||||
options: [
|
|
||||||
{
|
|
||||||
name: 'Github',
|
|
||||||
value: 'github',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Bitbucket',
|
|
||||||
value: 'bitbucket',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
displayOptions: {
|
|
||||||
show: {
|
|
||||||
operation: [
|
|
||||||
'trigger',
|
|
||||||
],
|
|
||||||
resource: [
|
|
||||||
'pipeline',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
default: '',
|
|
||||||
description: 'Version control system',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
displayName: 'Project Slug',
|
|
||||||
name: 'projectSlug',
|
|
||||||
type: 'string',
|
|
||||||
displayOptions: {
|
|
||||||
show: {
|
|
||||||
operation: [
|
|
||||||
'trigger',
|
|
||||||
],
|
|
||||||
resource: [
|
|
||||||
'pipeline',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
default: '',
|
|
||||||
description: 'Project slug in the form org-name/repo-name',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
displayName: 'Additional Fields',
|
displayName: 'Additional Fields',
|
||||||
name: 'additionalFields',
|
name: 'additionalFields',
|
||||||
|
|
Loading…
Reference in a new issue