Add ssh-keyscan. Tell cargo to use git cli to login.
This commit is contained in:
parent
cda58f1605
commit
b06968dca8
|
|
@ -2,7 +2,9 @@
|
||||||
FROM docker.io/library/fedora:latest
|
FROM docker.io/library/fedora:latest
|
||||||
|
|
||||||
RUN sudo dnf update -y && \
|
RUN sudo dnf update -y && \
|
||||||
sudo dnf install -y nodejs yarnpkg openssl-devel curl just gcc
|
sudo dnf install -y nodejs yarnpkg \
|
||||||
|
openssl-devel curl \
|
||||||
|
just gcc openssh-clients
|
||||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
RUN /bin/bash -c "source $HOME/.cargo/env && rustup update"
|
RUN /bin/bash -c "source $HOME/.cargo/env && rustup update"
|
||||||
RUN /bin/bash -c "source $HOME/.cargo/env && rustup toolchain install nightly"
|
RUN /bin/bash -c "source $HOME/.cargo/env && rustup toolchain install nightly"
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ spec:
|
||||||
ssh-keyscan -H -p 2222 git.jpace121.net >> ~/.ssh/known_hosts
|
ssh-keyscan -H -p 2222 git.jpace121.net >> ~/.ssh/known_hosts
|
||||||
# Use just to run the ci steps.
|
# Use just to run the ci steps.
|
||||||
source ~/.cargo/env
|
source ~/.cargo/env
|
||||||
|
export CARGO_NET_GIT_FETCH_WITH_CLI=true
|
||||||
cd $(workspaces.source.path)
|
cd $(workspaces.source.path)
|
||||||
just ci-build
|
just ci-build
|
||||||
just ci-test
|
just ci-test
|
||||||
Loading…
Reference in New Issue