From 14830262f6b1a23675b6a3b4f9b270ffafa14751 Mon Sep 17 00:00:00 2001 From: Eesaan Atluri <atlurie@uab.edu> Date: Tue, 29 Oct 2024 21:48:20 -0400 Subject: [PATCH] feat: Use predefined CI vars for repo and branch --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb5f7f5..394b526 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -149,9 +149,9 @@ deploy_http_proxy_node: cat > user_data.txt <<EOF #!/bin/bash echo "$DEV_KEY" >> /root/.ssh/authorized_keys - git clone ${CI_REPO} /tmp/hpc-factory + git clone ${CI_REPOSITORY_URL} /tmp/hpc-factory cd /tmp/hpc-factory - git checkout ${CI_BRANCH} + git checkout ${CI_COMMIT_REF_NAME} ansible-playbook -c local -i 127.0.0.1, ansible/cheaha.yml | tee -a ansible.log EOF - > -- GitLab