Skip to content
Snippets Groups Projects
Commit 14830262 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

feat: Use predefined CI vars for repo and branch

parent e4565fed
No related tags found
No related merge requests found
Pipeline #11887 passed with stage
in 1 minute and 4 seconds
......@@ -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
- >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment