Commit Graph

243 Commits

Author SHA1 Message Date
Phil Kuang da25293910 refactor(scaffolder): wrap full field schema and prop type def in helper
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-11-14 11:41:42 -05:00
Phil Kuang 3e4a2ee779 docs(scaffolder): add info about custom field explorer
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-11-11 14:37:10 -05:00
Gabriel Dantas d1547a6547 fix: change secret input and sidebar order
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-11-03 22:30:48 -03:00
Gabriel Dantas Gomes 83c77f12d6 Update docs/features/software-templates/input-examples.md
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Gabriel Dantas Gomes <gabriel.dantas98@outlook.com.br>
2022-11-03 19:05:04 -03:00
Gabriel Dantas Gomes 75cbec788a fix quotes
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-10-31 01:34:12 -03:00
Gabriel Dantas d7d8e00a52 fix: prettier
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-10-31 01:34:11 -03:00
Gabriel Dantas 87f1b7e515 fix: review comments
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-10-31 01:34:11 -03:00
Gabriel Dantas 2815e37895 fix: run prettier -w
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-10-31 01:34:11 -03:00
Gabriel Dantas 0913ace69a style: fix markdown errors
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-10-31 01:34:11 -03:00
Gabriel Dantas 8b0d1e72dc fix docs quality error
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-10-31 01:34:11 -03:00
Gabriel Dantas 135314fdc2 docs: scaffolder inputs examples
Signed-off-by: Gabriel Dantas <gabriel.dantas98@outlook.com.br>
2022-10-31 01:34:11 -03:00
Mehul Gohil 4520ffa1b4 Update writing-custom-field-extensions.md
refactored the import 

Signed-off-by: Mehul Gohil <mehulgohil75@gmail.com>
2022-10-18 17:53:54 +05:30
Mehul Gohil 6666ea13fe Update writing-custom-field-extensions.md
Updated doc reference for validation import

Signed-off-by: Mehul Gohil <mehulgohil75@gmail.com>
2022-10-18 17:44:49 +05:30
Daniel Albuquerque 96e3bb375c Update writing-custom-actions.md
Signed-off-by: Daniel Albuquerque <1187103+worldtiki@users.noreply.github.com>
2022-10-06 16:57:46 +01:00
Tomás Mota 957518f40e Remove extra "add" in sentence
Signed-off-by: Tomás Mota <tomasrebelomota@gmail.com>
2022-10-05 07:34:52 +02:00
Johan Haals f6789c2275 Merge pull request #13749 from clemensheithecker/patch-2
Add custom actions plugin for Azure repositories
2022-09-26 10:15:05 +02:00
Paul Cowan ff4f8bb9e5 add writing-custom-step-layouts to sidebars.json
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-21 18:20:51 +01:00
Paul 2b908d00b7 Update docs/features/software-templates/writing-templates.md
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Paul <paul.cowan@cutting.scot>
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-21 18:20:51 +01:00
Paul Cowan 0c8d3347b4 add docs entry for custom step layout
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-21 18:20:51 +01:00
Clemens Stefan Heithecker c3247e12f8 Add custom actions plugin for Azure repositories
Signed-off-by: Clemens Stefan Heithecker <48448358+clemensheithecker@users.noreply.github.com>
2022-09-20 11:58:23 +02:00
Clemens Stefan Heithecker a983f2037b Add custom actions plugin for Azure pipelines
Signed-off-by: Clemens Stefan Heithecker <48448358+clemensheithecker@users.noreply.github.com>
2022-09-12 15:19:57 +02:00
Thomas Cardonne 8d30688534 docs(software-templates): document new template output format
This format has been deprecated and users should use links instead

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
2022-07-15 10:50:38 +02:00
Ben Lambert 5a98712ce3 Merge pull request #11806 from dotressel/add-allowed-repos-to-repourlpicker
Scaffolder: RepoUrlPicker: Add allowedRepos Option and move RepoName Input to own Component
2022-06-29 16:00:06 +02:00
Vladimir Masarik fccddd80fd docs: fix prettier complaints
Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2022-06-20 17:43:44 +02:00
Vladimir Masarik e81be86682 docs: fix template typos
Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2022-06-17 16:02:15 +02:00
Vladimir Masarik a6321c9b9f docs: writing templates, add examples of how to use values
Add information on how to actually use the parameters from the UI in the actual code
so that users can fully utilize the templating power of the default templating
action.

Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2022-06-17 15:25:17 +02:00
Vladimir Masarik 7fc1f50f57 docs: Adding templates, added note for users that they need to refresh the location
Othwise, backstage won't display the updated or newly added template,
and it won't report any errors either.

Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2022-06-17 15:24:46 +02:00
Vladimir Masarik 4ae8c4b0b7 docs: Adding templates, add template as a file example
Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2022-06-17 14:49:43 +02:00
Vladimir Masarik 1ee1a02d67 docs: custom template actions update code exmaple
Users don't need the container runner, and variables have to
be passed in differently

Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2022-06-17 14:40:22 +02:00
Vladimir Masarik 7e35d62a13 docs: custom tempalte actions clearly express that the builtin actions are replaced
Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
2022-06-17 14:40:22 +02:00
Maixmilian Ressel 557072e19b change some capitalizations
Signed-off-by: Maixmilian Ressel <maximiliandotressel@gmail.com>
2022-06-16 12:43:32 +02:00
Maixmilian Ressel 2de3fc3231 Add documentation for allowedOwners and allowedRepos
Signed-off-by: Maixmilian Ressel <maximiliandotressel@gmail.com>
2022-06-15 17:18:44 +02:00
Maixmilian Ressel 85f2d90543 docs: scaffolder: improve docs to setup the RepoUrlPicker authentication
Signed-off-by: Maixmilian Ressel <maximiliandotressel@gmail.com>
2022-06-14 16:30:24 +02:00
blam 79c8e5c586 chore: added doc updates for user templating
Signed-off-by: blam <ben@blam.sh>
2022-06-13 13:59:46 +02:00
Patrik Oldsberg 115f6452bf scaffolder: form data fixups
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-05-19 17:09:48 +02:00
Johan Haals c29997a0ee Merge pull request #11513 from arhill05/master
Add Git actions to Plugins Marketplace
2022-05-19 14:04:53 +02:00
Minh Trí 86a4a0f72d [Scaffolder] Get data of other fields in Form from a custom field
Allows to use e.g.
```
const CustomFieldExtensionComponent(props: FieldExtensionComponentProps<string[]>) => {
     const { formContext } = props;
     ....
};

const CustomFieldExtension = scaffolderPlugin.provide(
  createScaffolderFieldExtension({
    name: ...,
    component: CustomFieldExtensionComponent,
    validation: ....
  })
);
```

