58 Commits

Author SHA1 Message Date
Robin Gileborg 241d359913 Bitbucket username should not be treated as a secret
Signed-off-by: Robin Gileborg <robin@gileborg.com>
2026-05-26 13:19:08 +02:00
James Brooks d73ac23f1e Merge branch 'master' into visibility 2026-03-02 19:08:00 +00:00
James Brooks 993a59840b Update Azure integration config visibility
Signed-off-by: James Brooks <jamesbrooks@spotify.com>
2026-03-02 15:02:39 +00:00
Andre Wanlin 527cf88a90 Integration - Removed long deprecated code
Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Fixed lock file

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Improve changesets

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Removed link

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Update .changeset/sharp-ravens-shop.md

Co-authored-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>

Update .changeset/six-trees-carry.md

Co-authored-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>

Update .changeset/tiny-zoos-smash.md

Co-authored-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>

Corrected gerrit changes based on feedback

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Updated API report

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Fixed some tests

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Fixed test

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Fixed another test

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Removed parseGerritGitilesUrl

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Table clean up

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Remove from changeset

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Changes based on feedback

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-02-27 12:50:00 -06:00
Johannes Will d933f6257f feat: use gitlab integration with throttled fetch
Signed-off-by: Johannes Will <17289602+JohannesWill@users.noreply.github.com>
2026-02-16 16:14:22 +01:00
Jake Smith 959e6ecc5a Add Bitbucket Cloud OAuth support
Signed-off-by: Jake Smith <jakemgsmith@gmail.com>
2025-12-16 10:20:57 +01:00
benjdlambert f2b7585824 feat: support marking a github app as a public token generator
Signed-off-by: benjdlambert <ben@blam.sh>
2025-12-11 09:33:46 +01:00
Andre Wanlin fa255f530a Bitbucket Cloud - API Token Support
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-11-17 12:49:43 -06:00
vickstrom d772b516cd remove host from azure blog storage integration type
Signed-off-by: vickstrom <eric.vickstrom98@gmail.com>
2025-09-22 10:36:04 +02:00
Jonathan Roebuck be0a22d4f2 add visibility annotations
Signed-off-by: Jonathan Roebuck <jroebuck@spotify.com>
2025-09-19 09:27:31 +01:00
Jonathan Roebuck 84443f16bc Adds config definitions for Azure Blob Storage in integration and catalog provider
Signed-off-by: Jonathan Roebuck <jroebuck@spotify.com>
2025-09-18 13:46:31 +01:00
Fredrik Adelöw 9e6af578c0 Merge pull request #28437 from sanderaernouts/users/saernouts/client-assertion-credential
Added support for federated credentials using a managed identity (to generate the client assertion)
2025-05-08 17:00:58 +02:00
Andre Wanlin 145d4c5ad3 Merge pull request #28543 from leboncoin/feat-integration-gerrit-edit-mode
feat(integration): add edit url mode for Gerrit integration
2025-05-02 13:52:45 -05:00
Andy Ladjadj 221474c980 docs: update packages/integration/config.d.ts
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Signed-off-by: Andy Ladjadj <andy.ladjadj@adevinta.com>
2025-04-28 11:01:21 +02:00
Andre Wanlin f3381d330e integration - Added missing organizations property to azure section
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2025-04-19 18:26:34 -05:00
Andy LADJADJ 74c924dcfb Merge branch 'master' into feat-integration-gerrit-edit-mode 2025-04-11 17:07:09 +02:00
djamaile 9768992a4e fix: mark github webhookSecret as optional
Signed-off-by: djamaile <rdjamaile@gmail.com>
2025-03-26 11:22:53 +01:00
Andy LADJADJ f687ad4cbd chore: update config definition
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
2025-03-24 16:41:28 +01:00
Sander Aernouts d945206377 feat(azure): support managed identity federated credentials
Signed-off-by: Sander Aernouts <sander.aernouts@gmail.com>
2025-03-24 14:42:04 +01:00
Hellgren Heikki 4f026fc038 fix: make signing key configs secret
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
2025-03-11 10:06:21 +02:00
Heikki Hellgren 4f8b5b66a1 feat: allow signing git commits from scaffolder
adds support to sign git commits with configured PGP key in scaffolder
actions. configuration can be done either by integration or by using the
default signing key in the scaffolder config. note that this
pgp-plugin is used for signing and that it is limited to using RSA keys
and signatures made with SHA1 hashing algorithm.

this change does not support github commit signing as it cannot be done
the same way due to GitHub app and REST API being used.

closes #25934

refers to #26333

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2025-03-11 09:31:54 +02:00
Andy LADJADJ f134cea34c feat(integration): add Gerrit option to activate the edit mode
Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
2025-01-17 16:30:44 +01:00
Niklas Aronsson 662dce80fe feat(gerrit): make the gitilesBaseUrl config mandatory
Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2024-06-11 15:08:21 +02:00
Calvin Lee 1cfa4aa35e integration support for harness p5-fixed lint
Signed-off-by: Calvin Lee <cjlee@ualberta.ca>
2024-04-29 13:30:23 -06:00
Calvin Lee 2cc750d367 feat: integration support for harness
Signed-off-by: Calvin Lee <cjlee@ualberta.ca>
2024-04-29 13:29:55 -06:00
Fredrik Adelöw 3963d0b885 Ensure that all relevant config fields are properly marked as secret
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-09-20 15:07:18 +02:00
Sander Aernouts 5f1a92b9f1 feature(azure devops): support multiple organisations
Signed-off-by: Sander Aernouts <sander.aernouts@gmail.com>
2023-08-18 16:27:00 +02:00
Patrik Oldsberg 34b039ca9f integrations: add allowedInstallationOwners to config schema
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-17 13:33:45 +01:00
Pedro Cardona d05e1841ce Adds gitea to supported set of SCM integrations
Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

