Skip to content

Commit

Permalink
feat(3171): Move pipeline template workflowGraph out of config into a…
Browse files Browse the repository at this point in the history
… new field (#3179)

BREAKING CHANGE: Move workflowGraph out of config and keep it at the same level as config
  • Loading branch information
sagar1312 authored Sep 5, 2024
1 parent 8a1819f commit 2da9a1c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,29 +103,29 @@
"screwdriver-build-bookend": "^4.0.0",
"screwdriver-cache-bookend": "^3.0.0",
"screwdriver-command-validator": "^3.0.0",
"screwdriver-config-parser": "^10.4.1",
"screwdriver-config-parser": "^11.0.0",
"screwdriver-coverage-bookend": "^2.0.0",
"screwdriver-coverage-sonar": "^4.1.1",
"screwdriver-data-schema": "^23.7.0",
"screwdriver-datastore-sequelize": "^8.2.0",
"screwdriver-executor-base": "^9.0.1",
"screwdriver-executor-docker": "^6.0.0",
"screwdriver-executor-k8s": "^15.0.1",
"screwdriver-executor-k8s-vm": "^4.3.3",
"screwdriver-executor-queue": "^4.0.0",
"screwdriver-executor-router": "^3.0.0",
"screwdriver-data-schema": "^24.0.0",
"screwdriver-datastore-sequelize": "^9.0.0",
"screwdriver-executor-base": "^10.0.0",
"screwdriver-executor-docker": "^7.0.0",
"screwdriver-executor-k8s": "^16.0.0",
"screwdriver-executor-k8s-vm": "^5.0.0",
"screwdriver-executor-queue": "^5.0.0",
"screwdriver-executor-router": "^4.0.0",
"screwdriver-logger": "^2.0.0",
"screwdriver-models": "^29.18.4",
"screwdriver-notifications-email": "^3.0.0",
"screwdriver-notifications-slack": "^5.0.0",
"screwdriver-models": "^30.0.0",
"screwdriver-notifications-email": "^4.0.0",
"screwdriver-notifications-slack": "^6.0.0",
"screwdriver-request": "^2.0.1",
"screwdriver-scm-base": "^8.2.0",
"screwdriver-scm-bitbucket": "^5.0.1",
"screwdriver-scm-github": "^12.6.0",
"screwdriver-scm-gitlab": "^3.1.0",
"screwdriver-scm-router": "^7.1.0",
"screwdriver-template-validator": "^8.2.0",
"screwdriver-workflow-parser": "^4.4.1",
"screwdriver-scm-base": "^9.0.0",
"screwdriver-scm-bitbucket": "^6.0.0",
"screwdriver-scm-github": "^13.0.0",
"screwdriver-scm-gitlab": "^4.0.0",
"screwdriver-scm-router": "^8.0.0",
"screwdriver-template-validator": "^9.0.0",
"screwdriver-workflow-parser": "^5.0.0",
"sqlite3": "^5.1.4",
"stream": "0.0.3",
"tinytim": "^0.1.1",
Expand Down
40 changes: 20 additions & 20 deletions test/plugins/pipelines.templates.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@ describe('pipeline plugin test', () => {
sourcePaths: []
}
},
parameters: {},
workflowGraph: {
nodes: [{ name: '~pr' }, { name: '~commit' }, { name: 'main' }],
edges: []
}
parameters: {}
},
workflowGraph: {
nodes: [{ name: '~pr' }, { name: '~commit' }, { name: 'main' }],
edges: []
},
pipelineId: 123
};
Expand Down Expand Up @@ -417,21 +417,21 @@ describe('pipeline plugin test', () => {
sourcePaths: []
}
},
parameters: {},
workflowGraph: {
edges: [],
nodes: [
{
name: '~pr'
},
{
name: '~commit'
},
{
name: 'main'
}
]
}
parameters: {}
},
workflowGraph: {
edges: [],
nodes: [
{
name: '~pr'
},
{
name: '~commit'
},
{
name: 'main'
}
]
}
}
});
Expand Down

0 comments on commit 2da9a1c

Please sign in to comment.