35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
# SPDX-License-Identifier: CC0-1.0
|
|
# SPDX-FileCopyrightText: 2023 KDE e.V.
|
|
|
|
# define defaults for all listed projects
|
|
defaults:
|
|
# define the KeyStore file to use by default
|
|
keystore: ~/.local/apksigner/keystore.jks
|
|
# and the password for the KeyStore file; prefer the "file:" format
|
|
keystorepass: file:/keystorepass
|
|
# list of branches to sign for all listed projects
|
|
branches:
|
|
- master
|
|
|
|
# define settings specific for Project A (in Namespace A)
|
|
# key for Project A is the GitLab path of the project
|
|
namespace-a/project-a:
|
|
# the application ID of the APK; checked against the APK to sign
|
|
applicationid: net.example.projecta
|
|
# use key with alias "projecta" from default KeyStore for Project A
|
|
keyalias: projecta
|
|
# dictionary of branches to sign additionally to the default branches
|
|
branches:
|
|
# also allow signing the release branch for Project A
|
|
release:
|
|
|
|
namespace-a/project-b:
|
|
# the application ID of the APK
|
|
applicationid: net.example.projectb
|
|
# signing keys for Project B are stored in a different KeyStore file
|
|
keystore: projectb.jks
|
|
# specifying the key alias is not necessary if the KeyStore contains only one key
|
|
branches:
|
|
# use a different KeyStore for the legacy branch of Project B
|
|
legacy:
|
|
keystore: ~/.local/apksigner/legacy.jks
|