Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #246 from redhat-appstudio/drop-snyk-detail
Browse files Browse the repository at this point in the history
Drop unnecessary instruction
  • Loading branch information
gtrivedi88 authored Mar 28, 2024
2 parents 9a75793 + 033ed52 commit 55dfc8b
Showing 1 changed file with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,35 +29,10 @@ You should also include the name of your secret in the *snyk-secret* pipeline pa
... From the *Secret name* drop-down menu, select *snyk-secret*.
... Paste your Snyk token into the *Upload the file with value for your key or paste its contents* field.
... Click *Add secret* to save it.
. Update your `.tekton` YAML files to specify your Snyk secret.
.. From your GitHub repository, update the `pull-request.yaml` files in your `.tekton` directory; for example: link:https://github.com/sonam1412/devfile-sample-python-basic/blob/main/.tekton/devfile-sample-python-basic-iea1-pull-request.yaml[devfile-sample-python-basic/.tekton/devfile-sample-python-basic-rhq8-pull-request.yaml]
.. Add new lines to the code in your YAML files to include *snyk-secret*, as shown in the following example:
+
.Example
+
[source,yaml]
--
- default: "false"
description: Execute the build with network isolation
name: hermetic
type: string
- default: ""
description: Build dependencies to be prefetched by Cachi2
name: prefetch-input
type: string
- default: "false"
description: Java build
name: java
type: string
- default: "snyk-secret"
description: Snyk Token Secret Name
name: snyk-secret
type: string
--

You've enabled the Snyk task for your build pipeline.

[role="_additional-resources"]
== Additional resources

For more information about Snyk, see link:https://snyk.io/product/snyk-code/[the Snyk website].
For more information about Snyk, see link:https://snyk.io/product/snyk-code/[the Snyk website].

0 comments on commit 55dfc8b

Please sign in to comment.