Skip to content

Commit

Permalink
fix tektor linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tisutisu authored and zregvart committed Nov 13, 2024
1 parent cf614e2 commit b2f800c
Show file tree
Hide file tree
Showing 38 changed files with 113 additions and 0 deletions.
3 changes: 3 additions & 0 deletions task/buildah-oci-ta/0.1/buildah-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,17 @@ spec:
- name: YUM_REPOS_D_FETCHED
description: Path in source workspace where dynamically-fetched repos
are present
type: string
default: fetched.repos.d
- name: YUM_REPOS_D_SRC
description: Path in the git repository in which yum repository files
are stored
type: string
default: repos.d
- name: YUM_REPOS_D_TARGET
description: Target path on the container in which yum repository files
should be made available
type: string
default: /etc/yum.repos.d
- name: caTrustConfigMapKey
description: The name of the key in the ConfigMap that contains the
Expand Down
3 changes: 3 additions & 0 deletions task/buildah-oci-ta/0.2/buildah-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,17 @@ spec:
- name: YUM_REPOS_D_FETCHED
description: Path in source workspace where dynamically-fetched repos
are present
type: string
default: fetched.repos.d
- name: YUM_REPOS_D_SRC
description: Path in the git repository in which yum repository files
are stored
type: string
default: repos.d
- name: YUM_REPOS_D_TARGET
description: Target path on the container in which yum repository files
should be made available
type: string
default: /etc/yum.repos.d
- name: caTrustConfigMapKey
description: The name of the key in the ConfigMap that contains the
Expand Down
3 changes: 3 additions & 0 deletions task/buildah-remote-oci-ta/0.1/buildah-remote-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,16 @@ spec:
- default: fetched.repos.d
description: Path in source workspace where dynamically-fetched repos are present
name: YUM_REPOS_D_FETCHED
type: string
- default: repos.d
description: Path in the git repository in which yum repository files are stored
name: YUM_REPOS_D_SRC
type: string
- default: /etc/yum.repos.d
description: Target path on the container in which yum repository files should
be made available
name: YUM_REPOS_D_TARGET
type: string
- default: ca-bundle.crt
description: The name of the key in the ConfigMap that contains the CA bundle
data.
Expand Down
3 changes: 3 additions & 0 deletions task/buildah-remote-oci-ta/0.2/buildah-remote-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,16 @@ spec:
- default: fetched.repos.d
description: Path in source workspace where dynamically-fetched repos are present
name: YUM_REPOS_D_FETCHED
type: string
- default: repos.d
description: Path in the git repository in which yum repository files are stored
name: YUM_REPOS_D_SRC
type: string
- default: /etc/yum.repos.d
description: Target path on the container in which yum repository files should
be made available
name: YUM_REPOS_D_TARGET
type: string
- default: ca-bundle.crt
description: The name of the key in the ConfigMap that contains the CA bundle
data.
Expand Down
3 changes: 3 additions & 0 deletions task/buildah-remote/0.1/buildah-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,16 @@ spec:
- default: repos.d
description: Path in the git repository in which yum repository files are stored
name: YUM_REPOS_D_SRC
type: string
- default: fetched.repos.d
description: Path in source workspace where dynamically-fetched repos are present
name: YUM_REPOS_D_FETCHED
type: string
- default: /etc/yum.repos.d
description: Target path on the container in which yum repository files should
be made available
name: YUM_REPOS_D_TARGET
type: string
- default: ""
description: Target stage in Dockerfile to build. If not specified, the Dockerfile
is processed entirely to (and including) its last stage.
Expand Down
3 changes: 3 additions & 0 deletions task/buildah-remote/0.2/buildah-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,16 @@ spec:
- default: repos.d
description: Path in the git repository in which yum repository files are stored
name: YUM_REPOS_D_SRC
type: string
- default: fetched.repos.d
description: Path in source workspace where dynamically-fetched repos are present
name: YUM_REPOS_D_FETCHED
type: string
- default: /etc/yum.repos.d
description: Target path on the container in which yum repository files should
be made available
name: YUM_REPOS_D_TARGET
type: string
- default: ""
description: Target stage in Dockerfile to build. If not specified, the Dockerfile
is processed entirely to (and including) its last stage.
Expand Down
3 changes: 3 additions & 0 deletions task/buildah/0.1/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ spec:
- name: YUM_REPOS_D_SRC
description: Path in the git repository in which yum repository files are stored
default: repos.d
type: string
- name: YUM_REPOS_D_FETCHED
description: Path in source workspace where dynamically-fetched repos are present
default: fetched.repos.d
type: string
- name: YUM_REPOS_D_TARGET
description: Target path on the container in which yum repository files should be made available
default: /etc/yum.repos.d
type: string
- name: TARGET_STAGE
description: Target stage in Dockerfile to build. If not specified, the Dockerfile is processed entirely to (and including) its last stage.
type: string
Expand Down
3 changes: 3 additions & 0 deletions task/buildah/0.2/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,15 @@ spec:
- name: YUM_REPOS_D_SRC
description: Path in the git repository in which yum repository files are stored
default: repos.d
type: string
- name: YUM_REPOS_D_FETCHED
description: Path in source workspace where dynamically-fetched repos are present
default: fetched.repos.d
type: string
- name: YUM_REPOS_D_TARGET
description: Target path on the container in which yum repository files should be made available
default: /etc/yum.repos.d
type: string
- name: TARGET_STAGE
description: Target stage in Dockerfile to build. If not specified, the Dockerfile is processed entirely to (and including) its last stage.
type: string
Expand Down
3 changes: 3 additions & 0 deletions task/clair-scan/0.1/clair-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ spec:
params:
- name: image-digest
description: Image digest to scan.
type: string
- name: image-url
description: Image URL.
type: string
- name: docker-auth
description: unused, should be removed in next task version.
default: ""
type: string
- name: ca-trust-config-map-name
type: string
description: The name of the ConfigMap to read CA bundle data from.
Expand Down
3 changes: 3 additions & 0 deletions task/clair-scan/0.2/clair-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ spec:
params:
- name: image-digest
description: Image digest to scan.
type: string
- name: image-url
description: Image URL.
type: string
- name: docker-auth
description: unused, should be removed in next task version.
default: ""
type: string
- name: ca-trust-config-map-name
type: string
description: The name of the ConfigMap to read CA bundle data from.
Expand Down
3 changes: 3 additions & 0 deletions task/clamav-scan/0.1/clamav-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ spec:
params:
- name: image-digest
description: Image digest to scan.
type: string
- name: image-url
description: Image URL.
type: string
- name: docker-auth
description: unused
default: ""
type: string
- name: ca-trust-config-map-name
type: string
description: The name of the ConfigMap to read CA bundle data from.
Expand Down
3 changes: 3 additions & 0 deletions task/deprecated-image-check/0.1/deprecated-image-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ spec:
- name: POLICY_DIR
description: Path to directory containing Conftest policies.
default: "/project/repository/"
type: string
- name: POLICY_NAMESPACE
description: Namespace for Conftest policy.
default: "required_checks"
type: string
- name: BASE_IMAGES_DIGESTS
description: Digests of base build images.
type: string

