Skip to content

Commit 223620d

Browse files
committed
address pre-commit issues
1 parent 2f68963 commit 223620d

6 files changed

Lines changed: 56 additions & 13 deletions

File tree

.asf.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
# details. Be careful when changing the contents of this file since it may affect many developers
2020
# of the project and make sure to discuss the changes with dev@ before committing.
2121

22+
# yamllint disable rule:document-start
23+
2224
github:
2325
description: "Apache HBase deployments on Kubernetes using Kustomize"
2426
homepage: https://hbase.apache.org/
@@ -32,11 +34,11 @@ github:
3234
issues: false
3335
projects: false
3436
enabled_merge_buttons:
35-
squash: true
36-
merge: false
37-
rebase: true
37+
squash: true
38+
merge: false
39+
rebase: true
3840
notifications:
39-
commits: commits@hbase.apache.org
40-
issues: issues@hbase.apache.org
41+
commits: commits@hbase.apache.org
42+
issues: issues@hbase.apache.org
4143
pullrequests: issues@hbase.apache.org
4244
jira_options: link

.markdownlint.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
---
17+
MD013:
18+
line_length: 100

.yamllint.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
---
17+
extends: default
18+
19+
rules:
20+
line-length:
21+
max: 100

dev-support/jenkins/gather_machine_environment.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818

19+
# SHELLDOC-IGNORE
20+
1921
set -e
2022
function usage {
2123
echo "Usage: ${0} /path/for/output/dir"

dev-support/jenkins/jenkins_precommit_github_yetus.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# specific language governing permissions and limitations
1717
# under the License.
1818

19+
# SHELLDOC-IGNORE
20+
1921
set -e
2022

2123
# place ourselves in the directory containing the hbase and yetus checkouts
@@ -110,8 +112,6 @@ YETUS_ARGS+=("--tests-filter=test4tests")
110112
YETUS_ARGS+=("--docker")
111113
# our jenkins workers don't have buildkit installed (INFRA-24704)
112114
YETUS_ARGS+=('--docker-buildkit=false')
113-
# effectively treat dev-support as a custom maven module
114-
YETUS_ARGS+=("--skip-dirs=dev-support")
115115
# help keep the ASF boxes clean
116116
YETUS_ARGS+=("--sentinel")
117117
YETUS_ARGS+=("--github-token=${GITHUB_TOKEN}")

dockerfiles/kuttl/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
to you under the Apache License, Version 2.0 (the
77
"License"); you may not use this file except in compliance
88
with the License. You may obtain a copy of the License at
9-
9+
1010
http://www.apache.org/licenses/LICENSE-2.0
11-
11+
1212
Unless required by applicable law or agreed to in writing, software
1313
distributed under the License is distributed on an "AS IS" BASIS,
1414
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -31,7 +31,7 @@ Start by creating a buildx context that supports (optionally) multi-platform ima
3131
created this context previously, it's enough to ensure that it's active via `docker buildx ls`.
3232

3333
```shell
34-
$ docker buildx create \
34+
docker buildx create \
3535
--driver docker-container \
3636
--platform linux/amd64,linux/arm64 \
3737
--use \
@@ -41,7 +41,7 @@ $ docker buildx create \
4141
Finally, build the image using:
4242

4343
```shell
44-
$ docker buildx bake \
44+
docker buildx bake \
4545
--file src/main/docker/docker-bake.hcl \
4646
--file src/main/docker/docker-bake.override.hcl \
4747
--pull \
@@ -56,14 +56,14 @@ This exports an image to your local repository that is tagged as `${USER}/hbase/
5656
The image is configured with `kuttl` as the entrypoint.
5757

5858
```shell
59-
$ docker container run --rm -it ${USER}/hbase/kustomize/kuttl:latest --help
59+
docker container run --rm -it ${USER}/hbase/kustomize/kuttl:latest --help
6060
```
6161

6262
Running tests in the image requires mounting the workspace into the container image and passing
6363
appropriate parameters to `kuttl`. For example, run the "small" tests like this:
6464

6565
```shell
66-
$ docker container run \
66+
docker container run \
6767
--mount type=bind,source=$(pwd),target=/workspace \
6868
--workdir /workspace \
6969
${USER}/hbase/kustomize/kuttl:latest \

0 commit comments

Comments
 (0)