Commit Graph

252 Commits

Author SHA1 Message Date
Ben Lambert bbf9ee0e8c Merge pull request #15603 from padupe/docs/update-software-template
docs(docs/features/software-templates/writing-custom-field-extensions.md): update doc with valid example.
2023-01-10 10:06:52 +01:00
Paulo Eduardo Peixoto e85e61c154 docs(docs/features/software-templates/writing-custom-field-extensions.md): change "kehab" to "kebab".
Signed-off-by: Paulo Eduardo Peixoto <pauloeduardo_peixoto@hotmail.com>
2023-01-09 14:16:44 -03:00
Paulo Eduardo Peixoto a3497ad621 style(docs/features/software-templates/writing-custom-field.extension.md): change style at line 28.
Signed-off-by: Paulo Eduardo Peixoto <pauloeduardo_peixoto@hotmail.com>
2023-01-09 08:18:16 -03:00
Paulo Eduardo Peixoto 7c85508a02 docs(docs/features/software-templates/writing-custom-field-extensions.md): update doc with valid example.
After bug at React.

Signed-off-by: Paulo Eduardo Peixoto <pauloeduardo_peixoto@hotmail.com>
2023-01-05 20:18:45 -03:00
John Fletcher 17da0d3ceb Minor comprehension fix for writing template example
Signed-off-by: John Fletcher <fletchgqc@gmail.com>
2022-12-23 14:05:33 +01:00
Johan Haals 1592bb7a4d Merge pull request #15063 from rikez/feat/enhance-owner-picker
feat(scaffolder): add EntityFilterQuery support on Entity and Owner Picker components
2022-12-22 16:44:32 +01:00
Enrico Alvarenga 1cd1c5cbb0 docs: update docs referencing OwnerPicker and EntityPicker
Signed-off-by: Enrico Alvarenga <enrico.alvarenga@segment.com>
2022-12-21 13:01:44 -08:00
Brian Fletcher 626a71fa06 fix review comments
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-12-07 13:03:45 +00:00
Brian Fletcher e5f61559d5 use nunjucks "square bracket syntax" for steps in docs
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-12-07 08:09:05 +00:00
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