mirror of
https://github.com/namecoin/ncdns-repro
synced 2024-11-10 07:10:29 +00:00
Merge #126: Cirrus: Don't sign binaries from PR's
aa8c538
Cirrus: Don't sign binaries from PR's (Jeremy Rand)
Pull request description:
PR's from non-contributors don't have access to our Cirrus signing keys; trying to sign anyway causes the task to error.
This commit is contained in:
commit
af797f74b9
20
.cirrus.yml
20
.cirrus.yml
@ -656,7 +656,7 @@ release_linux_x86_64_release_nosign_docker_builder:
|
|||||||
env:
|
env:
|
||||||
CIRRUS_LOG_TIMESTAMP: true
|
CIRRUS_LOG_TIMESTAMP: true
|
||||||
BUMP_DEPS: 0
|
BUMP_DEPS: 0
|
||||||
only_if: $CIRRUS_REPO_OWNER != "namecoin"
|
only_if: $CIRRUS_REPO_OWNER != "namecoin" || "$CIRRUS_PR" != ""
|
||||||
depends_on:
|
depends_on:
|
||||||
- "release_linux_x86_64_plain-binaries_1"
|
- "release_linux_x86_64_plain-binaries_1"
|
||||||
|
|
||||||
@ -728,7 +728,7 @@ release_linux_x86_64_release_sign_docker_builder:
|
|||||||
- "./tools/cirrus_build_project.sh release release linux x86_64 1"
|
- "./tools/cirrus_build_project.sh release release linux x86_64 1"
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "release/**/*"
|
path: "release/**/*"
|
||||||
only_if: $CIRRUS_REPO_OWNER == "namecoin"
|
only_if: $CIRRUS_REPO_OWNER == "namecoin" && "$CIRRUS_PR" == ""
|
||||||
env:
|
env:
|
||||||
SIGN_BUILD: 1
|
SIGN_BUILD: 1
|
||||||
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
||||||
@ -1395,7 +1395,7 @@ release_linux_i686_release_nosign_docker_builder:
|
|||||||
env:
|
env:
|
||||||
CIRRUS_LOG_TIMESTAMP: true
|
CIRRUS_LOG_TIMESTAMP: true
|
||||||
BUMP_DEPS: 0
|
BUMP_DEPS: 0
|
||||||
only_if: $CIRRUS_REPO_OWNER != "namecoin"
|
only_if: $CIRRUS_REPO_OWNER != "namecoin" || "$CIRRUS_PR" != ""
|
||||||
depends_on:
|
depends_on:
|
||||||
- "release_linux_i686_plain-binaries_1"
|
- "release_linux_i686_plain-binaries_1"
|
||||||
|
|
||||||
@ -1467,7 +1467,7 @@ release_linux_i686_release_sign_docker_builder:
|
|||||||
- "./tools/cirrus_build_project.sh release release linux i686 1"
|
- "./tools/cirrus_build_project.sh release release linux i686 1"
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "release/**/*"
|
path: "release/**/*"
|
||||||
only_if: $CIRRUS_REPO_OWNER == "namecoin"
|
only_if: $CIRRUS_REPO_OWNER == "namecoin" && "$CIRRUS_PR" == ""
|
||||||
env:
|
env:
|
||||||
SIGN_BUILD: 1
|
SIGN_BUILD: 1
|
||||||
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
||||||
@ -2134,7 +2134,7 @@ release_windows_x86_64_release_nosign_docker_builder:
|
|||||||
env:
|
env:
|
||||||
CIRRUS_LOG_TIMESTAMP: true
|
CIRRUS_LOG_TIMESTAMP: true
|
||||||
BUMP_DEPS: 0
|
BUMP_DEPS: 0
|
||||||
only_if: $CIRRUS_REPO_OWNER != "namecoin"
|
only_if: $CIRRUS_REPO_OWNER != "namecoin" || "$CIRRUS_PR" != ""
|
||||||
depends_on:
|
depends_on:
|
||||||
- "release_windows_x86_64_plain-binaries_1"
|
- "release_windows_x86_64_plain-binaries_1"
|
||||||
|
|
||||||
@ -2206,7 +2206,7 @@ release_windows_x86_64_release_sign_docker_builder:
|
|||||||
- "./tools/cirrus_build_project.sh release release windows x86_64 1"
|
- "./tools/cirrus_build_project.sh release release windows x86_64 1"
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "release/**/*"
|
path: "release/**/*"
|
||||||
only_if: $CIRRUS_REPO_OWNER == "namecoin"
|
only_if: $CIRRUS_REPO_OWNER == "namecoin" && "$CIRRUS_PR" == ""
|
||||||
env:
|
env:
|
||||||
SIGN_BUILD: 1
|
SIGN_BUILD: 1
|
||||||
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
||||||
@ -2873,7 +2873,7 @@ release_windows_i686_release_nosign_docker_builder:
|
|||||||
env:
|
env:
|
||||||
CIRRUS_LOG_TIMESTAMP: true
|
CIRRUS_LOG_TIMESTAMP: true
|
||||||
BUMP_DEPS: 0
|
BUMP_DEPS: 0
|
||||||
only_if: $CIRRUS_REPO_OWNER != "namecoin"
|
only_if: $CIRRUS_REPO_OWNER != "namecoin" || "$CIRRUS_PR" != ""
|
||||||
depends_on:
|
depends_on:
|
||||||
- "release_windows_i686_plain-binaries_1"
|
- "release_windows_i686_plain-binaries_1"
|
||||||
|
|
||||||
@ -2945,7 +2945,7 @@ release_windows_i686_release_sign_docker_builder:
|
|||||||
- "./tools/cirrus_build_project.sh release release windows i686 1"
|
- "./tools/cirrus_build_project.sh release release windows i686 1"
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "release/**/*"
|
path: "release/**/*"
|
||||||
only_if: $CIRRUS_REPO_OWNER == "namecoin"
|
only_if: $CIRRUS_REPO_OWNER == "namecoin" && "$CIRRUS_PR" == ""
|
||||||
env:
|
env:
|
||||||
SIGN_BUILD: 1
|
SIGN_BUILD: 1
|
||||||
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
||||||
@ -3612,7 +3612,7 @@ release_osx_x86_64_release_nosign_docker_builder:
|
|||||||
env:
|
env:
|
||||||
CIRRUS_LOG_TIMESTAMP: true
|
CIRRUS_LOG_TIMESTAMP: true
|
||||||
BUMP_DEPS: 0
|
BUMP_DEPS: 0
|
||||||
only_if: $CIRRUS_REPO_OWNER != "namecoin"
|
only_if: $CIRRUS_REPO_OWNER != "namecoin" || "$CIRRUS_PR" != ""
|
||||||
depends_on:
|
depends_on:
|
||||||
- "release_osx_x86_64_plain-binaries_1"
|
- "release_osx_x86_64_plain-binaries_1"
|
||||||
|
|
||||||
@ -3684,7 +3684,7 @@ release_osx_x86_64_release_sign_docker_builder:
|
|||||||
- "./tools/cirrus_build_project.sh release release osx x86_64 1"
|
- "./tools/cirrus_build_project.sh release release osx x86_64 1"
|
||||||
binaries_artifacts:
|
binaries_artifacts:
|
||||||
path: "release/**/*"
|
path: "release/**/*"
|
||||||
only_if: $CIRRUS_REPO_OWNER == "namecoin"
|
only_if: $CIRRUS_REPO_OWNER == "namecoin" && "$CIRRUS_PR" == ""
|
||||||
env:
|
env:
|
||||||
SIGN_BUILD: 1
|
SIGN_BUILD: 1
|
||||||
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
||||||
|
@ -165,7 +165,7 @@ print_os_arch () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$PROJECT_ITER" == "sign" ]]; then
|
if [[ "$PROJECT_ITER" == "sign" ]]; then
|
||||||
echo ' only_if: $CIRRUS_REPO_OWNER == "namecoin"'
|
echo ' only_if: $CIRRUS_REPO_OWNER == "namecoin" && "$CIRRUS_PR" == ""'
|
||||||
echo " env:
|
echo " env:
|
||||||
SIGN_BUILD: 1
|
SIGN_BUILD: 1
|
||||||
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
SIGN_KEY: ENCRYPTED[33d4594d76774e6447dfd9fabee90f6214b34e209fa1c1c2ce93ed1a40447a235b013b78afe85db52d5561651a821be1]
|
||||||
@ -178,7 +178,7 @@ print_os_arch () {
|
|||||||
CIRRUS_LOG_TIMESTAMP: true
|
CIRRUS_LOG_TIMESTAMP: true
|
||||||
BUMP_DEPS: 0"
|
BUMP_DEPS: 0"
|
||||||
if [[ "$PROJECT_ITER" == "nosign" ]]; then
|
if [[ "$PROJECT_ITER" == "nosign" ]]; then
|
||||||
echo ' only_if: $CIRRUS_REPO_OWNER != "namecoin"'
|
echo ' only_if: $CIRRUS_REPO_OWNER != "namecoin" || "$CIRRUS_PR" != ""'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Depend on previous project
|
# Depend on previous project
|
||||||
|
Loading…
Reference in New Issue
Block a user