From d99c6469fa301f913e5a937b028cf60b73918ab0 Mon Sep 17 00:00:00 2001 From: Jason Watson Date: Thu, 17 Oct 2024 14:31:39 -0400 Subject: [PATCH 1/3] ci: add ssh host keys for github --- .github/jitx-client/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/jitx-client/Dockerfile b/.github/jitx-client/Dockerfile index e713e2e4..6c261daa 100644 --- a/.github/jitx-client/Dockerfile +++ b/.github/jitx-client/Dockerfile @@ -6,5 +6,5 @@ WORKDIR /app COPY ./user.params /root/.jitx/user.params COPY ./license /root/.jitx/license -CMD ["/bin/bash", "-c", "apt update ; apt install make build-essential -y ; git config --global --replace-all safe.directory '*' ; export STANZA_CONFIG=/root/.jitx/current ; export SLM_ROOT_DIR=${STANZA_CONFIG}/slm ; export SLM_STANZA=jstanza ; export PATH=$PATH:${STANZA_CONFIG}/stanza:${SLM_ROOT_DIR} ; cat $STANZA_CONFIG/scripts/install-info.sh ; cd jsl ; make tests"] +CMD ["/bin/bash", "-c", "apt update ; apt install make build-essential -y ; mkdir -p ~/.ssh/ ; curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' > ~/.ssh/known_hosts ; git config --global --replace-all safe.directory '*' ; export STANZA_CONFIG=/root/.jitx/current ; export SLM_ROOT_DIR=${STANZA_CONFIG}/slm ; export SLM_STANZA=jstanza ; export PATH=$PATH:${STANZA_CONFIG}/stanza:${SLM_ROOT_DIR} ; cat $STANZA_CONFIG/scripts/install-info.sh ; cd jsl ; make tests"] From 2e5c2ac76df718bfb46d40e8e28850f354c6aa38 Mon Sep 17 00:00:00 2001 From: Jason Watson Date: Thu, 17 Oct 2024 14:35:02 -0400 Subject: [PATCH 2/3] ci: add ssh host keys for github (2) --- .github/jitx-client/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/jitx-client/Dockerfile b/.github/jitx-client/Dockerfile index 6c261daa..201b066e 100644 --- a/.github/jitx-client/Dockerfile +++ b/.github/jitx-client/Dockerfile @@ -6,5 +6,5 @@ WORKDIR /app COPY ./user.params /root/.jitx/user.params COPY ./license /root/.jitx/license -CMD ["/bin/bash", "-c", "apt update ; apt install make build-essential -y ; mkdir -p ~/.ssh/ ; curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' > ~/.ssh/known_hosts ; git config --global --replace-all safe.directory '*' ; export STANZA_CONFIG=/root/.jitx/current ; export SLM_ROOT_DIR=${STANZA_CONFIG}/slm ; export SLM_STANZA=jstanza ; export PATH=$PATH:${STANZA_CONFIG}/stanza:${SLM_ROOT_DIR} ; cat $STANZA_CONFIG/scripts/install-info.sh ; cd jsl ; make tests"] +CMD ["/bin/bash", "-c", "apt update ; apt install make build-essential jq -y ; mkdir -p ~/.ssh/ ; curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' > ~/.ssh/known_hosts ; git config --global --replace-all safe.directory '*' ; export STANZA_CONFIG=/root/.jitx/current ; export SLM_ROOT_DIR=${STANZA_CONFIG}/slm ; export SLM_STANZA=jstanza ; export PATH=$PATH:${STANZA_CONFIG}/stanza:${SLM_ROOT_DIR} ; cat $STANZA_CONFIG/scripts/install-info.sh ; cd jsl ; make tests"] From e05c257875432132da888b37f205b8a748b305d2 Mon Sep 17 00:00:00 2001 From: Jason Watson Date: Thu, 17 Oct 2024 15:44:33 -0400 Subject: [PATCH 3/3] Bump CI