Signed-off-by: Minh Trí <tritri251214@gmail.com>
2022-05-19 15:13:55 +07:00
Drew Hill 9849722e1a Add Git actions to Plugins Marketplace
Signed-off-by: Drew Hill <andrew.hill@e-farmcredit.com>
2022-05-13 11:47:03 -04:00
Lovie 86b0909e25 Updated documentation to rename plugin
Documentation was not up to date with master codebase where plugin has been renamed to scaffolderPlugin

Signed-off-by: Lovie <lovie.minhas@gmail.com>
2022-04-21 09:19:13 +01:00
Gediminas dd131d95be docs: update custom field extensions writing guide
Signed-off-by: Gediminas <gediminasgn@gmail.com>
2022-03-25 10:25:46 +01:00
daftgopher bd4aac9c80 additional template migration documentation
Signed-off-by: daftgopher <daftgopher@users.noreply.github.com>
2022-03-19 17:15:32 -04:00
Marco Crivellaro e0308ca6ec replacing workflow:write scope with workflow, workflow:write is invalid.
Signed-off-by: Marco Crivellaro <marco.crive@gmail.com>
2022-03-16 17:19:26 +00:00
Fredrik Adelöw 6565f2c50b Merge pull request #10147 from rex4539/typos
Fix typos
2022-03-15 11:01:46 +01:00
djamaile 41f51ad5d5 docs: write on how to use feature flags within templates
Signed-off-by: djamaile <rdjamaile@gmail.com>
2022-03-14 19:06:32 +01:00
Fredrik Adelöw 18b03f031b Merge pull request #10150 from backstage/freben/plugin-head
make the backend plugin ts files consistent
2022-03-14 11:04:07 +01:00
Johan Haals 78e95df160 Merge pull request #9918 from RoadieHQ/add-new-actions
Add link to new actions
2022-03-14 09:46:07 +01:00
Fredrik Adelöw 89c7e47967 make the backend plugin ts files consistent
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-13 19:27:46 +01:00
Dimitris Apostolou aedd4daa66 Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-03-13 14:12:05 +02:00
blam 6049d33313 chore: updating this in documentation though too
Signed-off-by: blam <ben@blam.sh>
2022-03-09 10:08:50 +01:00
blam 5625443a26 chore: added a note in the migration sheet
Signed-off-by: blam <ben@blam.sh>
2022-03-08 15:07:41 +01:00