github-actions[bot]
|
778bc48921
|
Version Packages (next)
|
2024-03-12 13:35:55 +00:00 |
|
Fredrik Adelöw
|
9f19476042
|
moved some more --cwd
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
|
2024-03-12 09:45:19 +01:00 |
|
Fredrik Adelöw
|
87e9ed3ccc
|
Merge pull request #23349 from backstage/freben/knip
update all knip reports
|
2024-03-09 19:51:19 +01:00 |
|
github-actions[bot]
|
8db51ca72f
|
Version Packages (next)
|
2024-03-05 13:38:18 +00:00 |
|
Fredrik Adelöw
|
44ee5cca1d
|
update
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
|
2024-03-01 14:29:44 +01:00 |
|
Fredrik Adelöw
|
38f4660f1d
|
update all knip reports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
|
2024-03-01 12:59:15 +01:00 |
|
github-actions[bot]
|
4cca80fbf8
|
Version Packages (next)
|
2024-02-27 16:48:30 +00:00 |
|
bnechyporenko
|
4f25522da9
|
wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
|
2024-02-27 13:07:35 +01:00 |
|
bnechyporenko
|
c94a2f946c
|
wip
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
|
2024-02-27 13:07:35 +01:00 |
|
github-actions[bot]
|
f1831dd9b2
|
Version Packages
|
2024-02-20 11:04:26 +00:00 |
|
cmoulliard
|
72ab2dcd58
|
Reviewing the change wording. Add the root cause of the error of: checkGiteaOrg to allow to know if there is a certificate error
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-19 14:13:34 +01:00 |
|
cmoulliard
|
40de43d14d
|
Changed the wording to warn the user to get a certificate when using gitea locally and clean the template example
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-19 12:50:14 +01:00 |
|
cmoulliard
|
ef0f44e423
|
Add change set and code change
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-19 12:11:02 +01:00 |
|
cmoulliard
|
9eb7cacef7
|
Regenerated the API report
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 13:49:40 +01:00 |
|
cmoulliard
|
8db9fdaf29
|
Add git repository to the package.json file of the module
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 12:31:22 +01:00 |
|
cmoulliard
|
905f470831
|
Remove files to be published
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
446dba2323
|
Only export index.ts and not alpha.ts
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
06c1fce211
|
Migrate the module to new Backend System
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
b4748b36eb
|
Refactoring the code to include the maxDuration within the function checking if gitea repository is available
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
4ed5ffebdf
|
Removing the export prefix for the function: checkAvailabilityGiteaRepository as it used internally
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
842b9c00b7
|
Removing ScmIntegrationsGroup & GiteaIntegration from import as non used
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
8c9b90bb3e
|
Declaring the variables username, password earlier and change the message to pass the host for the missing credentials
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
48ecd88b13
|
Declaring const { username, password } earlier within the file
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
107050672c
|
Add a function to test if while don't exceed 20s and test if signal is aborted
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
25c3850edf
|
Removing import of node-fetch to use the node built in fetch function directly
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
6f145d5097
|
Removed non needed text from the template example and improved the changes todo in a template
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
b39db7dc78
|
Change to launch backstage with launching backstage
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
a755bf4bf7
|
Remove the non needed code block as createBuiltinActions.ts is a new function exported from latest backstage distribution and gitea will be included when this PR will be merged
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
317d62675d
|
Fixing errors reported by documentation quality check github job
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
cmoulliard
|
a6b552b407
|
Adding a new rest.get to allow gitea to check if the URL of the repo exists
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +01:00 |
|
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
|
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
|
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
|
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 |
|
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
|
f8afc5c059
|
Align default branch name. master -> main
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
|
2024-02-16 11:57:44 +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 |
|