Commit Graph

116 Commits

Author SHA1 Message Date
Carlos Esteban Lopez 2bdd1f92c1 fix: Add paragraph prop for bottom margin
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:08:53 -05:00
Carlos Esteban Lopez e75f39e603 feat: Lint paragraphs except in test files & fix
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:08:53 -05:00
Patrik Oldsberg 2e701b3796 refactor react-router -> react-router-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-12-10 15:17:53 +01:00
Dmitry Lobanov f905853ad6 refactor: replace @material-ui Link
Signed-off-by: Dmitry Lobanov <lobanov.dmitry.s@gmail.com>
2022-10-25 13:05:18 +02:00
Fredrik Adelöw 3f739be9d9 more api cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 15:16:19 +02:00
Dimitris Apostolou aedd4daa66 Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-03-13 14:12:05 +02:00
Patrik Oldsberg 17e0b29a42 Merge pull request #9840 from nodify-at/master
Integrate permissions to Jenkins plugin
2022-03-03 16:16:24 +01:00
Fredrik Adelöw 36aa63022b deprecate EntityName, introduce CompoundEntityRef
deprecate getEntityName, introduce getCompoundEntityRef

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-02 21:54:45 +01:00
Hasan Oezdemir 23e1c17bba (feature): enable permissions in jenkins plugin. Actions (re-build) can be executed only by a user who owns the entity (or related group own the entity)
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-02-27 01:58:56 +01:00
Fredrik Adelöw 7d82685c9d stop using EntityRef in jenkins
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-23 12:01:27 +01:00
Patrik Oldsberg 2262fe19c9 removed deprecated entity props
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 13:54:33 +01:00
Fredrik Adelöw 5333451def Got rid of the last brace-typed and hyphen-less params etc
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-10 09:48:12 +01:00
Patrik Oldsberg 4ce51ab0f1 use precise imports of react-use
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-30 12:53:16 +01:00
Fredrik Adelöw d0523cec56 Merge pull request #8156 from WarlenRodrigues/fixing_link_somponents_usage
Fixed Link components usage. Now, all links use the Backstage's Link c…
2021-12-21 08:10:15 +01:00
Fredrik Adelöw d4aeaa8461 Merge pull request #8488 from cmpadden/remove-deprecations
Remove Deprecations (release-2021-01-28, 2021-06-01, 2021-10-28, 2021-11-18)
2021-12-21 08:08:02 +01:00
Fredrik Adelöw 2847cd8234 some final cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-20 19:23:47 +01:00
WarlenRodrigues 22bf2da934 Fied Link components usage. Now, all links use the Backstage's Link component
Signed-off-by: WarlenRodrigues <warlen.cesarrodrigues@gmail.com>
2021-12-20 19:18:04 +01:00
Hasan Ozdemir d03ee9e28f feature: remove instanceof check from CITable, add @backstage/errors to jenkins plugin to resolve eslint related issues
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-18 19:10:15 +01:00
Colton Padden 345dcea560 release-2021-06-01 packages/core-plugin-api/src/apis/system/ApiRef.ts:27
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-17 15:04:34 -05:00
Hasan Ozdemir 047d92db5e improve success and fail messages, re-generated api reports
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-17 11:38:19 +01:00
Hasan Ozdemir bc3695fe7a remobe base response model and throw an error if jenkins:rebuild fails
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-17 02:39:54 +01:00
Hasan Ozdemir eb3fd85d3e feature: add crumbIssuer option to jenkins (optional) configuration, improve the UI to show a notification after executing the action: re-build
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-15 17:35:44 +01:00
Lorenzo Orsatti 58e197947a fix jenkins pagination
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com>
2021-11-25 00:50:59 +01:00
Patrik Oldsberg 8a96019a39 Merge branch 'master' into rugvip/test-port 2021-11-22 17:33:10 +01:00
Patrik Oldsberg 29ef695410 packages,plugins: migrate to using TestApiProvider and Registry
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-18 11:28:46 +01:00
blam 610e3c979d chore: remove occurrences of FC
Signed-off-by: blam <ben@blam.sh>
2021-11-18 10:35:49 +01:00
blam f029733d13 chore: remove occurrences of the rule of hooks to favour wrapping the components instead
Signed-off-by: blam <ben@blam.sh>
2021-11-18 10:17:15 +01:00
blam 7c55fae208 chore: code review comments and renaming some ids for routeRefs
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:34:46 +01:00
blam 8b21788e96 chore: added some more deprecation fixes for the routeRefs
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:26:01 +01:00
blam 1332a98a01 chore: fixing deprecation warnings for all the things that are in the monorepo
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:24:20 +01:00
Tim Hansen be5eb6c313 Merge pull request #7594 from manucirne/fix/issue/7155
Sort Jenkins biuld by timestemp in CITable
2021-10-17 20:59:29 -06:00
Gabriel Noal 3c756657b8 Sort Jenkins biuld by timestemp in CITable
Signed-off-by: Gabriel Noal <gabriel.oliva@hotmail.com>
2021-10-14 17:58:10 -03:00
Eric Peterson 81a41ec249 Apply extension-names codemod to monorepo.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-04 19:29:43 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Oliver Sand f67ece34c1 Mark LEGACY_JENKINS_ANNOTATION as deprecated
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-12 18:15:00 +02:00
Oliver Sand 42a24691a7 Generate API report
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-12 18:09:15 +02:00
Oliver Sand d7d1f6fb9a Make isJenkinsAvailable recognise both the old and the new Jenkins annotation
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-08-12 17:56:24 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
blam a9ce6d8892 chore: updating typescript and api-reports
Signed-off-by: blam <ben@blam.sh>
2021-07-27 23:44:43 +02:00
Andrew Shirley 8e38300d7c Consistently use job-full-name not name or slug
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 91cc4913ab Use the options object pattern for frontend API
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 24d786e197 Encode all components in the url
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 76fcd5ab40 Tidy types
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley dc05501c08 Tidy hook APIs
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 9fde1b3313 Rename JenkinsApiImpl to JenkinsClient
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley aaa12c8bdb Fix prettier from rebase
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 048f0a69ac Fix rebase error
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 44e53097da Re-instate the API export
After a discussion with blam I now understand the value of the SPI export so
have added it back in (albeit with some significant changes from the original)

https://discord.com/channels/687207715902193673/687207715902193679/855378432871759922

Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 3c7991423c Remove internal things from the jenkins public API
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00
Andrew Shirley 79593909c9 Support rebuilding a build
Note that like the previous implementation, this actually triggers a build of the project, not a re-build of a given build.

Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +02:00