~ireas/nitrokey-rs

afee2873a09c20046005e3b0886aa5d39fe62f1b — Robin Krahl 8 months ago f54b7a9
Update repository and triggers in build scripts

This patch updates the Git repository in the build scripts to point to
git.sr.ht instead of git.ireas.org.  Also, as we no longer add our own
triggers when submitting the builds from ireas.org, we have to add
triggers to the builds.  Finally, we disable the signature check when
the build is triggered from lists.sr.ht.
M .builds/archlinux-msrv.yml => .builds/archlinux-msrv.yml +6 -2
@@ 1,4 1,4 @@
# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
# Copyright (C) 2019-2020 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: CC0-1.0
image: archlinux
packages:


@@ 7,7 7,7 @@ packages:
environment:
  USE_SYSTEM_LIBNITROKEY: "1"
sources:
  - https://git.ireas.org/nitrokey-rs
  - https://git.sr.ht/~ireas/nitrokey-rs
tasks:
  - setup: |
      rustup set profile minimal


@@ 20,3 20,7 @@ tasks:
  - test: |
      cd nitrokey-rs
      cargo test
triggers:
  - action: email
    condition: failure
    to: robin.krahl@ireas.org

M .builds/archlinux-use-system-lib.yml => .builds/archlinux-use-system-lib.yml +6 -2
@@ 1,4 1,4 @@
# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
# Copyright (C) 2019-2020 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: CC0-1.0
image: archlinux
packages:


@@ 7,7 7,7 @@ packages:
environment:
  USE_SYSTEM_LIBNITROKEY: "1"
sources:
  - https://git.ireas.org/nitrokey-rs
  - https://git.sr.ht/~ireas/nitrokey-rs
tasks:
  - version: |
      rustc -V


@@ 23,3 23,7 @@ tasks:
  - clippy: |
      cd nitrokey-rs
      cargo clippy -- -D warnings
triggers:
  - action: email
    condition: failure
    to: robin.krahl@ireas.org

M .builds/archlinux.yml => .builds/archlinux.yml +6 -2
@@ 1,4 1,4 @@
# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
# Copyright (C) 2019-2020 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: CC0-1.0
image: archlinux
packages:


@@ 6,7 6,7 @@ packages:
  - hidapi
  - gcc
sources:
  - https://git.ireas.org/nitrokey-rs
  - https://git.sr.ht/~ireas/nitrokey-rs
tasks:
  - build: |
      cd nitrokey-rs


@@ 14,3 14,7 @@ tasks:
  - test: |
      cd nitrokey-rs
      cargo test
triggers:
  - action: email
    condition: failure
    to: robin.krahl@ireas.org

M .builds/lint.yml => .builds/lint.yml +7 -3
@@ 1,16 1,20 @@
# Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
# Copyright (C) 2019-2020 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: CC0-1.0
image: archlinux
packages:
  - gnupg
  - reuse
sources:
  - https://git.ireas.org/nitrokey-rs
  - https://git.sr.ht/~ireas/nitrokey-rs
tasks:
  - verify: |
      cd nitrokey-rs
      curl -s "https://pgp.ireas.org/0x6D533958F070C57C.txt" | gpg --import
      git verify-commit HEAD
      git verify-commit HEAD || [ `git config user.email` == "builds@sr.ht" ]
  - reuse: |
      cd nitrokey-rs
      reuse lint
triggers:
  - action: email
    condition: failure
    to: robin.krahl@ireas.org