Skip to content

Commit 1b5fe73

Browse files
authored
Merge pull request #468 from mulkieran/yamllint-annotation
Disable yamllint rule prohibiting long lines for all files
2 parents 920fc9c + 846af4c commit 1b5fe73

5 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 -sys version specs with Fedora
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: libcryptsetup-rs/libcryptsetup-rs-sys
5958
- name: Run comparisons of version specs with Fedora
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=libcryptsetup-rs-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=libcryptsetup-rs-sys" make -f Makefile check-fedora-versions

.github/workflows/nightly.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ jobs:
6262
repository: stratis-storage/ci
6363
persist-credentials: false
6464
- name: Run comparisons of version specs with -sys package
65-
# yamllint disable rule:line-length
6665
run: |
6766
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f ../Makefile check-fedora-versions
6867
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 make -f ../Makefile check-fedora-versions
6968
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f42 make -f ../Makefile check-fedora-versions
7069
working-directory: libcryptsetup-rs/libcryptsetup-rs-sys
7170
- name: Run comparisons of version specs with package
72-
# yamllint disable rule:line-length
7371
run: |
7472
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f Makefile check-fedora-versions
7573
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 make -f Makefile check-fedora-versions

.packit.yaml

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

35
packages:
@@ -43,15 +45,15 @@ jobs:
4345
trigger: pull_request
4446
identifier: copr_pull
4547
additional_repos:
46-
- copr://packit/stratis-storage-libcryptsetup-rs-master
48+
- copr://packit/stratis-storage-libcryptsetup-rs-master
4749
targets:
4850
- fedora-all
4951

5052
- job: copr_build
5153
trigger: commit
5254
identifier: copr_commit
5355
additional_repos:
54-
- copr://packit/stratis-storage-libcryptsetup-rs-master
56+
- copr://packit/stratis-storage-libcryptsetup-rs-master
5557
preserve_project: true
5658
targets:
5759
- fedora-all

.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
@@ -69,7 +69,7 @@ test-loopback:
6969
RUST_BACKTRACE=1 RUST_TEST_THREADS=1 CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' cargo test --features=mutex -- --ignored --skip test_mutex_poisoning_panic
7070

7171
yamllint:
72-
yamllint --strict .github/workflows/*.yml
72+
yamllint --strict .github/workflows/*.yml .packit.yaml .yamllint.yaml
7373

7474
.PHONY:
7575
audit

0 commit comments

Comments
 (0)