Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add ssh host keys for github #196

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/jitx-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 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"]