Commit Graph

15157 Commits

Author SHA1 Message Date
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
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
Camila Belo b1dab7a8ca Merge pull request #6405 from backstage/mob/docs-storage-case-migration
[TechDocs] Provide a migration path from case-sensitive to lower-case entity triplets in docs storage
2021-07-14 15:16:13 +02:00
chicoribas c87f271a52 Code Review
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-14 09:23:55 -03:00
Camila Belo 3b3729f299 Throws an error when there is no triplet
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-07-14 14:05:16 +02:00
Ben Lambert 7d24056d83 Merge pull request #6470 from backstage/imgbot
[ImgBot] Optimize images
2021-07-14 13:45:13 +02: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
Ben Lambert 5238afea67 Merge pull request #6465 from RoadieHQ/wait-for-unsubscribe
Wait for unsubscribe
2021-07-14 10:35:40 +02:00
Ben Lambert 8c28172021 Merge pull request #6461 from backstage/dependabot/npm_and_yarn/jest-when-3.3.1
chore(deps-dev): bump jest-when from 3.1.0 to 3.3.1
2021-07-14 10:17:02 +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 e75506fe71 adds changeset file
Signed-off-by: Brian Fletcher <brian@roadie.io>
2021-07-14 09:12:56 +01: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
dependabot[bot] 095a2a686c chore(deps-dev): bump jest-when from 3.1.0 to 3.3.1
Bumps [jest-when](https://github.com/timkindberg/jest-when) from 3.1.0 to 3.3.1.
- [Release notes](https://github.com/timkindberg/jest-when/releases)
- [Commits](https://github.com/timkindberg/jest-when/compare/v3.1.0...v3.3.1)

---
updated-dependencies:
- dependency-name: jest-when
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 04:13:44 +00:00
Chase Rutherford-Jenkins 474cb76c88 Merge pull request #6459 from backstage/chaseajen/pagerduty-docs
update plugin docs to match PagerDuty guide
2021-07-13 17:51:44 -07:00
chicoribas 6b23a6052f Prettier
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 21:23:02 -03:00
Chase Rutherford-Jenkins 842b62d2c6 update plugin docs to match PagerDuty guide
Signed-off-by: Chase Rutherford-Jenkins <chaseajen@users.noreply.github.com>
2021-07-13 16:27:35 -07:00