mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-25 06:17:50 +00:00
32f2913fd2
- Previously catalog's task has some images that are not tagged properly,this patch fixes these images by adding the digest - Soon once Catlin is added to the CI it will throw error for those images which don't have proper tags co-authored by:- @PuneetPunamiya Signed-off-by: vinamra28 <vinjain@redhat.com> |
||
---|---|---|
.. | ||
tests | ||
prettier.yaml | ||
README.md |
Prettier Tasks
This Task
is for running Prettier code formatter against the provided source code in the Workspace. By default this Task
will check the format of files in the root of your Workspace.
Workspaces
- source: A workspace for this Task to fetch the source the code.
Parameters
- args: Prettier arguments used to run Prettier. See Prettier CLI for the arguments. (default:
--check .
) - prettierImage: Prettier image used to run Prettier. (default: elnebuloso/prettier:latest)
Usage
The following pipeline uses the prettier-check
Task
to format the file build.yaml
from catalog/golang
. The pipeline has two tasks: the git-clone
Task
is the first task to clone the repository to the "shared-workspace"; the prettier-check
Task
runs after git-clone
Task
to format the source code.