GiteaUrlReader readUrl implementation.
Currently relies on content being base64 encoded

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Prettify changed files

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Changeset for gitea integration

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Include gitea in Vale vocabulary, run Lint / Prettier

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Update api-reports

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Lint packages/integration/*
Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>

Fix getGiteaFileContentsUrl, split changesets

The previous file contents url code was missing a segment, (/branch), and was causing the loader to 404. (The intended functionality is to use the same URL you would use to view the file in gitea)
Changesets for the integration and backend-common packages were split
This commit also adds documentation relevant to the gitea integration

Signed-off-by: Pedro Cardona
<1724279+atoko@users.noreply.github.com>
Signed-off-by: Pedro Cardona <1724279+atoko@users.noreply.github.com>
2022-10-23 20:56:56 -04:00
Patrick Jungermann a6d779d58a chore: remove explicit default visibility at config.d.ts files
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-10-20 00:18:44 +02:00
Patrick Jungermann 593dea6710 feat: support Basic Auth for Bitbucket Server
Closes: #12586
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-07-25 15:53:30 +02:00
Patrick Jungermann 8829e175f2 fix: allow frontend visibility for integrations itself
Currently, `integrations` is retrieved at catalog-import to check
configured integrations.

This could fail if there was no config below `integrations` which has `@visibility frontend`.

This happened if no integration or only non-Github integrations without
frontend visible properties like `integrations.bitbucketCloud` are used.

After this change, at least `integrations` will always be visible to the frontend.

Closes: #11700
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-06-15 13:17:20 +02:00
Niklas Aronsson 6673babab9 GerritUrlReader: Implemented "readTree"
"readTree" has been implemented for the "GerritUrlReader". Gerrit have
a REST API's to download repo contents but there are a number of
limitations that makes it unusable.

This implementation works as follows:
* The project and branch is parsed from the url.
* The current revision is fetched from the Gerrit REST API.
* The revision string is used as "etag".
* If the etag has changed a temporary directory is created.
* The project is cloned to the temporary directory.
* The cloned content is read into a "Readable Stream".
* The temporary directory is removed.
* "readTree" returns a response using "fromTarArchive" as read from the
  temporary directory.

Also added an option to specify the base "cloneUrl" has been added to the
gerrit integration config.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-04-22 14:52:02 +02:00
Patrick Jungermann 1b4e1e2306 feat: split integrations.bitbucket -> bitbucketCloud / bitbucketServer
Split `integrations.bitbucket` into `integrations.bitbucketCloud`
and `integrations.bitbucketServer`
while staying backwards compatible for now
(== `BitbucketIntegration` loads from the new configs, too, if the old is not used).

Relates-to: #9923
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-04-19 19:20:55 +02:00
Iain Billett 1e10a3f9ef Merge remote-tracking branch 'upstream/master' into add-external-id-to-s3-integration 2022-03-15 16:57:27 +00:00
Niklas Aronsson 0885854ff3 Fixed review comments
* Rename "apiBaseUrl" to the more suitable "baseUrl".
* Removed the Gerrit location doc (will be added later together
  with the "urlReader" implementation.
* Fixed the line number handling in Gerrit/resolveUrl.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-14 10:34:53 +01:00
Niklas Aronsson b0c0fccacf Gerrit config: Make the apiBaseUrl optional
If the apiBaseUrl is not set assume that the gerrit instance
uses https and can be reached on the address specified by the
"host" option.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-11 13:35:23 +01:00
Iain Billett a8c5f1a08f Add an optional external Id field
Signed-off-by: Iain Billett <iain@roadie.io>
2022-03-10 14:41:07 +00:00
Niklas Aronsson 403837cbac Added a ScmIntegration for Gerrit
A new ScmIntegration has been added for reading entities from
gits hosted by Gerrit. The UrlReader implementation will be done
in an upcoming patch.

The Gerrit configuration supports the following values:

* host (required) : The host of the gerrit instance to use.
* apiBaseUrl (required): The base url of the gerrit api.
* username (optional): The username to use during authentication.
* password (optional): The password or http token to use for
  authentication.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-03-08 10:13:09 +01:00
Leon Stein 60dee60d9b update config schema
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 10:29:53 -05:00
Leon Stein bc78cc3dca use endpoint/s3ForcePathStyle instead of validateHost/ssl per PR feedback
Signed-off-by: Leon Stein <leons727@gmail.com>
2021-12-28 10:24:12 -05:00
Sean Tan e11fcbc74e Remove extra comment line and regenerate yarn.lock file
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 9d5738b3f5 Fix format errors and other small changes per suggestion
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 2d7bf1c6b0 Add roleArn to AwsS3IntegrationConfig
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Kiera Jost da3fcac9f4 Fix typo in integration config awsS3 'accesKeyId'
Signed-off-by: Kiera Jost <kjost@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan 2e5e2decc7 Make change to AwsS3 Integration to support list
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Sean Tan b8cb120092 Started changes from suggestions made on recent PR.
Signed-off-by: Sean Tan <seant@splunk.com>
2021-08-12 10:05:02 -07:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
blam 50b9eba922 chore: update the github app id config schema
Signed-off-by: blam <ben@blam.sh>
2021-06-01 14:23:07 +02:00
Martina Iglesias Fernandez 6a9b9d0f7c Fix some comments
Signed-off-by: Martina Iglesias Fernandez <martina@roadie.io>
2021-04-07 11:27:41 +02:00