results:
- name: PYXIS_HTTP_CODE
Expand Down
3 changes: 3 additions & 0 deletions task/deprecated-image-check/0.2/deprecated-image-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ spec:
- name: POLICY_DIR
description: Path to directory containing Conftest policies.
default: "/project/repository/"
type: string
- name: POLICY_NAMESPACE
description: Namespace for Conftest policy.
default: "required_checks"
type: string
- name: BASE_IMAGES_DIGESTS
description: Digests of base build images.
type: string

results:
- name: PYXIS_HTTP_CODE
Expand Down
3 changes: 3 additions & 0 deletions task/deprecated-image-check/0.3/deprecated-image-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ spec:
- name: POLICY_DIR
description: Path to directory containing Conftest policies.
default: "/project/repository/"
type: string
- name: POLICY_NAMESPACE
description: Namespace for Conftest policy.
default: "required_checks"
type: string
- name: BASE_IMAGES_DIGESTS
description: Digests of base build images.
type: string

results:
- name: PYXIS_HTTP_CODE
Expand Down
5 changes: 5 additions & 0 deletions task/deprecated-image-check/0.4/deprecated-image-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,21 @@ spec:
- name: POLICY_DIR
description: Path to directory containing Conftest policies.
default: "/project/repository/"
type: string
- name: POLICY_NAMESPACE
description: Namespace for Conftest policy.
default: "required_checks"
type: string
- name: BASE_IMAGES_DIGESTS
description: Digests of base build images.
default: ""
type: string
- name: IMAGE_URL
description: Fully qualified image name.
type: string
- name: IMAGE_DIGEST
description: Image digest.
type: string
- name: CA_TRUST_CONFIG_MAP_NAME
type: string
description: The name of the ConfigMap to read CA bundle data from.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
params:
- name: image-url
description: Image url to scan.
type: string
- name: ca-trust-config-map-name
type: string
description: The name of the ConfigMap to read CA bundle data from.
Expand Down
3 changes: 3 additions & 0 deletions task/fbc-validation/0.1/fbc-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ spec:
params:
- name: IMAGE_URL
description: Fully qualified image name.
type: string
- name: IMAGE_DIGEST
description: Image digest.
type: string
- name: BASE_IMAGE
description: Fully qualified base image name.
type: string
results:
- name: TEST_OUTPUT
description: Tekton task test output.
Expand Down
1 change: 1 addition & 0 deletions task/generate-labels/0.1/generate-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:
- name: source-date-epoch
description: A standardised environment variable for build tools to consume in order to produce reproducible output.
default: ""
type: string
results:
- name: labels
description: The rendered labels, rendered from the provided templates
Expand Down
2 changes: 2 additions & 0 deletions task/generate-odcs-compose/0.1/generate-odcs-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ spec:
- name: COMPOSE_INPUTS
description: relative path from workdir workspace to the compose inputs file
default: compose_inputs.yaml
type: string
- name: COMPOSE_OUTPUTS
description: relative path from workdir workspace to store compose output files
default: repos
type: string
workspaces:
- name: workdir
description: |
Expand Down
2 changes: 2 additions & 0 deletions task/generate-odcs-compose/0.2/generate-odcs-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ spec:
- name: COMPOSE_INPUTS
description: relative path from workdir workspace to the compose inputs file
default: source/compose_inputs.yaml
type: string
- name: COMPOSE_OUTPUTS
description: relative path from workdir workspace to store compose output files
default: fetched.repos.d
type: string
workspaces:
- name: workdir
description: |
Expand Down
6 changes: 6 additions & 0 deletions task/init/0.1/init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,27 @@ spec:
params:
- name: image-url
description: Image URL for build by PipelineRun
type: string
- name: rebuild
description: Rebuild the image if exists
default: "false"
type: string
- name: skip-checks
description: Skip checks against built image
default: "false"
type: string
- name: skip-optional
default: "true"
description: Skip optional checks, set false if you want to run optional checks
type: string
- name: pipelinerun-name
description: unused, should be removed in next task version
default: ""
type: string
- name: pipelinerun-uid
description: unused, should be removed in next task version
default: ""
type: string
results:
- name: build
description: Defines if the image in param image-url should be built
Expand Down
3 changes: 3 additions & 0 deletions task/init/0.2/init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ spec:
params:
- name: image-url
description: Image URL for build by PipelineRun
type: string
- name: rebuild
description: Rebuild the image if exists
default: "false"
type: string
- name: skip-checks
description: Skip checks against built image
default: "false"
type: string
results:
- name: build
description: Defines if the image in param image-url should be built
Expand Down
1 change: 1 addition & 0 deletions task/inspect-image/0.1/inspect-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
params:
- name: IMAGE_URL
description: Fully qualified image name.
type: string
- name: IMAGE_DIGEST
description: Image digest.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,36 @@ spec:
- name: input-dir
description: Directory to read cluster-ready operator manifests from
default: deploy
type: string
- name: channels
description: Comma-separated list of channels the bundle belongs to
default: alpha
type: string
- name: kustomize-dir
description: >
Directory containing kustomize bases in a "bases" dir and a
kustomization.yaml for operator-framework manifests
default: ""
type: string
- name: extra-service-accounts
description: >
Comma-seperated list of service account names, outside of the
operator's Deployment account, that have bindings to {Cluster}Roles
that should be added to the CSV
default: ""
type: string
- name: version
description: Semantic version of the operator in the generated bundle
type: string
- name: package-name
description: Bundle's package name
type: string
- name: additional-labels-file
description: >
A plain text file containing additional labels to append to the
generated Dockerfile
default: ""
type: string
workspaces:
- name: source
description: Workspace with the source code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
params:
- name: bundle-image
description: OLM bundle image to query
type: string
results:
- name: bundle-version
description: olm.package version
Expand Down
Loading

0 comments on commit b2f800c

Please sign in to comment.