Commit Graph

15197 Commits

Author SHA1 Message Date
Himanshu Mishra 2cd8aadc84 Merge pull request #6481 from backstage/dependabot/npm_and_yarn/types/express-serve-static-core-4.17.24
chore(deps-dev): bump @types/express-serve-static-core from 4.17.21 to 4.17.24
2021-07-15 10:07:36 +02:00
Himanshu Mishra d37cd6b634 Merge pull request #6482 from backstage/dependabot/npm_and_yarn/types/nunjucks-3.1.5
chore(deps-dev): bump @types/nunjucks from 3.1.4 to 3.1.5
2021-07-15 10:06:35 +02:00
Eric Peterson 855c9d8341 Merge pull request #6454 from kuangp/fix/techdocs
fix(techdocs): fetch entity relations field to determine owned docs
2021-07-15 09:22:29 +02:00
dependabot[bot] 84a42f0553 chore(deps-dev): bump @types/nunjucks from 3.1.4 to 3.1.5
Bumps [@types/nunjucks](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/nunjucks) from 3.1.4 to 3.1.5.
- [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>
2021-07-15 04:17:33 +00:00
dependabot[bot] d6d9b64b7b chore(deps-dev): bump @types/express-serve-static-core
Bumps [@types/express-serve-static-core](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express-serve-static-core) from 4.17.21 to 4.17.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express-serve-static-core)

---
updated-dependencies:
- dependency-name: "@types/express-serve-static-core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 04:14:26 +00:00
Patrik Oldsberg 934459d7d6 Merge pull request #6472 from backstage/rugvip/api-warnings
api-extractor: enable warnings in API reports
2021-07-15 02:30:31 +02:00
Patrik Oldsberg d9ce823b00 packages: regenerate all API reports with warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-15 02:05:46 +02:00
Patrik Oldsberg d669e75d95 scripts/api-extractor: enable warnings in API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-15 01:06:55 +02:00
Tim Hansen e1f734576c Merge pull request #6474 from fgascon/adopter-mavtek
Add MavTek to the adopters list
2021-07-14 16:59:22 -06:00
Eric Peterson 851a02ff23 Merge pull request #6467 from SDA-SE/feat/search-catch-error 2021-07-14 23:33:52 +02:00
Eric Peterson ef4a4cdefd Merge pull request #6341 from SDA-SE/feat/techdocs-build-logs 2021-07-14 23:30:15 +02:00
Ben Lambert 81a6c95b0a Merge pull request #5642 from ashirley/jenkinsBackend 2021-07-14 22:39:44 +02:00
blam cd43895668 chore: make the api-docs pretty again
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:01 +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 37d0143e72 Bump versions to match other plugins
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 051c3b2c0c Remove useless TODO
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 b240ef73e2 Parse as much of the config as possible at start time.
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 b56de23876 No need for changeset for new plugin
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 5a3bd232a2 Better organise exports
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 5b5d381947 Apply port update from #6032
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 41dab29598 Remove DummyJenkinsInfoProvider
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 17b493a3a5 Use res.json not res.send
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 0581c1f554 Use a specific type for headers
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 a1675b47a9 Tweak changeset documentation
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 2b0eb29bf9 Spelling
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 7991581e62 Use correct annotation name
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 9c1a673cfa Capitalise 'Jenkins'
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 217231596a Remove unneeded decodeURIComponent
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 d5cd58725e Add tests for BuildProject and remove skipped ones
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 6c7f00eb02 Add changesets
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 fef7cd6cad Extract Jenkins logic from router and test
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 8e9f167582 Add jenkinsInfoProvider tests (and fix bug :-) )
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 b470921b08 Remove duplicate copyright
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 8c1812de5f Add config schema
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 66ebdb34d1 Update site documentation
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
Andrew Shirley 64b279a55b Move typings to devDependency
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:00 +02:00
Andrew Shirley e5f69b082d Tidy documentation
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:00 +02:00
Andrew Shirley edc019d003 Use DefaultJenkinsInfoProvider
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:00 +02:00
Andrew Shirley a6f65b728f Make plugin-jenkins-backend public
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:00 +02:00
Andrew Shirley af604845bb Remove some ts-ignores
Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
2021-07-14 20:46:00 +02:00