Commit Graph

50717 Commits

Author SHA1 Message Date
Aramis 39599f582a fix doc links
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-17 16:19:02 -05:00
Aramis 713b9ec788 fix mkdocs and add references for next steps items
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-17 16:19:02 -05:00
Aramis a33bd1f7a8 docs: start adding user roles to getting started documentation
Following CNCF guidelines for improved Backstage documentation.

Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-17 16:19:02 -05:00
Fredrik Adelöw 25adbdde2d Merge pull request #22568 from sennyeya/catalog-entity-policies
feat(catalog): add support for entity policies in the new backend.
2024-02-17 16:15:55 +01:00
aramissennyeydd 5182f5bfdd merge fixes and update changeset
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:51:51 -05:00
Aramis 3d1954f80d fix api report
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:46 -05:00
Aramis 0eda4bc629 remove support for adding entity policies entirely
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:50:46 -05:00
Aramis 28a0882dbb rename to transformLegacyPolicyToProcessor
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:37 -05:00
Aramis 9281ab3bb6 fix api reports
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:37 -05:00
Aramis af751400d6 fix api report
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:37 -05:00
Aramis 447d8b6fcf add field validators
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:50:37 -05:00
Aramis 0aba8f018e add test cases for the new transformer
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2024-02-16 19:50:17 -05:00
Aramis 31392e59b8 update to a separate catalog extension and add support for replacing
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:50:17 -05:00
Aramis d8a54d0a83 feat(catalog): add support for entity policies in the new backend.
Signed-off-by: Aramis <sennyeyaramis@gmail.com>
2024-02-16 19:49:59 -05:00
Fredrik Adelöw b1789a2d6a Merge pull request #23029 from backstage/dependabot/npm_and_yarn/undici-5.28.3
Bump undici from 5.26.3 to 5.28.3
2024-02-17 00:11:09 +01:00
dependabot[bot] 504b54e4dd Bump undici from 5.26.3 to 5.28.3
Bumps [undici](https://github.com/nodejs/undici) from 5.26.3 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.3...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 16:57:26 +00:00
Ben Lambert 7917cbe801 Merge pull request #22965 from backstage/blam/remove-immer
remove immer deps
2024-02-16 17:49:09 +01:00
blam 1cfcb469cd chore: fixing knip report
Signed-off-by: blam <ben@blam.sh>
2024-02-16 17:28:03 +01:00
Ben Lambert 30b2519a6e Merge pull request #21890 from ch007m/issue-21866
Create a new action to publish on gitea
2024-02-16 14:48:42 +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 2d0e7cdc69 Add new changeset file to document what changed for @backstage/integration
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 9b0bf20dba Removed non relevant information from changeset and splitting changes into 2 changeset files
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard d7b0c272c3 Revert "Adding to tsc --skipLibCheck false --incremental false"
This reverts commit 11862cc739b2e2651a10d88169522e6fa16854fd.

Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 95b4910cf8 Adding to tsc --skipLibCheck false --incremental false
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 71c68535ae Revert Basic to basic as the word checked by gitea api is basic
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard 0c211065dd Better documented the changes of this PR part of the changeset file
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
2024-02-16 11:57:44 +01:00
cmoulliard e300ddacd9 Revert change Token to token as gitea checks token word only. "https://docs.gitea.com/next/development/api-usage\#authentication"
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 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