Commit Graph

50921 Commits

Author SHA1 Message Date
cmoulliard 73295aa0df Change the request to test if the URL is reposning after the repo has been created. We dont get anymore Error: Unknown encoding: undefined during register action step
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 2b2fdccaa6 Fixing the issue about the branch name not included to the url converted. Wrong: "https://localhost:3333/api/v1/repos/org1/repo1/contents/?ref=catalog-info.yaml" and good: "https://localhost:3333/api/v1/repos/org1/repo1/contents/catalog-info.yaml?ref=maincatalog-info.yaml"
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard a72521bae8 Adding a new test case covering the url we are looking for when we register a new entry to the catalog using the action. Removing the gerrit stuff
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 82ae17b19c Use the proper repoContentsUrl to access gitea repo and enhance the test case
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 1a49b1d137 Added a TODO task as the code using while condition is failing like a mention to pass the branch name to the catalogInfoPath
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 39bc3d0d7d Updated the instructions to use the publish:gitea action
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 458bf21b7f Added a new changeSet
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 8a88e91817 Switched the sleep 3s to a while condition to check if we got from the repository created the metadata
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard ca0ac99493 Add a sleep of 2s to let the step to register the newly catalog created from the gitea server
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 17235fcaec Removing the non needed import for logger
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 701eefc71e Switched the logic to create a repository using api/v1/orgs/OWNER/repos. Adapt the test case to check if there is an org too
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 3a40f3c5df Removing owner as non needed
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 3bff96fc38 Fixing matching condition
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 31e0e51bb9 Fix url typo error: ../repo => ../repos
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 38ebfd1980 Remove non needed declarations
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 331c4c242a Try catch the method calling fetch
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 1c91c52a09 Updating the test case to create a git repo
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 51fec95f33 Add test to valid the baseURL
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 07bd2fbeb4 Rename token to Token
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 3e20f53e49 Rename basic to Basic
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
Charles Moulliard 90836c82e4 Update plugins/scaffolder-backend-module-gitea/src/actions/gitea.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Charles Moulliard <cmoulliard@redhat.com>
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 11d697be77 Updating the api-report.md file
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 827d88fce1 Removing the CHANGELOG.md file as the releasing flow will create it
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 4d2c01bfbf Changing the version from 0.1.0-next.0 to 0.0.0
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard a37b65c79e Reverted name cgange from gitea.tst to example.ts, example.test.ts
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard f8afc5c059 Align default branch name. master -> main
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard f1645f3e0a Register the missing gitea action to publish
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:43 +01:00
cmoulliard b2953bd108 Update package.json to add gitea module
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:43 +01:00
cmoulliard bb0b6568af Registering new publish gitea action within createBuiltinActions.ts
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:43 +01:00
cmoulliard 49d4e7617f Import mising package to create the setupServer. Update yarn.locl and package.json
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:43 +01:00
cmoulliard f6426a32f9 WIP. Create action to publish on gitea server
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:43 +01:00
cmoulliard 211ec25212 New plugin to publish a git repository on gitea
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:43 +01:00
Fredrik Adelöw a5e494cbaf Merge pull request #22961 from swnia/patch-2
Update resource type list
2024-02-16 11:48:59 +01:00
Fredrik Adelöw 16946a35c5 Merge pull request #23011 from backstage/freben/limiter
add cmd limiter to the repo tools
2024-02-16 11:45:47 +01:00
Ben Lambert 69064659de Merge pull request #22967 from johanneswuerbach/scaffolder-github-oidc-customization
feat(scaffolder-backend-module-github): support oidc customization
2024-02-16 11:43:36 +01:00
Fredrik Adelöw 95ecfee1b2 Merge pull request #22990 from backstage/renovate/typescript-json-schema-0.x
fix(deps): update dependency typescript-json-schema to ^0.63.0
2024-02-16 11:42:33 +01:00
Fredrik Adelöw 06cd9fe35f Merge pull request #22983 from backstage/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.24.3
2024-02-16 11:40:35 +01:00
backstage-goalie[bot] 562b7691cc Merge pull request #23012 from backstage/renovate/swagger-ui-react-5.x-lockfile
fix(deps): update dependency swagger-ui-react to v5.11.7
2024-02-16 10:38:25 +00:00
backstage-goalie[bot] d3d947b14d Merge pull request #23005 from backstage/renovate/swr-2.x-lockfile
chore(deps): update dependency swr to v2.2.5
2024-02-16 10:23:35 +00:00
renovate[bot] 7cac636c92 fix(deps): update dependency swagger-ui-react to v5.11.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 10:11:37 +00:00
Fredrik Adelöw ec160939f7 add cmd limiter to the cli
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-16 11:07:31 +01:00
Ben Lambert 5de7349bbb Merge pull request #23003 from awanlin/topic/readme-use-new-backend-import
Updated to use default import
2024-02-16 11:04:01 +01:00
backstage-goalie[bot] 24f0777e71 Merge pull request #23008 from backstage/renovate/sass-1.x-lockfile
fix(deps): update dependency sass to v1.71.0
2024-02-16 09:55:21 +00:00
renovate[bot] 786c9c498f fix(deps): update dependency luxon to v3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 09:29:58 +00:00
renovate[bot] 59fecda9aa fix(deps): update dependency sass to v1.71.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 09:20:46 +00:00
Fredrik Adelöw 53602c8553 Merge pull request #22987 from backstage/renovate/webpack-5.x-lockfile
chore(deps): update dependency webpack to v5.90.2
2024-02-16 10:13:08 +01:00
Patrik Oldsberg 360ed78998 Merge pull request #22976 from backstage/rugvip/auth-final-v3
beps/0003: service and rollout updates + move to implementable
2024-02-16 10:07:52 +01:00
Camila Belo 0b1e0b1028 refactor(org): remove individual cards screenshots
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-02-16 09:52:40 +01:00
Camila Belo 540d4820ac refactor(org): apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-02-16 09:52:40 +01:00
Camila Belo 526f00a9be docs(org): create alpha readme file
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-02-16 09:52:40 +01:00