Commit Graph

4293 Commits

Author SHA1 Message Date
Ben Lambert 8416da9ed4 Merge pull request #4881 from lowjoel/fix-aws-credentials-order
Implement proper AWS Credentials precedence
2021-03-10 08:37:33 +01:00
Ben Lambert d471f98c44 Merge pull request #4883 from mclarke47/remove-client-caching
remove kubernetes client caching
2021-03-09 13:56:59 +01:00
Ben Lambert a07ac8fbfb Merge pull request #4823 from backjo/fix/use-aws-sdk-2
fix: use aws sdk v2 for kubernetes aws backend auth
2021-03-09 13:56:06 +01:00
Andrew Thauer 4f3d0dce09 feat(catalog): make other tab list non well known types
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-03-09 07:38:22 -05:00
Ben Lambert 278b50f5df Merge pull request #4746 from petergrau/feat/bitriseplugin
feat(bitrise): add bitrise plugin
2021-03-09 11:22:05 +01:00
Himanshu Mishra 38a8734d89 Merge pull request #4744 from backstage/orkohunter/move-runDockerContainer 2021-03-09 10:47:26 +01:00
Peter Grauvogel 3dbdd1cfd3 feat(bitrise): add bitrise ci plugin
Plugin to show bitrise.io builds and download
build artifacts.

Co-authored-by: Adrian Barwicki <adrian@adrianbarwicki.com>
Co-authored-by: Kai Szybiak <kaiszybiak@gmail.com>
Co-authored-by: Dominik Schwank <dominik.schwank@sda.se>
Signed-off-by: Peter Grauvogel <peter.grauvogel@sda-se.com>
2021-03-09 10:31:46 +01:00
Dominik Henneke 73e0853695 Merge pull request #4836 from SDA-SE/feat/no-cache-app-router
Add a `Cache-Control: no-store` header to the `index.html` response to instruct the browser to not cache the pages
2021-03-09 10:07:47 +01:00
Dominik Henneke bded5a3237 Update comments
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-09 09:56:01 +01:00
Joel Low 2ef5bc7ea1 Implement proper AWS Credentials precedence
This properly configures the precedence for explicit assume-role ARNs,
explicit AWS credentials (via access keys), and the default fallback for
the AWS SDK.

The general precedence of using:
 1. explicitly provided credentials
 2. AWS SDK config (AWS.config.credentials)
 3. AWS SDK credentials provider chain (AWS.config.credentialProviders)

has been respected. This removes the need to explicitly configure
`AWS.config.credentials` in Backstage installations also.

