blam
021eb366a8
chore: reworking the logic
...
Signed-off-by: blam <ben@blam.sh >
2021-05-20 15:49:21 +02:00
blam
5fc87a693c
fix(scaffolder): added some logging if we can't enable branch protection for free repos
...
Signed-off-by: blam <ben@blam.sh >
2021-05-20 15:41:30 +02:00
Ben Lambert
633c57a00e
Merge pull request #5731 from backstage/blam/deprecate-v1alpha1
...
Deprecating `v1alpha1` templates
2021-05-20 12:21:55 +02:00
Ben Lambert
31bf41eb65
Merge branch 'master' into blam/deprecate-v1alpha1
2021-05-20 12:08:35 +02:00
Fredrik Adelöw
4876d64d6b
remove redundant isRetry field
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-05-20 11:58:40 +02:00
Fredrik Adelöw
aabcf657e8
Merge pull request #5709 from TejasQ/tejask/2494
...
Scaffolder: Enable branch protection on new repo
2021-05-20 11:56:34 +02:00
Fredrik Adelöw
745b30b081
Merge pull request #5578 from GunnerStraiker1/template-card-owner
...
Add Owner Field into TemplateCard and ownedBy & ownerOf relations for TemplateEntity
2021-05-20 11:46:44 +02:00
Victor Perera
cefe0447d0
Fixed review corrections
...
Signed-off-by: Victor Perera <v-vperera@expediagroup.com >
2021-05-19 19:14:08 -05:00
blam
7cdad6e430
chore: removing scaffolder tests for v1
...
Signed-off-by: blam <ben@blam.sh >
2021-05-19 21:15:57 +02:00
blam
b920de280e
chore: fixing typescript for reals this time..
...
Signed-off-by: blam <ben@blam.sh >
2021-05-19 20:51:04 +02:00
blam
3c83ed9e21
chore: fixing typescript
...
Signed-off-by: blam <ben@blam.sh >
2021-05-19 20:44:52 +02:00
blam
c1a7704ad1
chore: add deprecation warning when using v1 templates
...
Signed-off-by: blam <ben@blam.sh >
2021-05-19 20:09:13 +02:00
Tejas Kumar
903f3317ed
Retry only on fail lol
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-19 10:59:41 +02:00
Tejas Kumar
6c18028458
Refactor to remove recursion
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-19 10:46:55 +02:00
Tejas Kumar
d722343942
Oops. Adjust reference to repo name.
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-19 10:41:08 +02:00
Tejas Kumar
80a2bdc0be
Use a literal for branch name
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-19 07:31:52 +02:00
Tejas Kumar
e606761260
Clarify deprecation notice
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 17:33:21 +02:00
Tejas Kumar
0907e3c54f
Add deprecation notice to deprecated publisher
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 17:30:56 +02:00
Tejas Kumar
ce0872c455
Add branch protection to newer publisher
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 17:30:46 +02:00
Tejas Kumar
67c9852e5c
Remove period
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 17:14:41 +02:00
Tejas Kumar
c2cfac4cbe
Use Octokit's previews API
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 17:08:18 +02:00
Tejas Kumar
9dce89d9ba
Clean up return type
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 13:41:49 +02:00
Tejas Kumar
46bb4a1482
Adjust error output
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 13:41:49 +02:00
Tejas Kumar
c41964f89b
Scaffolder: Enable branch protection on new repo
...
Signed-off-by: Tejas Kumar <tejask@spotify.com >
2021-05-18 13:41:49 +02:00
jrusso1020
2597b9f009
add legacyActions back in without a circular dependency
...
Signed-off-by: jrusso1020 <jrusso@brex.com >
2021-05-17 10:51:50 -04:00
jrusso1020
65e6c45410
Remove circular dependencies
...
In reference to issue #5563 this does the initial work to remove
all the circular dependencies that we have encountered while
building backstage using bazel. The next step will be to implement
a method to catch these circular dependencies before they get
merged in
Signed-off-by: jrusso1020 <jrusso@brex.com >
2021-05-15 11:17:05 -06:00
Alexander Kaserbacher
59fdb9dce2
Use apiBaseUrl for Bitbucket server if it is set
...
default to host otherwise
Signed-off-by: Alexander Kaserbacher <alex.kaserbacher@icloud.com >
2021-05-09 17:37:09 +02:00
Dominik Henneke
42f2adadc8
Merge pull request #5415 from SDA-SE/feat/rundocker-api
...
Refactor the runDockerContainer function to a ContainerRunnerApi interface
2021-05-05 12:00:40 +02:00
Victor Perera
9eb48a9853
Tests updated
...
Signed-off-by: Victor Perera <v-vperera@expediagroup.com >
2021-05-04 21:27:38 -05:00
dependabot[bot]
75c8cec394
chore(deps): bump jsonschema from 1.2.7 to 1.4.0
...
Bumps [jsonschema](https://github.com/tdegrunt/jsonschema ) from 1.2.7 to 1.4.0.
- [Release notes](https://github.com/tdegrunt/jsonschema/releases )
- [Commits](https://github.com/tdegrunt/jsonschema/compare/v1.2.7...v1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-05-04 11:30:00 +02:00
Dominik Henneke
a030b5be86
Update invalid test
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-05-03 17:35:04 +02:00
Dominik Henneke
e0bfd3d448
Refactor the runDockerContainer function to a ContainerRunner interface.
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-05-03 14:16:28 +02:00
Thomas Viaud
939b9d0fff
Fixing Prettier Warning
...
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com >
2021-04-30 11:39:36 +01:00
Thomas Viaud
900cb4c39d
Run Prettier on scaffolder-backend files
...
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com >
2021-04-30 11:34:08 +01:00
Thomas Viaud
3816ee1a91
feat(scaffolder-backend,githubPR): Fixing Github URL submitted to get credentials
...
Signed-off-by: Thomas Viaud <t.viaud@elsevier.com >
2021-04-30 11:17:59 +01:00
Tim Hansen
a1783f3060
Add nebula-preview
...
Signed-off-by: Tim Hansen <timbonicus@gmail.com >
2021-04-27 11:07:15 -06:00
Fredrik Adelöw
49574a8a3e
Fix some spleling
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-04-22 09:51:37 +02:00
Fredrik Adelöw
2f423757d2
Merge pull request #5202 from erikxiv/fix/scaffolder-forward-token
...
fix: Forward user token to scaffolder taskworker for subsequent api r…
2021-04-17 20:14:47 +02:00
Erik Larsson
3f4c4a00dd
avoid overusing fancy constructs
...
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com >
2021-04-17 19:31:22 +02:00
Erik Larsson
1d2fafca72
rename identityToken to token
...
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com >
2021-04-17 19:30:55 +02:00
blam
096c0d85e0
feat(scaffolder): added parseRepoUrl helper to parse to json object
...
Signed-off-by: blam <ben@blam.sh >
2021-04-15 12:17:39 +02:00
blam
c2a685ddb1
feat(scaffolder): add support for parsing the valuues as a json object in the parameters
...
Signed-off-by: blam <ben@blam.sh >
2021-04-15 12:17:39 +02:00
Erik Larsson
fd3b689217
Added test that secrets are not divulged
...
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com >
2021-04-13 16:24:04 +02:00
Patrik Oldsberg
423a514c3b
scaffolder-backend: fix GitHub Pull Request preparer on windows
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-04-13 14:08:20 +02:00
Erik Larsson
47c96fb539
Fix bugs, add tests
...
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com >
2021-04-11 15:35:49 +02:00
Erik Larsson
a41a912f2d
Store secrets in separate db column
...
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com >
2021-04-09 23:34:08 +02:00
Erik Larsson
84c54474dd
fix: Forward user token to scaffolder taskworker for subsequent api requests
...
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com >
2021-04-09 23:34:07 +02:00
Patrik Oldsberg
93dc706eea
Merge pull request #5271 from lancelot1337/bug/fix-for-5236
...
Update !url.startsWith condition in file.ts
2021-04-09 17:15:05 +02:00
Patrik Oldsberg
7abec4dbcf
scaffolder-backend: fix file protocol check
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-04-09 16:37:15 +02:00
lancelot
b109375902
Update !url.startsWith condition in file.ts
...
Signed-off-by: lancelot <sudhanshusah2001@gmail.com >
2021-04-09 14:56:59 +05:30