Commit Graph

1184 Commits

Author SHA1 Message Date
Patrik Oldsberg a57621b496 Merge pull request #9482 from daviddyball/master
scaffolder-backend: fix error behaviour in runCommand helper
2022-02-12 00:16:05 +01:00
Fredrik Adelöw 216725b434 catalog-model: rename parse/stringifyLocationRef
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-11 17:11:10 +01:00
David Dyball 3e59f90b51 scaffolder-backend: fix error behaviour in runCommand helper
Signed-off-by: David Dyball <david.dyball@gmail.com>
2022-02-11 15:20:30 +00:00
Fredrik Adelöw 1ed305728b bump node-fetch and cross-fetch
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 15:51:50 +01:00
github-actions[bot] e4791789d1 Version Packages 2022-02-10 11:06:33 +00:00
Fredrik Adelöw 898a56578c scaffolder: bump vm2
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 10:44:49 +01:00
github-actions[bot] e74f416a00 Version Packages (next) 2022-02-08 19:38:17 +00:00
dependabot[bot] 2441d1cf59 chore(deps): bump knex from 0.95.6 to 1.0.2
Bumps [knex](https://github.com/knex/knex) from 0.95.6 to 1.0.2.
- [Release notes](https://github.com/knex/knex/releases)
- [Changelog](https://github.com/knex/knex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/knex/knex/commits)

---
updated-dependencies:
- dependency-name: knex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 15:51:55 +01:00
djamaile 2bd5f24043 fix(scaffolder-backend): use the right key when initializing a Gitlab client
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-02-03 22:17:53 +01:00
github-actions[bot] a12bb7b065 Version Packages 2022-02-03 09:42:25 +00:00
Ben Lambert c209fe277e Merge pull request #9168 from backstage/blam/scaffodler-secrets-frontend 2022-02-03 10:23:05 +01:00
github-actions[bot] 51eecb3f03 Version Packages (next) 2022-02-02 14:28:47 +00:00
github-actions[bot] e1580cf73a Version Packages (next) 2022-02-01 08:53:29 +00:00
blam c1be2801a9 chore: rewording PROVIDER_TOKEN to token
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 0f264c4f84 chore: api-reports needed updating for scaffolder bacend
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 72eccc0f5d chore: added tests for ensuring that the token is used properly when passed into the actions
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam 2c34749bb6 feat: added support for overriding the token used for publish actions.
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam c91ba8cf2f feat: Added the ability for the scaffolder backend engine to template secrets into the input of actions
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
Johan Haals 8caa691a0b Merge pull request #9189 from lunarway/feature/migrate-scaffolder-octokit
Replace @octokit/rest with octokit in scaffolder-backend
2022-01-31 09:18:27 +01:00
github-actions[bot] 406848efee Version Packages 2022-01-27 11:07:27 +00:00
Crevil 426aee1212 Update api report
Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-01-27 08:51:36 +01:00
Crevil 9ef7e4800c Merge branch 'master' into feature/migrate-scaffolder-octokit 2022-01-27 08:36:56 +01:00
Crevil 2e0dbb0e50 Replace @octokit/rest in scaffolder-backend
Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-01-26 21:44:10 +01:00
Tracey b1b5639b86 shortened description, added type to workflowInputs and fixed line issue in handler
Signed-off-by: Tracey <tradcliffe@expediagroup.com>
2022-01-24 14:17:25 -08:00
Tracey 2cd42a7ae5 updated github:action:dispatch to include inputs to send to GitHub action
Signed-off-by: Tracey <tradcliffe@expediagroup.com>
2022-01-24 13:29:33 -08:00
Patrik Oldsberg b0b1d84c01 Merge pull request #9065 from DavidZemon/feature/8920-custom-nunjucks-filters
feat: [#8920] Add `nunjucksFilters` option for user-provided filters
2022-01-24 11:50:26 +01:00
dependabot[bot] b09dd8f43b chore(deps): bump @gitbeaker/node from 34.6.0 to 35.1.0
Bumps [@gitbeaker/node](https://github.com/jdalrymple/gitbeaker) from 34.6.0 to 35.1.0.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases)
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/34.6.0...35.1.0)

---
updated-dependencies:
- dependency-name: "@gitbeaker/node"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 04:14:01 +00:00
David Zemon b16ad3f8c9 chore: [#8920] Update API report
Signed-off-by: David Zemon <david@zemon.name>
2022-01-21 10:49:31 -06:00
David Zemon 2137b84c32 refactor: [#8920] Rename for inclusion of other templating engines
Signed-off-by: David Zemon <david@zemon.name>
2022-01-21 10:44:02 -06:00
David Zemon 0e4f141661 refactor: [#8920] Minor import optimization
Signed-off-by: David Zemon <david@zemon.name>
2022-01-21 09:51:14 -06:00
David Zemon 723e5fc26a refactor: [#8920] Clean-up based on PR feedback
Signed-off-by: David Zemon <david@zemon.name>
2022-01-21 09:39:38 -06:00
David Zemon a5600dba15 feat: [8920] Define explicit type for filter; Add SecureTemplater tests
Signed-off-by: David Zemon <david@zemon.name>
2022-01-21 09:37:59 -06:00
David Zemon af6b692cb3 feat: [8920] Define explicit type for filter; Add SecureTemplater tests
Signed-off-by: David Zemon <david@zemon.name>
2022-01-21 09:37:05 -06:00
David Zemon fde4307fc4 feat: [#8920] Add nunjucksFilters option for user-provided filters
Signed-off-by: David Zemon <david@zemon.name>
2022-01-21 09:36:38 -06:00
github-actions[bot] 8b18d054f3 Version Packages 2022-01-20 10:33:31 +00:00
Fredrik Adelöw a8e6265109 Revert "build(deps): bump helmet from 4.4.1 to 5.0.1"
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-20 10:02:55 +01:00
Ben Lambert 452afde031 Merge pull request #9038 from backstage/blam/scaffolder-secrets
scaffolder: Support supplying secrets at Task Creation
2022-01-20 09:28:37 +01:00
Fredrik Adelöw 444175b7a4 Merge pull request #8987 from backstage/dependabot/npm_and_yarn/helmet-5.0.1
build(deps): bump helmet from 4.4.1 to 5.0.1
2022-01-20 09:13:35 +01:00
blam 7e76e7dc12 chore: adjusting the types a little bit and regenerating api-docs
Signed-off-by: blam <ben@blam.sh>
2022-01-20 09:02:46 +01:00
blam 783c435e46 api-docs: regenerate reports for scaffolder and changes
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:38:10 +01:00
blam 8181b34c89 chore: set the secrets type as TaskSecrets
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:20:19 +01:00
blam 2d4ef2b78e chore: secrets are removed when claiming the task
Signed-off-by: blam <ben@blam.sh>
2022-01-19 18:13:32 +01:00
blam 128a489ba0 chore: delete the secrets when claiming the task so we don't store anything locally
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:18:30 +01:00
blam d19c88a9e4 chore: moving the catalog register to use backstageToken instead from the secrets
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:13:59 +01:00
blam f999b4063a chore: deprecating the token that's passed through to the context and using ctx.secrets.backstageToken instead
Signed-off-by: blam <ben@blam.sh>
2022-01-19 17:11:45 +01:00
blam c3a28a46fc chore: deprecating the token field and renaming to backstageToken as token is far too generic
Signed-off-by: blam <ben@blam.sh>
2022-01-19 16:43:45 +01:00
github-actions[bot] a94a2b8b3f Version Packages (next) 2022-01-18 13:49:07 +00:00
dependabot[bot] c1a6d642bd build(deps): bump helmet from 4.4.1 to 5.0.1
Bumps [helmet](https://github.com/helmetjs/helmet) from 4.4.1 to 5.0.1.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.4.1...v5.0.1)

---
updated-dependencies:
- dependency-name: helmet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 09:46:53 +00:00
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
Diego Drumond fced56a416 scaffolder-backend: pass token to tasks
Signed-off-by: Diego Drumond <diego.ribeiro@hotmart.com>
2022-01-12 09:52:52 -03:00