Commit Graph

99 Commits

Author SHA1 Message Date
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
yafanasiev 288a2595b7 chore: update import, fix linter issues
Signed-off-by: yafanasiev <y.afanasiev@easygenerator.com>
2021-06-07 10:16:20 +03:00
yafanasiev 9bdd2cca89 fix: add missing token on job list call to Github API
Signed-off-by: yafanasiev <y.afanasiev@easygenerator.com>
2021-06-06 14:13:32 +03: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
Fredrik Adelöw 38ca051682 The default @octokit/rest dependency was bumped to "^18.5.3".
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-03 11:15:22 +02:00
Andrew Shirley 16a4ffb871 Eliminate EmptyState usage
Signed-off-by: Andrew Shirley <andrew@als-bi.com>
2021-04-27 09:27:04 +01:00
Andrew Shirley 50701f32cb Use InfoCard not Card
Signed-off-by: Andrew Shirley <andrew@als-bi.com>
2021-04-27 09:27:04 +01:00
Andrew Shirley 4c42ecca2d Wrap EmptyState in a Card
This prevents it overflowing onto subsequent content

Signed-off-by: Andrew Shirley <andrew@als-bi.com>
2021-04-27 09:27:04 +01:00
Tim Hansen 2c29611a0e Make source commit url optional
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-30 14:02:26 -06:00
Oliver Sand 01ccef4c7f Introduce useRouteRefParams to core-api to retrieve typed route params
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-18 15:55:31 +01:00
erdoganoksuz 9ca0e40094 locale added all case conversion
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:06:01 +03:00
Phil Kuang 13fb84244b feat(github-actions-plugin): default links to GitHub host in app config if defined
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-03-08 11:22:47 -05:00
Ben Lambert d13f519f35 Merge pull request #4864 from tadashi0713/show_workflow_name_github_actions
Show workflow name in GitHub Actions
2021-03-08 09:58:15 +01:00
Tadashi Nemoto 7216416d67 Add workflow
Signed-off-by: Tadashi Nemoto <tadashi.nemoto@exwzd.com>
2021-03-08 16:09:17 +09:00
Woody Rousseau b2a5320a4b Use Breadcrumbs from @backstage/core 2021-02-25 20:19:04 +01:00
Woody Rousseau 04667f5712 Use Breadcrumb from @backstage/core 2021-02-24 19:31:28 +01:00
Oliver Sand f4c2bcf54b Use a more strict type for variant of cards
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-17 11:41:53 +01:00
Patrik Oldsberg 8e1789e0c3 circleci,cloudbuild,github-actions,jenkins: rename internal entity conditional 2021-02-07 23:49:08 +01:00
Patrik Oldsberg 3eb1b1bacc github-actions: GitHub -> Github 2021-02-07 23:49:07 +01:00
Patrik Oldsberg f20f046514 github-actions: fix card tests 2021-02-03 00:03:07 +01:00
Patrik Oldsberg f5f45744e3 github-actions: migrate to new composability API 2021-02-02 23:11:22 +01:00
blam 5b9bcce28f chore(lint): Updating to latest eslint with typescript and enabling some rules that we can. Also fixing issues with the project after update 2021-01-22 15:01:29 +01:00
Erik Larsson 46bba09ea0 Support GHE 2021-01-19 22:15:06 +01:00
Fredrik Adelöw a6f9dca0dc plugins should not depend on core-api 2021-01-14 08:54:54 +01:00
Fredrik Adelöw 94fdf49554 Get rid of all usages of @octokit/types, and bump the rest of the octokit dependencies to the latest version 2021-01-13 16:41:10 +01:00
blam c754b6aa47 chore: revert some of the universal file stuff for now 2020-12-16 10:36:57 +01:00
blam bdd10ca66f chore: replace GITHUB_ACTIONS_ANNOTATION with const for now as we need a release of the github-actions-plugin first 2020-12-15 19:48:11 +01:00
blam f76a8aedf4 Merge branch 'master' of github.com:backstage/backstage into mob/scaffolder-cra-fixes
* 'master' of github.com:backstage/backstage: (758 commits)
  add zalando to adpoters list
  Avoid passing undefined to values that are marked as optional
  Support profile of groups in LdapOrgReaderProcessor
  Import picture and display name by the GitHubOrgReaderProcessor
  Use the new group profile section in the group profile card
  Add support for the group profile element to Microsoft Graph processor
  Add profile section to group entity
  Implement readTree on BitBucketUrlReader - Add getBitbucketDefaultBranch
  Implement readTree on BitBucketUrlReader - Modify changeset
  Implement readTree on BitBucketUrlReader - Implement getBitbucketDownloadUrl and remove hash for Bitbucket Server
  Implement readTree on BitBucketUrlReader
  WIP: implement readTree for bitbucket
  updated scaffolder config.d to avoid config failure
  build(deps): bump swagger-ui-react from 3.37.2 to 3.38.0
  included changeset
  Introduced config schema for plugins/scaffolder-backend
  Write relations directly as part of batch add / update of entities.
  Add codeowners for techdocs-common package
  techdocs-common: Add type dependencies
  Update nice-trains-punch.md
  ...
2020-12-15 14:02:21 +01:00
Askar a6a2ca6204 remove React's FC type from codebase (#3527)
* WIP-packages: remove React's FC type from codebase

* remove FC from other directories

* fix build failures

* add types to required packages
2020-12-10 11:23:29 +01:00
Frieder Bluemle cbd3a44c09 Fix typos (#3646) 2020-12-09 07:50:41 +01:00
blam 81667d758e Merge branch 'master' of github.com:spotify/backstage into shmidt-i/universal-file-github-actions
* 'master' of github.com:spotify/backstage: (536 commits)
  fix(catalog-backend): make addProcessor work (#3132)
  use cost insights changeset prefix
  fix(deps): yarn.lock changes missed (#3128)
  Disable yarn update check
  removed transformErrors function
  feat: make entity not found page responsive (#3125)
  Add changeset
  Loosen up the type some more
  Updated types and moved defaulting logic
  Move working directory config to backend
  Add missing config to create-app
  Add testing for working directory config
  Add workdir config support to scaffolder
  fix unbumped packages and bump changelog
  v0.1.1-alpha.26
  chore(docs): more docs around proxy setup
  techdocs-backend: remove duplicate log tagging
  catalog-backend: remove data parsing processing step
  scaffolder-backend: fix review nit
  docs: fix copy and paste error
  ...
2020-10-28 10:04:46 +01:00
blam 06f410cc93 Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (34 commits)
  TechDocs Backend: Replace hardcoded github api by configuration value (#3004)
  fix: accordion details design for job stage failure  (#3014)
  fix: responsive of page example in storybook (#3005)
  fix: update the ItemCard component and it's story (#3007)
  rename stories folder to Chip (#3009)
  feat: Display the plugins InfoCards on EntityPage Overwiev suitable full height (#2826)
  fix(cost-insights): More exports to help custom alerting
  chore(scaffolder): bump rjsf
  remove unused CSS (#2999)
  feat: update github pull requests package version
  fix(github-actions): fix crash when viewing ongoing workflows
  fix(cli): removePlugin forgotten await
  catalog-backend: relations db review comments and more tests
  Feat/add aws lambda plugin (#2985)
  chore(deps): bump object-path from 0.11.4 to 0.11.5 (#2983)
  add changeset
  fix CodeSnippet test case warnings
  fix CopyTextButton test case warnings
  fix the warning by wrapping in act
  fix(catalog): fix link to techdocs
  ...
2020-10-21 11:27:18 +02:00
Jesko Steinberg 6d97d2d6f9 feat: Display the plugins InfoCards on EntityPage Overwiev suitable full height (#2826)
* fix(github-actions): change RecentWorkflowRunsCard to InfoCard

* feat: format entity page overview page

* feat: replace InfoCard variant 'height100' with 'gridItem'

* fix: deprecate usage of InfoCard variant height100
2020-10-20 20:20:30 +02:00
Fredrik Adelöw 0cd1fd178a fix(github-actions): fix crash when viewing ongoing workflows 2020-10-20 14:49:33 +02:00
blam 338baece6f chore(github-actions): removing node-fetch and jest-fetch-mock as dependencies 2020-10-09 12:57:58 +02:00
Ivan Shmidt 7b9abc0a10 fix: import 2020-10-07 17:01:44 +02:00
Ivan Shmidt 96219cb954 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/universal-file-github-actions 2020-10-07 16:55:19 +02:00
Eric Nilsson 4906317b7e Added missing prop for workflowRunStatus in Cards.tsx 2020-10-05 16:16:35 +02:00
Eric Nilsson ce6a0da6cb #2534 Refactored WorkflowRunStatus to account for the run's conclusion along with the status 2020-10-05 15:55:43 +02:00
samiramkr 1518741f67 Using EmptyState in Github Actions Plugin (#2680)
* display EmptyState when no CI/CD is avialable

* change padding and title size

* add EmptyState to gitHubActionPlugin

* fix test failing

* add MissingAnnotationEmptyState

* add MissingAnnotationEmptyState to storybook

* add highlightedNumbers feature to Codesnippet

* use the new component in github actions and update README

* remove entity from MissingAnnotationEmptyState

* remove proptypes from Codesnippet

Co-authored-by: Samira Mokaram <samiram@spotify.com>
2020-10-04 16:23:53 +02:00
Ivan Shmidt 37da165e70 feat: universal file for github-actions 2020-09-29 12:39:14 +02:00
Iain Billett f910491c58 Add widget to show recent git workflow runs
* Fix Entity Page layout
* Fix mock api injection
2020-09-24 10:46:17 +01:00
Iain Billett 63d3a4d3da Add widget to show recent git workflow runs
Adds a widget to show recent git workflow runs to the
github actions plugin. The default setting is the last
5 runs across all branches but both branch and the
number of runs are configurable.
2020-09-24 10:46:17 +01:00
Ivan Shmidt e8c60104df feat(scaffolder): cra add gha integration, fix imports 2020-09-22 13:30:13 +02:00
Fredrik Adelöw f49faa2aa2 chore: trust the Boolean :) 2020-09-22 11:49:45 +02:00
NetPenguins b4d4af50d8 prettier misconfigured 2020-09-12 10:26:19 -04:00
NetPenguins 7cd4ae126a Merge remote-tracking branch 'upstream/master' 2020-09-12 09:10:07 -04:00
Fredrik Adelöw 0a24df743f chore: bump mui to the create-app resolved version, to lose Accordion warnings 2020-09-09 11:18:18 +02:00
Ivan Shmidt e43df1de20 Merge branch 'master' of github.com:spotify/backstage into shmidt-i/circle-ci-plugin-new-route-api 2020-09-09 01:07:07 +02:00
Patrik Oldsberg aa235dd154 app: move api factories out to plugins 2020-09-08 11:31:47 +02:00