Commit Graph

18804 Commits

Author SHA1 Message Date
Jeremy Guarini ac25a0f577 When using GCS for the techdocs storage and not setting the GOOGLE_APPLICATION_CREDENTIALS environment variable, authentication and accessing the bucket fails due to the project ID not being found.
Relevant log output

```
techdocs error from GCS client library: Unable to detect a Project Id in the current environment.
```

By adding the projectID when initializing the Storage client, this should fix the issue. This current approach expects the project_id to be in the json credentials, which it usually is.

Another option would be to re-add the app-config projectID value back and allow users to specify the projectID that way as well.

Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2022-02-25 21:10:42 -08:00
Ben Lambert d0ea59bee8 Merge pull request #7998 from awanlin/topic/improve-azure-devops-date-handling
Improved Azure DevOps Date Handling
2021-11-12 16:02:49 +01:00
Andre Wanlin 8b5bd7e0d5 Updated changeset to minor for common
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-11-12 08:06:45 -06:00
Mike Lewis 6f8e995145 Merge pull request #8023 from backstage/bump-api-documenter
build(deps): bump @microsoft/api-documenter to v7.13.68
2021-11-12 14:04:11 +00:00
Andre Wanlin f5a5657d9a Merge branch 'backstage:master' into topic/improve-azure-devops-date-handling 2021-11-12 07:38:59 -06:00
Fredrik Adelöw b46cd73035 Merge pull request #7612 from backstage/freben/recurring-tasks
Add support for distributed tasks
2021-11-12 14:32:30 +01:00
Ben Lambert 7f839ddbb6 Merge pull request #8021 from SDA-SE/feat/dev-switch-theme
Add theme switcher to sidebar of dev app
2021-11-12 14:29:45 +01:00
Mike Lewis f3bd8f4757 build(deps): bump @microsoft/api-documenter to v7.13.68
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-11-12 12:18:22 +00:00
Oliver Sand 58a4e67ded Add theme switcher to sidebar of dev app
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-11-12 11:16:19 +01:00
Patrik Oldsberg 0a66597793 Merge pull request #8000 from marleypowell/marley/7999-storybook-fix
fix: Fixed issue with running a subset of stories caused by incorrectly resolved paths.
2021-11-12 11:04:23 +01:00
Johan Haals 96e9afce25 Merge pull request #8016 from backstage/dependabot/npm_and_yarn/types/nunjucks-3.2.0
build(deps-dev): bump @types/nunjucks from 3.1.5 to 3.2.0
2021-11-12 10:56:45 +01:00
Johan Haals f3bf71b925 Merge pull request #8015 from backstage/dependabot/npm_and_yarn/types/jquery-3.5.8
build(deps-dev): bump @types/jquery from 3.5.5 to 3.5.8
2021-11-12 10:56:21 +01:00
Fredrik Adelöw c3ffbd615f Merge pull request #7947 from backstage/freben/service-builder-errors
Make sure that the server builder propagates init errors properly
2021-11-12 09:42:46 +01:00
Marley Powell f8ebdd571c refactor: Reworked how subset story paths are created.
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com>
2021-11-12 08:33:39 +00:00
Marley Powell cdca117d58 Merge branch 'master' of https://github.com/backstage/backstage into marley/7999-storybook-fix 2021-11-12 08:13:33 +00:00
dependabot[bot] 72e0e17fb5 build(deps-dev): bump @types/nunjucks from 3.1.5 to 3.2.0
Bumps [@types/nunjucks](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nunjucks) from 3.1.5 to 3.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/nunjucks)

---
updated-dependencies:
- dependency-name: "@types/nunjucks"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 04:13:37 +00:00
dependabot[bot] 0cc1fa949b build(deps-dev): bump @types/jquery from 3.5.5 to 3.5.8
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery) from 3.5.5 to 3.5.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery)

---
updated-dependencies:
- dependency-name: "@types/jquery"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 04:11:27 +00:00
Patrik Oldsberg 2375361400 Merge pull request #8001 from backstage/rugvip/oda
cli: make sure JSS styles receive the highest priority
2021-11-12 01:05:15 +01:00
Patrik Oldsberg 510f16a435 Merge pull request #7845 from jeremyguarini/gcp-plugin-ui-updates
UI updates to GCP-projects plugin
2021-11-12 01:02:24 +01:00
Jeremy Guarini 4f3ba47bf3 ran yarn install to clear out data-grid dependency
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-11-11 14:49:40 -08:00
Jeremy Guarini 1e33ce7407 swapout material-table for backstage table
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com>
2021-11-11 12:41:30 -08:00
Fredrik Adelöw 333e3c21e5 Merge pull request #7990 from backstage/freben/tar2
add snyk ignores for the node-gyp tar vuln
2021-11-11 20:32:04 +01:00
Fredrik Adelöw 5f606617dd fixup yarn.lock
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:31:05 +01:00
Fredrik Adelöw 3f447ec3e1 use lodash.once instead of memoize, and skip unnecessary PK index
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:24:59 +01:00
Fredrik Adelöw e72d9ba9f6 remove unnecessary dep on backend-test-utils
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:24:57 +01:00
Fredrik Adelöw 3bf2238187 update to the right version of the errors package
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:24:14 +01:00
Fredrik Adelöw fdfd2f8a62 remove double config dep in cli
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:24:12 +01:00
Fredrik Adelöw 06b035d120 bump to the latest versions of backstage packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:23:19 +01:00
Fredrik Adelöw 41009bb3a5 fix missing link in api report
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:48 +01:00
Fredrik Adelöw 85cc6bd6aa rename to TaskScheduler to reduce collision risk with other concepts
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:48 +01:00
Fredrik Adelöw 92d85b80e9 more tests and a review comment
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:48 +01:00
Fredrik Adelöw b5c106ac4c fix api export and test timeouts
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:48 +01:00
Fredrik Adelöw 26cf7f631d final cleanup, removing unschedule
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:48 +01:00
Fredrik Adelöw 9bee0b9f71 make it possible to abort tasks
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:48 +01:00
Fredrik Adelöw d8c28d99cf make the original task definition into just one object
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:47 +01:00
Fredrik Adelöw b91fe07309 use a proper AbortController instead of the home baked one
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:40 +01:00
Fredrik Adelöw cc3b6c25aa make timeout and frequency mandatory
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:28 +01:00
Fredrik Adelöw aeaa2fe3e6 log the task id as well when unable to parse settings
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:28 +01:00
Fredrik Adelöw d252c983b5 use dashes in not-ready-yet
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:28 +01:00
Fredrik Adelöw 5d602f8e29 get rid of the ts-ignore
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:28 +01:00
Fredrik Adelöw 3f1237147f remove the lock functionality
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:28 +01:00
Fredrik Adelöw 67456f7fc9 remove knexfile
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:28 +01:00
Fredrik Adelöw c1ac8dd174 log on failed release
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:28 +01:00
Fredrik Adelöw e09bf604cd move to a separate package instead and address comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:22:27 +01:00
Fredrik Adelöw 222793c849 do not modify the backend yet
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:51 +01:00
Fredrik Adelöw d7c1e0e34a docs
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:51 +01:00
Fredrik Adelöw 751317dbf3 finishing touches
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:51 +01:00
Fredrik Adelöw d4f412fcd3 Get most of the task worker code into place
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:51 +01:00
Fredrik Adelöw d088c7f0a3 Implement the locks part of the task manager
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:21:49 +01:00
Fredrik Adelöw 6f276707e3 review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-11 20:06:45 +01:00