Commit Graph

209 Commits

Author SHA1 Message Date
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
blam 592ac178ec chore: updating documentation and removing the last of v1beta2
Signed-off-by: blam <ben@blam.sh>
2022-03-08 14:26:03 +01:00
Kiss Miklos 9135b66f32 add links to new roadie actions
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-03-02 19:16:37 +01:00
Luna Stadler 33ae7f244b Fix header nesting in software-templates docs
Most pages in the 'Software Templates' docs seemed to have one level too
much nesting.  This fixes that.  Without the correct nesting, the table
of contents on the right side was also missing and made reading the
longer pages (e.g. writing-templates) more difficult to read.

What's odd is that when rendering with `mkdocs` locally the nesting
seems to be okay and the table of content renders.

Pages affected live:

- https://backstage.io/docs/features/software-templates/software-templates-index
- https://backstage.io/docs/features/software-templates/configuration
- https://backstage.io/docs/features/software-templates/writing-templates
- https://backstage.io/docs/features/software-templates/builtin-actions
- https://backstage.io/docs/features/software-templates/writing-custom-actions

https://backstage.io/docs/features/software-templates/adding-templates
is okay because it has no subheadings.

And these two are okay because they have correct nesting starting at
level two (`##`):

- https://backstage.io/docs/features/software-templates/writing-custom-field-extensions
- https://backstage.io/docs/features/software-templates/migrating-from-v1beta2-to-v1beta3

Signed-off-by: Luna Stadler <luc@spreadshirt.net>
2022-03-01 11:50:47 +01:00
Kiss Miklos 4610dab453 Make header more readable
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-02-10 17:08:19 +01:00
Kiss Miklos 17240b1c17 run prettier on changed file
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-02-10 16:52:58 +01:00
Kiss Miklos 4a3386a35c remove accidental change
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-02-10 16:17:41 +01:00
Kiss Miklos 1c6825d88a add missing step to docs
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-02-10 16:13:28 +01:00
blam 37a3fc75c0 chore: more code review fixes
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam b856b156c2 docs: making the docs a little clearer
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
blam c95df1631e chore: added changeset and updating documentation about being able to grab the user token
Signed-off-by: blam <ben@blam.sh>
2022-02-01 09:02:32 +01:00
Patrik Oldsberg 9e3a06f09f Merge pull request #8983 from alefcarlos/feat/plugin-dotnet-backend
feat: added backend .NET scaffolder plugin
2022-01-26 18:43:33 +01:00
Alef 3847c6f7a7 docs: prettier
Signed-off-by: Alef <alef.carlos@gmail.com>
2022-01-25 14:20:57 -03:00
Erik Aaron Hansen 8e09fc712e Update writing-custom-actions.md
Signed-off-by: Erik Aaron Hansen <erikaaron.hansen@technipfmc.com>
2022-01-24 13:51:30 +01:00
Alef e50ddb1f72 docs: better naming
Signed-off-by: Alef <alef.carlos@gmail.com>
2022-01-20 17:06:56 -03:00
Alef 75883ddf32 docs: added to custom actions doc
Signed-off-by: Alef <alef.carlos@gmail.com>
2022-01-18 09:48:11 -03:00
goenning 01e1f746f1 update docs
Signed-off-by: goenning <me@goenning.net>
2021-12-17 15:10:48 +00:00
Johan Haals e3d21acf2a Merge pull request #8374 from backstage/orkohunter/docs-v1beta3-templates
scaffolder: update docs with v1beta3 syntax
2021-12-08 14:13:41 +01:00
Himanshu Mishra 285f7ec2e6 fix apiVersion for scaffolder.backstage.io/v1beta3 in docs
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-12-07 18:13:06 +05:30
Tim Hansen 36bb4fb2e9 More scaffolder config cleanup
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-12-06 13:13:03 -07:00
Himanshu Mishra 94c3583f2b scaffolder: update docs with v1beta3 syntax
migration guide: https://backstage.io/docs/features/software-templates/migrating-from-v1beta2-to-v1beta3

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-12-06 11:23:16 +05:30
Johan Haals 972a047c43 microsite: close html tags
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-03 11:34:06 +01:00
jrusso1020 f3bcd52216 rename swimlane -> group
Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-11-27 12:36:29 -05:00
jrusso1020 fa683cab7d address comments
Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-11-27 12:36:29 -05:00
Ben Lambert 35b606102b Merge pull request #8130 from backstage/blam/docsupdate
docs: Link out to Custom Field Extensions
2021-11-18 10:57:29 +01:00
Ben Lambert 770b5eda87 Merge pull request #7908 from anthonyikeda/master
Placed the Custom Actions pre-requisites at the top of the document i…
2021-11-18 10:27:31 +01:00
blam d73ae57163 docs: updating the docs saying that it is now possible to provide your own Field Extensions
Signed-off-by: blam <ben@blam.sh>
2021-11-18 10:24:04 +01:00
Ben Lambert a4faa290b8 Merge pull request #7780 from backstage/joonp/provide-scaffolder-template-metadata
Expose template metadata to custom action handler
2021-11-17 20:59:11 +01:00
blam a648d763d7 chore: fixing pr comments
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:17:08 +01:00
Joon Park ecdcbd08ee Expose template metadata to custom action handler
Currently, we only expose the template name to satisfy the requirement from the issue, but more can be added easily (as long as the type is expanded accordingly).

Signed-off-by: Joon Park <joonp@spotify.com>
2021-11-14 20:24:20 +00:00
Anthony Ikeda 69f06b7db5 Ran Prettier and reformatted the file
Signed-off-by: Anthony Ikeda <anthony.ikeda@gmail.com>
2021-11-11 08:45:44 -08:00
Anthony Ikeda ac4eeb7102 More consistent formatting of the Note block
Signed-off-by: Anthony Ikeda <anthony.ikeda@gmail.com>
2021-11-10 21:06:06 -08:00
Anthony Ikeda 02ebae6ffd Removed code block at top and altered the main registration code block to include the builtInActions registration
Signed-off-by: Anthony Ikeda <anthony.ikeda@gmail.com>
2021-11-10 20:55:28 -08:00
Anthony Ikeda 677da179d8 More consistent formatting of the Note block
Signed-off-by: Anthony Ikeda <anthony.ikeda@gmail.com>
2021-11-10 20:55:28 -08:00
Anthony Ikeda 5b9d1291f7 Placed the Custom Actions pre-requisites at the top of the document instead of the middle. These **pre-requisites** are easily missed if developers are writing custom actions.
Signed-off-by: Anthony Ikeda <anthony.ikeda@gmail.com>
2021-11-09 08:48:04 -08:00