Skip to content

ido83/DevOps-home-assignment-junior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

DevOps-home-assignment-junior

  1. Fork the following repository https://github.com/pdurbin/maven-hello-world if you don’t know what fork is google it, apparently, they have a primitive yet quite an efficient device which could answer most of your questions, it’s called Google!
  2. Understand this repository - a. Which programming language is this?
    b. What is maven?
    c. How does maven work?
    d. What is this pom.xml everyone keeps mentioning?
  3. In order to build the above repository, use Azure Pipelines or GitHub Actions. Hint: GitHub Actions is easier
  4. Change the code: a. Add your name to the "Hello World" message.
    b. Set Jar version to 1.0.0
  5. Create a simple pipeline which would do the following actions: a. Increase the Patch part of the jar version ( 1.0.0 - > 1.0.1) automatically
    b. Compile the code
    c. Package it into an artifact
    d. Create an artifact item for the build
    e. Create a docker image containing the artifact - use Dockerfile:
    i. Tag the Docker image as the the Jar version automatically.
    ii. The Docker image shouldn't run with root
    f. Push the docker image that was created in the previous step to Docker Hub
    g. Download and run the docker image.
  6. Once it’s running, we would come and pick you up immediately

Bonus – do as much as possible from the above using Multistage Docker

If you encounter any issues with these primitive technologies, we highly recommend using Google, we believe you’ll be able to get most of the answers from this tool. Good Luck!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages