Differences

This shows you the differences between two versions of the page.

Link to this comparison view

devops:laboratoare:06 [2022/07/29 13:34]
bogdan.croitoru
devops:laboratoare:06 [2022/07/29 18:35] (current)
bogdan.croitoru
Line 1: Line 1:
 ===== FINAL PROJECT ===== ===== FINAL PROJECT =====
  
-1. (5p) Create a new student<​number>​ branch from the following Git repository: ​<​TO_BE_PROVIDED>​, starting from branch develop+1. (5p) Create a new student<​number>​ branch from the following Git repository: ​https://​gitlab.sschool.ro.thales/​oana/​devops-ss-2022/​-/​tree/​develop, starting from branch develop
  
  
-2. (5p) Modify the Jenkinsfile and add a new stage that will execute the "ps -aux" command. Select your term-vm as the running node (also from the Jenkinsfile) +2. (5p) Modify the Jenkinsfile and add a new stage that will execute the "ps -aux" command. Select your term-vm as the running node (also from the Jenkinsfile) 
-3. (5p) Filter out the output of the above command by searching for the Jenkins Java process and redirect it to a "​process_details.txt"​ file+ 
 + 
 +3. (5p) Filter out the output of the above command by searching for the Jenkins Java process and redirect it to a "​process_details.txt"​ file
 <​note>​You can use a specific command to filter by "​home\/​jenkins"</​note>​ <​note>​You can use a specific command to filter by "​home\/​jenkins"</​note>​
-4. (5p) Add a post block with "​always"​ option, "​archiveArtifacts"​ to select all the "​*.txt"​ files + 
-5. (5p) Create a new file in the repo root with the name "​exam.sh"​+ 
 +4. (5p) Add a post block with "​always"​ option, "​archiveArtifacts"​ to select all the "​*.txt"​ files 
 + 
 + 
 +5. (5p) Create a new file in the repo root with the name "​exam.sh"​
         Add a shebang and print the following text: "I am <​NAME>​ and I will get a nice grade!"​         Add a shebang and print the following text: "I am <​NAME>​ and I will get a nice grade!"​
         Commit and push and check the Jenkins triggered job.         Commit and push and check the Jenkins triggered job.
Line 31: Line 37:
 <note tip>​Hint:​ **-it** for running docker containers will block the terminal. Before you use it in Jenkins make sure if you actually need it.</​note>​ <note tip>​Hint:​ **-it** for running docker containers will block the terminal. Before you use it in Jenkins make sure if you actually need it.</​note>​
  
-8. (5p) Check the "​my.yaml"​ file in your branch and fix the problems. +8. 
-   ​(10p) Set the following properties:+  * (5p) Check the "​my.yaml"​ file in your branch and fix the problems. 
 +  ​* ​(10p) Set the following properties:
 <​note>​ <​note>​
   * metadata => name: student<​number>​   * metadata => name: student<​number>​
Line 47: Line 54:
 11. (5p) Create a pull request to the "​develop"​ branch 11. (5p) Create a pull request to the "​develop"​ branch
  
-12. (5p) Complete feedback form+12. (5p) Complete feedback form, located here: https://​forms.gle/​Jwp9RoaBUHSYJ4uv5
  
devops/laboratoare/06.1659090856.txt.gz · Last modified: 2022/07/29 13:34 by bogdan.croitoru
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0