Signed-off-by: Joel Low <joel@joelsplace.sg>
2021-03-09 16:53:15 +08:00
mclarke da59f00f5e remove kubernetes client caching
Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-09 08:20:49 +00:00
Ben Lambert f2db9cdec2 Merge pull request #4874 from inrumi/id-collision-fix
Id collision fix
2021-03-09 08:44:21 +01:00
Jonah Back c71729a516 Merge branch 'master' into fix/use-aws-sdk-2
Signed-off-by: Jonah Back <jback@legalzoom.com>
2021-03-08 11:56:16 -08:00
Ben Lambert 7644fd5c94 Merge pull request #4819 from kuangp/feat/actions/ghe
feat(github-actions-plugin): default links to GitHub host in app config if defined
2021-03-08 17:51:39 +01: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 365a55372a Merge pull request #4868 from rbideau/4867-configure-aws-s3-endpoint
Add techdocs.publisher.awsS3.endpoint config option
2021-03-08 17:22:27 +01:00
Johnn Mis c804a5d0c1 OR assignment to prevent id collision on forms
Signed-off-by: Johnn Mis <v-jmis@expediagroup.com>
2021-03-08 09:53:09 -06:00
Himanshu Mishra 4d9d38d2de backend-common: Update tests with new envVars format
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-08 16:49:29 +01:00
Himanshu Mishra d661bece6a Merge pull request #4675 from egnwd/techdocs/header-links 2021-03-08 13:21:43 +00:00
Himanshu Mishra 3f2a0efe01 backend-common: Use Record<string, string> for envVars in runDockerContainer
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-08 14:00:17 +01:00
r.bideau ca4a904f6b Add techdocs.publisher.awsS3.endpoint config option
Signed-off-by: r.bideau <7304827+rbideau@users.noreply.github.com>
2021-03-08 13:56:32 +01:00
dependabot[bot] 63887ea84d chore(deps-dev): bump @types/node from 12.12.58 to 14.14.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.12.58 to 14.14.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-08 13:19:08 +01:00
Himanshu Mishra c0c26244db 1. Use plain Record instead of Map
2. Call fs.realpath inside the utility function

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-08 12:44:11 +01:00
Oliver Sand c390108944 Merge pull request #4702 from SDA-SE/feat/annotations-view-edit-source
Move logic for generating URLs for the view, edit and source links of catalog entities from the catalog frontend into the backend
2021-03-08 12:40:19 +01:00
Oliver Sand 4d2648c6e9 Adjust naming
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-08 12:02:37 +01:00
Dominik Henneke e6fa667639 Update type and changeset
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-08 11:37:35 +01:00
Matthew Clarke 9581ff0b4f Kubernetes: lookup cluster config from google api when using GKE (#4844)
* Restructure config; add GKE cluster locator

Signed-off-by: mclarke <mclarke@spotify.com>

* PR feedback

Signed-off-by: mclarke <mclarke@spotify.com>

* fix region typo

Signed-off-by: mclarke <mclarke@spotify.com>

* replace config api call with clusters endpoint

Signed-off-by: mclarke <mclarke@spotify.com>

* missed tsc error

Signed-off-by: mclarke <mclarke@spotify.com>

* doc tweak

Signed-off-by: mclarke <mclarke@spotify.com>
2021-03-08 10:27:09 +00:00
Oliver Sand a4692715bb Make source source-location has the format of a location ref
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-08 11:21:51 +01:00
Oliver Sand 93c62c755c Move logic for generating URLs for the view, edit and source links of catalog entities from the catalog frontend into the backend
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-08 11:12:52 +01:00
Fredrik Adelöw 8e15b19a30 Merge pull request #4827 from backstage/dependabot/npm_and_yarn/knex-0.95.1
chore(deps): bump knex from 0.21.18 to 0.95.1
2021-03-08 11:11:32 +01:00
Fredrik Adelöw c598de8838 Merge pull request #4839 from backstage/freben/expore-more
Standardize the tool cards in explore some more
2021-03-08 11:11:16 +01:00
Ben Lambert 68d63166dd Merge pull request #4842 from ebarriosjr/add-column-to-kafka-plugin-for-lag
Added lag column to the kafka plugin
2021-03-08 10:37:47 +01:00
dependabot[bot] 7616988312 chore(deps): bump knex from 0.21.18 to 0.95.1
Bumps [knex](https://github.com/knex/knex) from 0.21.18 to 0.95.1.
- [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)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-08 10:26:45 +01:00
ebarrios 0eac754a89 Added test case for lag field in the kafka plugin
Signed-off-by: ebarrios <esteban.barrios@trivago.com>
2021-03-08 10:17:50 +01:00
Fredrik Adelöw 955e2a7a6f Merge pull request #4861 from backstage/dependabot/npm_and_yarn/types/codemirror-0.0.108
chore(deps-dev): bump @types/codemirror from 0.0.100 to 0.0.108
2021-03-08 09:59:07 +01: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
dependabot[bot] 73708c467e chore(deps-dev): bump @types/codemirror from 0.0.100 to 0.0.108
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.100 to 0.0.108.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 04:44:43 +00:00
Patrik Oldsberg 0e068db972 run prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-07 23:37:48 +01:00
Fredrik Adelöw 347a50235a Merge pull request #4837 from backstage/freben/entity-404
Show a Not Found message when navigating to a nonexistent entity
2021-03-07 18:30:29 +01:00
Himanshu Mishra 29b64038e1 Scaffolder: Update CRA templater with new runDockerContainer format
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-06 21:27:00 +01:00
Himanshu Mishra 68575f3689 Update techdocs/scaffolder with new function parameters of runDockerContainer
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-06 21:27:00 +01:00
Himanshu Mishra a37a4d1a4c Scaffolder/Tests: Fix by mocking @backstage/backend-common
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-06 21:26:59 +01:00
Himanshu Mishra e9b7db7b29 backend-common: Add runDockerContainer shared by Scaffolder and TechDocs
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-06 21:26:59 +01:00
Fredrik Adelöw 0b42fff222 add parseLocationReference/stringifyLocationReference
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-06 15:46:44 +01:00
ebarrios e15f7a6464 Added missing row to variables
Signed-off-by: ebarrios <esteban.barrios@trivago.com>
2021-03-05 17:02:50 +01:00
ebarrios 8f72318fec Added lag column to the kafka plugin
Signed-off-by: ebarrios <esteban.barrios@trivago.com>
2021-03-05 16:54:13 +01:00
Dominik Henneke 173ed924b7 Include max-age=0
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-03-05 16:02:23 +01:00
Fredrik Adelöw 9f7dc10fbe Show a Not Found message when navigating to a nonexistent entity
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-05 15:55:04 +01:00
Fredrik Adelöw c9b5c1ecac Standardize the tool cards in explore some more
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-03-05 15:49:48 +01:00