From c2652be1e45dbe1961212a9a4f956c527c6ba974 Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Thu, 4 Jan 2024 11:04:50 +0100 Subject: [PATCH] Remove ssh dev keys injection The ssh key injection would be done before Microshift service is started. The code has moved in PS [1]. [1] https://softwarefactory-project.io/r/c/sf-zuul-jobs-config/+/30493 Change-Id: Ic765a5b14bdf25f8e9b1d84a394bbaa82550ff7b --- playbooks/health-check/dev-keys.yaml | 14 -------------- zuul.d/jobs.yaml | 1 - 2 files changed, 15 deletions(-) delete mode 100644 playbooks/health-check/dev-keys.yaml diff --git a/playbooks/health-check/dev-keys.yaml b/playbooks/health-check/dev-keys.yaml deleted file mode 100644 index 8d2d7d35..00000000 --- a/playbooks/health-check/dev-keys.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- hosts: all - tasks: - - name: Set dev ssh keys - when: inject_dev_ssh_keys | default(false) - block: - - name: Clone SF devs pub keys repo - ansible.builtin.git: - repo: https://softwarefactory-project.io/r/SF_devs_public_keys - dest: SF_devs_public_keys - - - name: Copy content to authorized keys - ansible.builtin.shell: | - cat SF_devs_public_keys/authorized_keys >> ~/.ssh/authorized_keys diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 581ef771..c83e1061 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -8,7 +8,6 @@ name: sf-operator parent: sf-operator-microshift pre-run: &pre-run - - playbooks/health-check/dev-keys.yaml - playbooks/health-check/dstat-pre.yaml post-run: &post-run - playbooks/health-check/dstat-post.yaml