Skip to content

Commit

Permalink
Add missing param
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Nov 13, 2023
1 parent 07aeabe commit aa75254
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/tasks/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ spec:
You must set this to `"false"` if the build can be affected by files outside `working-dir`. See ADR caching-build-tasks for more details and workarounds.
type: string
default: "true"
- name: build-extra-inputs
description: >-
List of build source directories (as colon separated string) which in addition working-dir influence the build.
These directories are relative to the repository root.
If the contents in these directories change the cache is invalidated so that the build task will rebuild from scratch.
type: string
default: ""
- name: build-script
description: >-
Build script to execute. The
Expand Down
5 changes: 5 additions & 0 deletions docs/build.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ without leading `./` and trailing `/`.
| If enabled tasks uses or populates cache with the output dir contents (and artifacts) so that a build can be skipped if the `working-dir` contents did not change. You must set this to `"false"` if the build can be affected by files outside `working-dir`. See ADR caching-build-tasks for more details and workarounds.


| build-extra-inputs
|
| List of build source directories (as colon separated string) which in addition working-dir influence the build. These directories are relative to the repository root. If the contents in these directories change the cache is invalidated so that the build task will rebuild from scratch.


| build-script
| /usr/local/bin/build-python
| Build script to execute. The link:https://github.com/opendevstack/ods-pipeline-python/blob/main/build/images/scripts/build.sh[default script] is located in the container image. If you specify a relative path instead, it will be resolved from the workspace. See the task definition for details how the build script is invoked.
Expand Down
7 changes: 7 additions & 0 deletions tasks/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ spec:
You must set this to `"false"` if the build can be affected by files outside `working-dir`. See ADR caching-build-tasks for more details and workarounds.
type: string
default: "true"
- name: build-extra-inputs
description: >-
List of build source directories (as colon separated string) which in addition working-dir influence the build.
These directories are relative to the repository root.
If the contents in these directories change the cache is invalidated so that the build task will rebuild from scratch.
type: string
default: ""
- name: build-script
description: >-
Build script to execute. The
Expand Down

0 comments on commit aa75254

Please sign in to comment.