- Assignment needs to be submitted within 2 days after it is shared to candidate.
- This is to test the basic understanding of candidate's knowledge in the below areas,
- Git commands usage
- Knowledge on Containers
- Testing whether the candidate providing attention to necessary details as part of implementation
Please read and follow the instructions carefully
- Please create an user account in GitHub, if you don't have one.
- Create new repo in your GitHub to complete the assessment
- Alternatively you can clone this repo and add your code
- Step 1: Create a simple Python program to print,
"Hello cloud-engine labs!!"
- Step 2: Create a
Dockerfile
in the project to create a container image for the program in the repo - Step 3: Test the
Dockerfile
by building the image - Step 4: Run the image as a container. It should print the string
"Hello, cloud-engine labs!!"
- Step 5: Commit and Push the updated code into your GitHub repo
- Step 6: If you're able to create a
GitHub Action
workflow for the Docker CI automation, then you have an added advantage for the submission. - Step 7: Push the image into any container registry and share the image name as part of deliverable.
- Step 8: Run the container image on a specific port (of your choice)
- Step 9: Create docker-compose file and use the image from container registry
- Capture the output of All the Steps in a Google Document (If you can create the steps in README.md files that is good)
- Clearly mention the steps you have completed in your final documentation
- Share repository link from your GitHub account
- Share the google document link or README file link to work@cloudenginelabs.io
Note:
- Anytime if you have questions, please drop a note to work@cloudenginelabs.io