debian: aptly: do not sign the Release file

The original temporary gpg key is expired, while it is only used
to sign internally used repository. So currently we just do not sign
it.

TestPlan:
    Pass: repo_manage.py upload_pkg -r deb-local-build

Closes-bug: 2054833

Change-Id: I271a0d7010de8408d57a1c4c08588cda5d2d68d0
Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
This commit is contained in:
Zhang Xiao 2024-02-24 00:04:08 +08:00
parent e9a87bc57b
commit 10951dbebc
1 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,8 @@ from typing import Optional
PREFIX_LOCAL = 'deb-local-'
PREFIX_REMOTE = 'deb-remote-'
PREFIX_MERGE = 'deb-merge-'
SIGN_KEY = 'E82373F817C276756FA64756FAAD0555200D6582'
SIGN_PASSWD = 'starlingx'
# SIGN_KEY = 'E82373F817C276756FA64756FAAD0555200D6582'
# SIGN_PASSWD = 'starlingx'
DEFAULT_TIMEOUT_COUNT = 1
STX_DIST = os.environ.get('STX_DIST')
@ -378,7 +378,7 @@ class Deb_aptly():
task = self.aptly.publish.publish(source_kind='snapshot', sources=extra_param['sources'],
architectures=extra_param['architectures'], prefix=extra_param['prefix'],
distribution=extra_param['distribution'],
sign_gpgkey=SIGN_KEY, sign_passphrase=SIGN_PASSWD,
sign_skip=True,
origin=extra_param['origin'])
task_state = self.__wait_for_task(task, 10)
if task_state != 'SUCCEEDED':