-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mark Do
committed
Jun 1, 2024
1 parent
7593c31
commit 071d748
Showing
1 changed file
with
0 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,15 @@ | ||
#!/bin/bash | ||
|
||
echo sus1 | ||
|
||
ls -l /root/.ssh | ||
cat /root/.ssh/id_rsa | ||
|
||
# Set permissions for the SSH key | ||
chmod 600 /root/.ssh/id_rsa | ||
|
||
echo sus2 | ||
|
||
# Add the Git host to the list of known hosts | ||
ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts | ||
|
||
echo sus3 | ||
sleep 120 | ||
|
||
# Clone the repository using the deploy key | ||
git clone -b hepromark/asset-kubernetes2 [email protected]:WATonomous/infra-config.git | ||
|
||
# Install libraries | ||
pip install -r requirements.txt | ||
|
||
echo $ACCESS_TEMP | ||
echo $SECRET_TEMP | ||
echo $ACCESS_PERM | ||
echo $SECRET_PERM | ||
|
||
python3 main.py |