-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
31 lines (29 loc) · 1.26 KB
/
.gitlab-ci.yml
File metadata and controls
31 lines (29 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
stages:
- start_runner
- build_db
start_runner:
image: debian:latest
stage: start_runner
variables:
SECURE_FILES_DOWNLOAD_PATH: '.ssh/'
script:
- apt-get update
- apt-get -y install openssh-client curl
- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
- mv .ssh /root/
- chmod 400 ~/.ssh/id_rsa
- echo "|1|JFuO2JEkWqbuXd+ApkQmNqDdEEo=|8vh2dtbHPDz0TC629VoNdC3PTEE= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHDKbn/5inrcY/n4F5Two7/bkZbQnE5m48JjHS5jFDjY" > ~/.ssh/known_hosts
- echo "|1|4xY7ZLWo5HTDjO+OjsQ0gfyaOgQ=|1F1kMYh+niSzeZkMcLgvZlHVQtk= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLMl4CPR6nah0RELToidaccxMzlXq+P1K/a3hXVE70weAJt2czFD/kuHVp8sr/ggIntavglVXRNVuCI2Emngle4=" >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- ssh dluppov@frontend.aldan3.itm-rsmu.ru "/home/dluppov/gitlab/run.sh"
building:
tags:
- 5cece4a3-ba37-48db-9427-d1229be0a2e6
stage: build_db
script:
- echo "A new file in the ./chunks folder has changed!"
- hostname
- podman run -v /home/dluppov/vdjdb_test_build/output/:/root/output --rm vdjdb_py > /home/dluppov/vdj-db-ci-runner.log
rules:
- changes:
- chunks/**