Commit Graph

6213 Commits

Author SHA1 Message Date
Ben Lambert a115da0395 Merge pull request #6466 from ONordander/feature/bitbucket-default-catalog-value
Feature/bitbucket default catalog value
2021-07-15 10:40:06 +02:00
Eric Peterson 54c25db339 Merge pull request #6071 from andrewthauer/techdocs-custom-docker
feat(techdocs-common): add custom docker image support
2021-07-15 10:39:14 +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
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
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
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 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 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 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 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 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 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
Andrew Shirley e3675685a2 create a single DefaultJenkinsProvider
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 449b995261 Initial work on jenkins backend
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
Ben Lambert 12a62ea5f6 Merge pull request #6423 from chicoribas/Mask-or-hide-values-on-Scaffolder-Review-Step
Mask or hide values on scaffolder review step
2021-07-14 18:25:03 +02:00
Eric Peterson 7703516ad8 Merge pull request #6355 from adrianke77/techdocs-sidebars-not-adjusting-position
TechDocs: Sidebars not adjusting positions
2021-07-14 17:43:31 +02:00
chicoribas c87f271a52 Code Review
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-14 09:23:55 -03:00
ImgBotApp 3bc8d970db [ImgBot] Optimize images
*Total -- 732.21kb -> 518.42kb (29.2%)

/plugins/xcmetrics/docs/XCMetrics-overview.png -- 622.35kb -> 411.64kb (33.86%)
/plugins/pagerduty/doc/pd1.png -- 24.71kb -> 23.19kb (6.13%)
/microsite/static/img/rails-icon.png -- 5.31kb -> 5.09kb (4.1%)
/plugins/pagerduty/doc/pd4.png -- 24.48kb -> 23.50kb (4.02%)
/plugins/pagerduty/doc/pd3.png -- 48.75kb -> 48.38kb (0.75%)
/microsite/static/img/backstage-software-catalog.svg -- 1.32kb -> 1.32kb (0.29%)
/microsite/static/img/backstage-techdocs.svg -- 0.93kb -> 0.93kb (0.1%)
/microsite/static/img/backstage-k8s.svg -- 2.17kb -> 2.17kb (0.04%)
/microsite/static/img/backstage-software-templates.svg -- 2.19kb -> 2.19kb (0.04%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-07-14 10:36:19 +00:00
Ben Lambert 1020341712 Merge pull request #6339 from ngranander/xcmetrics-dashboard-mvp
Add XCMetrics Plugin
2021-07-14 12:13:47 +02:00
Niklas Granander e63a9a07e8 Fix wrong file name in readme and remove unnecessary type parameter
Signed-off-by: Niklas Granander <ngranander@spotify.com>
2021-07-14 11:55:57 +02:00
Dominik Henneke 078d4973e3 Handle request errors properly and display them in the results list.
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-07-14 10:51:33 +02:00
Niklas Granander 189b84ad9d Bump dependencies
Signed-off-by: Niklas Granander <ngranander@spotify.com>
2021-07-14 10:16:37 +02:00
Brian Fletcher 11b07616fa wait until response is flushed before unsubscribing from broker
I am not sure why this works, but it seems to. I have been trying to
enable the scaffolder and found that when I view a task in progress or
complete that the task just sits with the text "Waiting for logs...".

This is a hunch.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-07-14 09:09:58 +01:00
Niklas Granander c24c29fdba Update API report to new format
Signed-off-by: Niklas Granander <ngranander@spotify.com>
2021-07-14 10:03:55 +02:00
Niklas Granander 37861100e5 Merge branch 'master' into xcmetrics-dashboard-mvp 2021-07-14 10:00:12 +02:00