From 7ef457347d564fb6e47f8bfad2cee5475fedde1e Mon Sep 17 00:00:00 2001 From: KD Date: Sun, 9 Mar 2025 21:08:42 +0000 Subject: [PATCH] Added icarus-models --- .gitlab-ci.yml | 10 ++++++++++ Cargo.toml | 1 + 2 files changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03a0c28..857265b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,16 @@ stages: - build - test +before_script: + - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' + - eval $(ssh-agent -s) + - mv "$SSH_DEPLOY_KEY" gitlab_deploy_key # copies the file from the variable. + - chmod 600 gitlab_deploy_key + - ssh-add gitlab_deploy_key + - mkdir -p ~/.ssh + - '[[ -f /.dockerenv ]] && echo -e "Host gitlab.com\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' + - echo "$KNOWN_HOSTS" >> ~/.ssh/known_hosts + build: stage: build image: rust:1.85 diff --git a/Cargo.toml b/Cargo.toml index 1d048bd..0ee9e73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,4 @@ version = "0.1.0" edition = "2024" [dependencies] +icarus-models = { git = "ssh://git@gitlab.com/kdeng00/icarus-models.git", tag = "v0.1.0" }