Skip to content

Commit c8ef902

Browse files
authored
[CI] Fix broken links about Jenkins (#16055)
* Fix broken links about Jenkins * Update base.groovy.j2 To pass Run Lint: ```docker/bash.sh --env CI --env PLATFORM --env TVM_SHARD_INDEX --env TVM_NUM_SHARDS --env RUN_DISPLAY_URL --env PLATFORM --env SKIP_SLOW_TESTS --env TEST_STEP_NAME tlcpack/ci-lint:20230504-142417-4d37a0a0 ./tests/scripts/task_lint.sh```
1 parent 468bf2d commit c8ef902

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

ci/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ TVM project in a healthy state and preventing breakages. CI in TVM is broken int
2727
- Definitions of test suites, with each suite defined as a separate `task_` script in
2828
[`tests/scripts`](../tests/scripts).
2929
- Scripts and automation [`ci/scripts`](../ci/scripts).
30-
- The linux test sequence (in [`Jenkinsfile`](../Jenkinsfile)), which lints and builds TVM and runs test
30+
- The linux test sequence (in [`Jenkinsfile`](../ci/jenkins/templates/)), which lints and builds TVM and runs test
3131
suites using Docker on Linux.
3232
- The Windows and Mac test sequences (in [`.github/actions`](../.github/actions)).
3333
- GitHub Actions that support the code review process (in [`.github/actions`](../.github/actions)).
@@ -66,33 +66,33 @@ https://github.com/apache/tvm/actions has the logs for each of these workflows.
6666

6767
Each CI job runs most of its work inside a Docker container, built from files
6868
in the [`docker/`](../docker) folder. These
69-
files are built nightly in Jenkins via the [docker-images-ci](https://ci.tlcpack.ai/job/docker-images-ci/>) job.
70-
The images for these containers are hosted in the [tlcpack Docker Hub](https://hub.docker.com/u/tlcpack>)
71-
and referenced in the [`Jenkinsfile.j2`](Jenkinsfile.j2). These can be inspected and run
69+
files are built nightly in Jenkins via the [docker-images-ci](https://ci.tlcpack.ai/job/docker-images-ci/) job.
70+
The images for these containers are hosted in the [tlcpack Docker Hub](https://hub.docker.com/u/tlcpack)
71+
and referenced in the [`jenkins/templates`](/ci/jenkins/templates/). These can be inspected and run
7272
locally via standard Docker commands.
7373

7474
### `ci-docker-staging`
7575

76-
The [ci-docker-staging](https://github.com/apache/tvm/tree/ci-docker-staging>)
76+
The [ci-docker-staging](https://github.com/apache/tvm/tree/ci-docker-staging)
7777
branch is used to test updates to Docker images and `Jenkinsfile` changes. When
7878
running a build for a normal PR from a forked repository, Jenkins uses the code
7979
from the PR except for the `Jenkinsfile` itself, which comes from the base branch.
8080
When branches are built, the `Jenkinsfile` in the branch is used, so a committer
8181
with write access must push PRs to a branch in apache/tvm to properly test
8282
`Jenkinsfile` changes. If your PR makes changes to the `Jenkinsfile`, make sure
83-
to @ a [committer](../CONTRIBUTORS.md>)
83+
to @ a [committer](/CONTRIBUTORS.md)
8484
and ask them to push your PR as a branch to test the changes.
8585

8686
# Jenkins CI
8787

8888
TVM uses Jenkins for running Linux continuous integration (CI) tests on
8989
[branches](https://ci.tlcpack.ai/job/tvm/) and
9090
[pull requests](https://ci.tlcpack.ai/job/tvm/view/change-requests/) through a
91-
build configuration specified in a [`Jenkinsfile`](../Jenkinsfile).
91+
build configuration specified in a [`Jenkinsfile`](/ci/jenkins/templates/).
9292
Other jobs run in GitHub Actions for Windows and MacOS jobs.
9393

9494
## `Jenkinsfile`
9595

96-
The template files in this directory are used to generate the [`Jenkinsfile`](../Jenkinsfile) used by Jenkins to run CI jobs for each commit to PRs and branches.
96+
The template files in this directory are used to generate the [`Jenkinsfile`](/ci/jenkins/templates/) used by Jenkins to run CI jobs for each commit to PRs and branches.
9797

9898
To regenerate the `Jenkinsfile`, run `make` in the `ci/jenkins` dir.

ci/jenkins/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ https://github.com/apache/tvm/actions has the logs for each of these workflows.
3939
TVM uses Jenkins for running Linux continuous integration (CI) tests on
4040
[branches](https://ci.tlcpack.ai/job/tvm/) and
4141
[pull requests](https://ci.tlcpack.ai/job/tvm/view/change-requests/) through a
42-
build configuration specified in a [`Jenkinsfile`](../../Jenkinsfile).
42+
build configuration specified in a [`Jenkinsfile`](/ci/jenkins/templates/).
4343
Other jobs run in GitHub Actions for Windows and MacOS jobs.
4444

4545
## `Jenkinsfile`
4646

47-
The template files in this directory are used to generate the [`Jenkinsfile`](../../Jenkinsfile) used by Jenkins to run CI jobs for each commit to PRs and branches.
47+
The template files in this directory are used to generate the [`Jenkinsfile`](/ci/jenkins/templates/) used by Jenkins to run CI jobs for each commit to PRs and branches.
4848

4949
To regenerate the `Jenkinsfile`, run
5050

docs/contribute/ci.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Using TVM's CI
2626
TVM primarily uses Jenkins for running Linux continuous integration (CI) tests on
2727
`branches <https://ci.tlcpack.ai/job/tvm/>`_
2828
`pull requests <https://ci.tlcpack.ai/job/tvm/view/change-requests/>`_ through a
29-
build configuration specified in a `Jenkinsfile <https://github.com/apache/tvm/blob/main/Jenkinsfile>`_.
29+
build configuration specified in a `Jenkinsfile <https://github.com/apache/tvm/blob/main/ci/jenkins/templates/>`_.
3030
Jenkins is the only CI step that is codified to block merging. TVM is also tested minimally
3131
against Windows and MacOS using GitHub Actions.
3232

0 commit comments

Comments
 (0)