Skip to content

Commit 69467bd

Browse files
authored
Merge pull request #1022 from mulkieran/yamllint-annotation
Disable yamllint rule prohibiting long lines for all files
2 parents 33b0dfe + 6d09f17 commit 69467bd

6 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎.github/workflows/cargo.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ jobs:
5050
repository: stratis-storage/ci
5151
persist-credentials: false
5252
- name: Run comparisons of version specs with -sys package
53-
# yamllint disable rule:line-length
5453
run: |
5554
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low" make -f ../Makefile check-fedora-versions
5655
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 IGNORE_ARGS="--ignore-category low" make -f ../Makefile check-fedora-versions
5756
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f42 IGNORE_ARGS="--ignore-category low" make -f ../Makefile check-fedora-versions
5857
working-directory: devicemapper-rs/devicemapper-rs-sys
5958
- name: Run comparisons of version specs with package
60-
# yamllint disable rule:line-length
6159
run: |
6260
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low --ignore-high=devicemapper-sys" make -f Makefile check-fedora-versions
6361
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 IGNORE_ARGS="--ignore-category low --ignore-high=devicemapper-sys" make -f Makefile check-fedora-versions

‎.github/workflows/main.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ jobs:
7777
sudo apt-get -q update
7878
sudo apt-get -y install libdevmapper-dev
7979
- name: Set toolchain override with sudo
80-
run: sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }} # yamllint disable rule:line-length
80+
run: sudo /home/runner/.cargo/bin/rustup override set ${{ matrix.toolchain }}
8181
- name: Run all tests on ${{ matrix.toolchain }} toolchain
82-
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH make -f Makefile sudo_test # yamllint disable rule:line-length
82+
run: sudo PATH=$GITHUB_WORKSPACE/.cargo/bin:$PATH make -f Makefile sudo_test
8383

8484
# VERIFICATION OF TEST INFRASTRUCTURE
8585
yamllint:

‎.github/workflows/nightly.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,12 @@ jobs:
7373
repository: stratis-storage/ci
7474
persist-credentials: false
7575
- name: Run comparison of version specs with -sys package
76-
# yamllint disable rule:line-length
7776
run: |
7877
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f ../Makefile check-fedora-versions
7978
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 make -f ../Makefile check-fedora-versions
8079
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f42 make -f ../Makefile check-fedora-versions
8180
working-directory: devicemapper-rs/devicemapper-rs-sys
8281
- name: Run comparison of version specs with package
83-
# yamllint disable rule:line-length
8482
run: |
8583
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f Makefile check-fedora-versions
8684
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 make -f Makefile check-fedora-versions

‎.packit.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
upstream_project_url: https://github.com/stratis-storage/devicemapper
24

35
packages:

‎.yamllint.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
extends: default
3+
4+
rules:
5+
line-length: disable

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ docs:
6060
cargo doc --no-deps --document-private-items
6161

6262
yamllint:
63-
yamllint --strict .github/workflows/*.yml
63+
yamllint --strict .github/workflows/*.yml .packit.yaml .yamllint.yaml
6464

6565
.PHONY:
6666
audit

0 commit comments

Comments
 (0)