Clone with a Difference
Clone with a Difference
Difficulty:
Clone a code repository. Get hints for this challenge from Bow Ninecandle in the Elfen Ring.
Elf Introduction
Talk to Bow Ninecandle
Well hello! I'm Bow Ninecandle!
Have you ever used Git before? It's so neat!
It adds so much convenience to DevOps, like those times when a new person joins the team.
They can just clone the project, and start helping out right away!
Speaking of, maybe you could help me out with cloning this repo?
I've heard there's multiple methods, but I only know how to do one.
If you need more help, check out the panel of very senior DevOps experts.
Hints and Resources
Hints from Bow Ninecandle's introduction
HTTPS Git Cloning
There's a consistent format for Github repositories cloned via HTTPS. Try converting!
Solution
Open the terminal next to Bow Ninecandle
The terminal tells us that the git command to clone the repository,
git clone git@haugfactory.com:asnowball/aws_scripts.git
isn't working.
Git repositories can typically be accessed either by SSH (if authenticated) or HTTPS (if public). The format the terminal shows us is for SSH.
Format | Syntax |
---|---|
SSH | git@<server>:<user>/<repo> |
HTTPS | https://<server>/<user>/<repo> |
Using the HTTPS format for the repository allows us to clone it, then we just need to examine the README.md file to find the last word in it, then runtoanswer to submit the answer.
git clone https://haugfactory.com/asnowball/aws_scripts
cat aws_scripts/README.md
runtoanswer
What's the last word in the README.md file for the aws_scripts repo?
maintainers
Completion
Talk to Bow Ninecastle
Wow - great work! Thank you!
Say, if you happen to be testing containers for security, there are some things you should think about.
Developers love to give ALL TeH PERMz so that things "just work," but it can cause real problems.
It's always smart to check for excessive user and container permissions.
You never know! You might be able to interact with host processes or filesystems!