Skip to content

Commit

Permalink
Render docs and tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Sep 22, 2023
1 parent 781f28b commit 01f26c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/build.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ be done by running `eslint --init` or by following the
link:https://eslint.org/docs/user-guide/getting-started[official documentation].

The exact build recipe can be found at
link:https://github.com/opendevstack/ods-pipeline/blob/master/build/package/scripts/build-npm.sh[build/package/scripts/build-npm.sh].
link:https://github.com/opendevstack/ods-pipeline-npm/blob/main/build/images/scripts/build.sh[build/images/scripts/build.sh].
In particular, `npm run build` is expected to place outputs into `dist` and
`npm run test` is expected to create `build/test-results/test/report.xml`
and `build/coverage/{clover.xml,coverage-final.json,lcov.info}`.
Expand Down Expand Up @@ -79,7 +79,7 @@ without leading `./` and trailing `/`.

| build-script
| /usr/local/bin/build-npm
| Build script to execute. The link:https://github.com/opendevstack/ods-pipeline/blob/master/build/package/scripts/build-npm.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.
| Build script to execute. The link:https://github.com/opendevstack/ods-pipeline-npm/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.


| node-version
Expand Down
4 changes: 2 additions & 2 deletions tasks/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- name: build-script
description: >-
Build script to execute. The
link:https://github.com/opendevstack/ods-pipeline/blob/master/build/package/scripts/build-npm.sh[default script]
link:https://github.com/opendevstack/ods-pipeline-npm/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 All @@ -56,7 +56,7 @@ spec:
name: build-reused-from-location
steps:
- name: build-npm
# Image is built from build/package/Dockerfile.node<xx>-npm-toolset.
# Image is built from build/images/Dockerfile.node<xx>-npm-toolset.
image: 'ghcr.io/opendevstack/ods-pipeline-npm/node$(params.node-version)-npm-toolset:latest'
env:
- name: HOME
Expand Down

0 comments on commit 01f26c5

Please sign in to comment.