renovate[bot]
e13cd3feaf
Update dependency msw to ^0.48.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com >
2022-11-09 10:15:16 +00:00
github-actions[bot]
b01fea7b8c
Version Packages (next)
2022-11-08 14:04:37 +00:00
Fredrik Adelöw
c8d74044ee
Merge pull request #14310 from cctechwiz/feature/add-topics-to-scaffolded-gitlab-repo
...
Adding optional string array of topics to publish gitlab action
2022-11-07 15:28:43 +01:00
Fredrik Adelöw
ffd94dc623
Merge pull request #14320 from TomBalt/feature/implementing-Branch-protection-rules-support-for-publish-github-action
...
Implement "Branch protection rules" support for "publish:github" action
2022-11-07 15:25:47 +01:00
Patrik Oldsberg
7605c11cda
bump Node.js to 16 & 18
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-11-07 11:39:08 +01:00
renovate[bot]
969a8444ea
Update dependency esbuild to ^0.15.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com >
2022-11-06 21:39:50 +00:00
github-actions[bot]
f1c3cdfb2d
Version Packages (next)
2022-10-31 16:19:04 +00:00
Johan Haals
834a7d906b
Merge pull request #14019 from Borchies/recover-gitlabid-template
...
chore(gitlab-mr-action): remove deprecation of projectid for template…
2022-10-28 13:45:22 +02:00
Josh Maxwell
0ea0d474f4
Moving topics into initial project creation rather than a secondary call
...
Signed-off-by: Josh Maxwell <jmaxwell@qualtrics.com >
2022-10-25 08:16:44 -06:00
github-actions[bot]
d4df1fbb2e
Version Packages (next)
2022-10-25 13:18:27 +00:00
Tomas Baltusis
9ff4ff3745
Implement "Branch protection rules" support for "publish:github" action
...
Signed-off-by: Tomas Baltusis <baltusis.t@gmail.com >
2022-10-25 15:50:07 +03:00
Fredrik Adelöw
7573b65232
get rid of circular imports
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-10-25 11:00:05 +02:00
Josh Maxwell
69a6e87b07
Adding API Report
...
Signed-off-by: Josh Maxwell <jmaxwell@qualtrics.com >
2022-10-24 23:29:20 -06:00
Josh Maxwell
8a77c639a1
Prettier -w
...
Signed-off-by: Josh Maxwell <jmaxwell@qualtrics.com >
2022-10-24 23:15:08 -06:00
Josh Maxwell
840ff77576
Checking for topics before trying to add them to Project
...
Signed-off-by: Josh Maxwell <jmaxwell@qualtrics.com >
2022-10-24 23:03:35 -06:00
Josh Maxwell
761a8aed66
Adding optional string array of topics to publish gitlab action
...
Signed-off-by: Josh Maxwell <jmaxwell@qualtrics.com >
2022-10-24 22:53:49 -06:00
Borchies
5921b5ce49
chore(gitlab-mr-action): remove deprecation of projectid for template action
...
* `projectid` is now passed through the query parameter `project` in the `repoUrl`. It still allows people to not use
the `projectid` and use the `repoUrl` with the `owner` and `repo` query parameters instead. This makes it easier
to publish to repositories instead of writing the full path to the project.
* Changed the `parseUrl` function so it uses a `switch-case` statement which makes the function more readable
than having several `if-else` statements.
* Created an auxiliary function called `checkRequiredParams`. The function checks if the required parameters
(given as arguments) are present in the URL.
* The function `parseUrl` uses `checkRequiredParams` to verify that all the required query parameters are present
in the repo's URL. This replaces the `if-else` mess with a `switch` statement for better readability.
* asserted the type of the constant `repo` to be a string to fix the following error:
TS2322 (`Type 'string | null' is not assignable to type 'string'`)
* added unit tests in `util.test.ts` for `parseRepoUrl` function
Signed-off-by: Borchies <borja.gonzalez@sinch.com >
2022-10-24 09:22:41 +02:00
Patrik Oldsberg
f0de00d4eb
Merge pull request #13815 from spencerrichardhenry/scaffolderPromMetrics
...
Add default prom metrics to scaffolder
2022-10-21 20:40:06 +02:00
Johan Haals
a7607b5413
backend-common: Deprecate read in favour of readUrl in UrlReader
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-10-20 15:01:49 +02:00
spencerrichardhenry
fc1edff210
Merge branch 'master' into scaffolderPromMetrics
...
Signed-off-by: spencerrichardhenry <46569542+spencerrichardhenry@users.noreply.github.com >
2022-10-19 13:38:32 -06:00
spencerrichardhenry
aff603e4bd
Update plugins/scaffolder-backend/src/scaffolder/tasks/NunjucksWorkflowRunner.ts
...
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com >
Signed-off-by: spencerrichardhenry <46569542+spencerrichardhenry@users.noreply.github.com >
2022-10-18 09:22:43 -06:00
github-actions[bot]
f0196a2f04
Version Packages
2022-10-18 09:55:10 +00:00
Patrik Oldsberg
b45518929a
scaffolder-backend: fix subscription leakage in task broker tests
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-10-17 16:25:07 +02:00
Spencer Henry
383dc6e2fa
address mr comments
...
Signed-off-by: Spencer Henry <shenry@qualtrics.com >
2022-10-12 09:17:27 -06:00
github-actions[bot]
9282c018c7
Version Packages (next)
2022-10-11 14:30:05 +00:00
Spencer Henry
1a9d19dc6d
linting fixes
...
Signed-off-by: Spencer Henry <shenry@qualtrics.com >
2022-10-10 09:54:32 -06:00
Spencer Henry
1d4a87eea4
condense metrics and use a result label
...
Signed-off-by: Spencer Henry <shenry@qualtrics.com >
2022-10-10 09:34:34 -06:00
Johan Haals
c2c7f89fca
Merge pull request #14007 from gavlyukovskiy/gitlab-sourcepath
...
Added sourcePath to 'publish:gitlab:merge-request' action.
2022-10-06 16:18:52 +02:00
Arthur Gavlyukovskiy
55fb088922
Updated api-report
...
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com >
2022-10-06 15:21:19 +02:00
Arthur Gavlyukovskiy
944cc70a6f
Update types on the action
...
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com >
2022-10-06 15:04:01 +02:00
Arthur Gavlyukovskiy
3297aa65d3
Update plugins/scaffolder-backend/api-report.md
...
Co-authored-by: Johan Haals <johan@haals.se >
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com >
2022-10-06 14:49:10 +02:00
Arthur Gavlyukovskiy
e77616e880
Update plugins/scaffolder-backend/api-report.md
...
Co-authored-by: Johan Haals <johan@haals.se >
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com >
2022-10-06 14:49:04 +02:00
Fredrik Adelöw
56ea7edf63
Merge pull request #14001 from martincostello/gh-scaffolder-allow-configuring-strict-for-status-checks
...
feat: Allow configuring branch up-to-date-ness
2022-10-06 14:15:22 +02:00
Arthur Gavlyukovskiy
4880d43e25
Fixed setting default branch for bitbucket server.
...
The main problem comes from `outputs.repoContentsUrl` that does not have reference to a branch, so that subsequent `catalog:register` action fails.
Bitbucket Cloud does not support setting default branch from REST API, but since the first pushed branch becomes default branch it works with current approach.
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com >
2022-10-05 23:44:24 +02:00
Arthur Gavlyukovskiy
a8e9848479
Added sourcePath to 'publish:gitlab:merge-request' action.
...
Made both `sourcePath` and `targetPath` optional with fallback to `workspacePath`.
Because currently `targetPath` serves as both source and target, falling back to `targetPath` if `sourcePath` is not specified.
Also removed `draft` option from tests, because it's not supported in gitlab (probably copied from github tests).
Signed-off-by: Arthur Gavlyukovskiy <agavlyukovskiy@gmail.com >
2022-10-05 22:26:10 +02:00
martincostello
17ff77154c
feat: Allow configuring branch up-to-date-ness
...
Allow users to configure whether GitHub branches from pull requests are required to be up to date when merging when configuring branch protections.
Signed-off-by: martincostello <martin@martincostello.com >
2022-10-05 13:55:53 +01:00
github-actions[bot]
721c1efdb4
Version Packages (next)
2022-10-04 12:08:16 +00:00
Patrik Oldsberg
a35a27df70
backend-plugin-api: update module ID format
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-10-04 00:31:25 +02:00
bnechyporenko
f3a79e851e
Switching off duplicated timestamp
...
Signed-off-by: bnechyporenko <bnechyporenko@bol.com >
2022-09-30 22:41:56 +02:00
Spencer Henry
a92cbc2668
add carat to package.json
...
Signed-off-by: Spencer Henry <shenry@qualtrics.com >
2022-09-27 08:12:00 -06:00
github-actions[bot]
4e94720142
Version Packages (next)
2022-09-27 10:57:53 +00:00
Patrik Oldsberg
c3e68fe249
Merge pull request #13704 from RoadieHQ/scaffolder/configure-globals-on-nunjucks
...
make nunjucks' globals configureable
2022-09-27 12:49:32 +02:00
Kiss Miklos
074def89aa
stringify globals
...
Signed-off-by: Kiss Miklos <miklos@roadie.io >
2022-09-27 12:03:07 +02:00
Fredrik Adelöw
16586e4cd6
Merge pull request #13841 from iress-willygo/gh_allow_auto_merge
...
Add `allowAutoMerge` option for `publish:github` action
2022-09-27 11:36:31 +02:00
Patrik Oldsberg
4acad115c1
Update plugins/scaffolder-backend/src/service/router.ts
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-09-26 19:33:43 +02:00
Kiss Miklos
42a7e89b06
add test for global addition
...
Signed-off-by: Kiss Miklos <miklos@roadie.io >
2022-09-26 11:40:18 +02:00
Kiss Miklos
12e7d7d535
api-report all
...
Signed-off-by: Kiss Miklos <miklos@roadie.io >
2022-09-26 11:03:31 +02:00
Willy Go
546ad799c4
Update generated api-report.md
...
Signed-off-by: Willy Go <willy.go@iress.com >
2022-09-26 16:32:31 +10:00
Willy Go
72df5f8c51
Add missing semicolon
...
Signed-off-by: Willy Go <willy.go@iress.com >
2022-09-26 16:04:57 +10:00
Willy Go
304305dd20
Add allowAutoMerge option for publish:github action
...
This option allows individual PRs to merge automatically when all merge requirements are met.
For more information, see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request
Signed-off-by: Willy Go <willy.go@iress.com >
2022-09-26 15:32:32 +10:00