Commit Graph

21586 Commits

Author SHA1 Message Date
mufaddal motiwala dfbd30a14c md quality workflow check
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
2022-01-19 13:02:58 +05:30
mufaddal motiwala afe1bd78d2 add changeset
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
2022-01-19 12:53:02 +05:30
mufaddal motiwala 69883ebcc0 render single page dashboards
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
2022-01-19 12:50:30 +05:30
Fredrik Adelöw ec60bc64a9 Merge pull request #9017 from backstage/dependabot/npm_and_yarn/types/dockerode-3.3.1
chore(deps): bump @types/dockerode from 3.3.0 to 3.3.1
2022-01-19 06:35:05 +01:00
Fredrik Adelöw 3259b08078 Merge pull request #9019 from backstage/dependabot/npm_and_yarn/acuris/aws-es-connection-2.3.0
chore(deps): bump @acuris/aws-es-connection from 2.2.0 to 2.3.0
2022-01-19 06:33:36 +01:00
Fredrik Adelöw bb8773073d Merge pull request #9020 from backstage/dependabot/npm_and_yarn/testcontainers-8.2.0
chore(deps): bump testcontainers from 8.1.2 to 8.2.0
2022-01-19 06:32:40 +01:00
Fredrik Adelöw c67b1bdb03 Merge pull request #9021 from backstage/dependabot/npm_and_yarn/types/nunjucks-3.2.1
chore(deps-dev): bump @types/nunjucks from 3.2.0 to 3.2.1
2022-01-19 06:31:52 +01:00
dependabot[bot] 6da99cedf6 chore(deps-dev): bump @types/nunjucks from 3.2.0 to 3.2.1
Bumps [@types/nunjucks](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nunjucks) from 3.2.0 to 3.2.1.
- [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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:39:25 +00:00
dependabot[bot] 8a47851284 chore(deps): bump testcontainers from 8.1.2 to 8.2.0
Bumps [testcontainers](https://github.com/testcontainers/testcontainers-node) from 8.1.2 to 8.2.0.
- [Release notes](https://github.com/testcontainers/testcontainers-node/releases)
- [Commits](https://github.com/testcontainers/testcontainers-node/compare/v8.1.2...v8.2.0)

---
updated-dependencies:
- dependency-name: testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:37:39 +00:00
dependabot[bot] b9084ed6fe chore(deps): bump @acuris/aws-es-connection from 2.2.0 to 2.3.0
Bumps [@acuris/aws-es-connection](https://github.com/mergermarket/acuris-aws-es-connection) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/mergermarket/acuris-aws-es-connection/releases)
- [Commits](https://github.com/mergermarket/acuris-aws-es-connection/commits)

---
updated-dependencies:
- dependency-name: "@acuris/aws-es-connection"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:35:47 +00:00
dependabot[bot] ee083012f9 chore(deps): bump @types/dockerode from 3.3.0 to 3.3.1
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 04:17:53 +00:00
Ben Lambert d5f2f907a7 Merge pull request #9012 from backstage/blam/goalie-workflows
Use PR target for higher permissions
2022-01-18 22:25:06 +01:00
blam 0c3641fc84 chore: added a noite around the repo token
Signed-off-by: blam <ben@blam.sh>
2022-01-18 22:10:56 +01:00
Patrik Oldsberg 77416d04f7 Merge pull request #9011 from backstage/rugvip/capd
create-app: switch peer dep range to empty
2022-01-18 21:55:10 +01:00
blam e2a8331c60 chore: use GITHUB_TOKEN
Signed-off-by: blam <ben@blam.sh>
2022-01-18 21:46:43 +01:00
blam 2c2695cc1a chore: some small changes to try and get the workflow running properly
Signed-off-by: blam <ben@blam.sh>
2022-01-18 21:45:19 +01:00
Patrik Oldsberg 5324ccaa8e create-app: switch peer dep range to empty
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-18 19:10:00 +01:00
Fredrik Adelöw 5387ea8f0d Merge pull request #9007 from backstage/blam/goalie-workflows
chore: split the goalie workflows for permissions
2022-01-18 18:54:46 +01:00
Patrik Oldsberg a724d38208 Merge pull request #9000 from backstage/rugvip/noignore
remove usage of @ts-ignore
2022-01-18 18:46:28 +01:00
Joe Porpeglia ffa0ecfac4 Remove unused dependency
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 597f7a604d Update changeset
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia ca2ee182c3 Add changeset
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia f911a60baf Update api-report
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia cd3c5b132e Update package exports to align with ADR004
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia ccaa50511f Make getCacheKey sync
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 63e8b8605e Disable catalog permission middleware unless permission.enabled = true
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 17ebcb09cd Refactor router tests
Adds a `createApp` helper instead of creating the express app in `beforeEach`. This allows tests to mock behavior of router creation, like toggling certain middleware based on config values.

Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia f1918143e5 Compute cache keys from tokens instead of user entity refs
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia e9857d0b82 Remove 403 handling logic
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia d9afa2e882 Add tests to verify /static/docs behavior
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia c2f54048d1 Use catalog: prefix for catalog entity cache
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 413c9fab08 Cancel cache read if it takes too long
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia f5598677bf Set cache value asynchronously
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 45f37c9835 Use CachedEntityLoader in techdocs router
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia 7dcc6b1fe6 Add CachedEntityLoader for techdocs
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2022-01-18 12:43:35 -05:00
Joe Porpeglia b76fec242d Verify access to related catalog entities for all techdocs api routes
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
Co-authored-by: Nataliya Issayeva <nissayeva@users.noreply.github.com>
2022-01-18 12:43:35 -05:00
blam ec33c21c9d chore: make the workflows pretty
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:33:21 +01:00
blam 0163fb056f chore: run the goalie Workflow
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:31:19 +01:00
blam c6946dedbe chore: missed the Codeowners
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:24:29 +01:00
blam e23c2463d5 chore: move out script into one file instead because args were too long
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:22:44 +01:00
blam 5cefc14d51 chore: more comment removal?
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:11:08 +01:00
blam 1129e3d1bc chore: remove some comments and maybe it works?
Signed-off-by: blam <ben@blam.sh>
2022-01-18 18:07:28 +01:00
blam 557ad7e462 feat: split out the workflow to run for each open PR
signed-off-by: blam <ben@blam.sh>
2022-01-18 18:04:46 +01:00
blam 65b0d1b3fd chore: dont destructure
Signed-off-by: blam <ben@blam.sh>
2022-01-18 17:45:03 +01:00
blam f2bb24298f chore: added some debug logging
Signed-off-by: blam <ben@blam.sh>
2022-01-18 17:43:40 +01:00
blam c732188aee chore: goalie cron
Signed-off-by: blam <ben@blam.sh>
2022-01-18 17:42:14 +01:00
blam f38b57fcf7 chore: run every minute
Signed-off-by: blam <ben@blam.sh>
2022-01-18 17:38:06 +01:00
blam 196e572e98 chore: rename the workflow so it runs
Signed-off-by: blam <ben@blam.sh>
2022-01-18 17:35:50 +01:00
blam 9af839d296 chore: split the workflows
Signed-off-by: blam <ben@blam.sh>
2022-01-18 17:33:48 +01:00
Joon Park 6680853e0c Export conditional permission policy helpers from catalog-backend (#8966)
* Export conditional permission policy helpers from catalog-backend

Signed-off-by: Joon Park <joonp@spotify.com>

* Rename exports to include 'catalog'

Signed-off-by: Joon Park <joonp@spotify.com>

* Minor comment edits

Co-authored-by: MT Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Joon Park <joonp@spotify.com>

Co-authored-by: MT Lewis <mtlewis@users.noreply.github.com>
2022-01-18 16:04:57 +00:00