Skip to content

Commit

Permalink
attach tty
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
  • Loading branch information
adam-stokes committed Oct 7, 2020
1 parent 3ea39b3 commit 0adad08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jobs/build-debs/build-debs.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ def get_packaging_repos(self):
class BuildRepo:
def make_debs(self, sign_key):
"""Builds the debian packaging for each component"""
cmd_ok(f"script /dev/null")
for repo in DEB_REPOS:
cmd_ok(f"cp -a {repo}/* k8s-internal-mirror/.", shell=True)
cmd_ok(f"dpkg-buildpackage -S -k {sign_key}", cwd="k8s-internal-mirror")
cmd_ok(f"dpkg-buildpackage -S --sign-key={sign_key}", cwd="k8s-internal-mirror")
cmd_ok(f"rm -rf debian")


Expand Down
2 changes: 1 addition & 1 deletion jobs/build-debs/run.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export GIT_SSH_COMMAND='ssh -i /root/.ssh/cdkbot_rsa -oStrictHostKeyChecking=no'
export CDKBOT_GH_USR="{{ lookup('env', 'CDKBOT_GH_USER') }}"
export CDKBOT_GH_PSW="{{ lookup('env', 'CDKBOT_GH_PSW') }}"
K8S_VERSION="{{ lookup('env', 'K8S_VERSION') }}"
K8STEAMCI_GPG_KEY="{{ lookup('env', 'K8STEAMCI_GPG_KEY' }}"
K8STEAMCI_GPG_KEY="{{ lookup('env', 'K8STEAMCI_GPG_KEY') }}"

cd /root/jenkins
pip3 install -rjobs/build-debs/requirements.txt
Expand Down

0 comments on commit 0adad08

Please sign in to comment.