Week 5 Class 10 Thu Feb 15 Posted: Feb 15
After Class
Project 1
I posted my current version of feedback for Project 1 in your GitHub repository. It is in the branch feedback in the file Report.md. Best to view it on GitHub.
If you can use gh browse
, then you can go directly to it:
gh browse --branch feedback Report.md
If you are using WSL and gh browse
cannot open a browser, then you should try to fix that. You are in a DevOps course, and fixing stuff like that is common.
I will post scores in Brightspace once I am done with them, and will update this page.
The due date for Project 2 remains the same. However, I will allow changes to your Project 2 (based on feedback from Project 1) until Monday, Feb 26. The basics must be implemented by the original due date.
Announcements
Exercise 17: Entropy
This exercise is optional for CPSC 489 students, but required for CPSC 589 students.
Write a 1 page PDF that explains the relationship between the number of words in a Diceware password, the number of bits of entropy, and the estimated time it would take to break the password. For the estimated times, provide a reference or the calculation used.
End the paper with an argument for what length of Diceware password to use.
Upload the paper to Brightspace. This is due by 11:59:59 on Thu Feb 15.
Agenda
Exercise 24: SSH Config
Create your .ssh/config if you haven't already on your local machine.
Make sure it has a Host of devops which handles the devops server IP address, your username, and agent forwarding. If on macOS, customize it to your O.S.
Copy the .ssh/config from your local machine to the devops server in the same location:
scp ~/.ssh/config devops:.ssh/.
Verify on the devops server that the file copied and the contents are the same:
ssh devops tree -a
ssh devops cat .ssh/config
Note that the tree
command does not have to be installed on your local machine. You are running these commands on the devops
server where they are installed.
Create an asciinema screencast of applying the command rmcomment
to some source code.
However, in this case, the command will not be on the devops server, but in a Docker container.
Do not log into the devops server, but use the docker command as part of a pipe.
docker run -i mlcollard/srctools rmcomment
Exercise 23: DevOpsComplexity CMake III
Follow along and duplicate my changes to the CMake for the DevOps Complexity program.
All exercises are due by 4:30 pm on Wednesday, Feb 21