- A GitHub account
- A TravisCI account
- A Docker hub account
- Local Docker installation
File devops-challenge.txt contains an encrypted text to be decrypted using AES 128 bit algorithm and a secret key. With the language of your choice follow these instructions in the next 72 hours to show the decrypted text:
- Create your own GitHub repo with the code
github.com/<GitHub_User>/<Challenge_Project>- clone this project, change its name and restructure it as you see fit in a maintainable logic way, you may use/examplefolder as a general guidline. - Write an application that will extract the encrypted message from devops-challenge.txt file.
- The key and link to the file have been provided separately, DO NOT COMMIT THEM, if they will be exposed to GitHub you will be disqualified.
- Create a docker container that will:
- Return
{ message: <DECRYPTED_MESSAGE> }to http://127.0.0.1:5000/message - Return
{ status: completed, container: <LINK_TO_DOKERHUB>, project: <LINK_TO_GITHUB> }to http://127.0.0.1:5000/status - Tip: use different routers
- Running docker-compose up should get everything up and running.
- Contain a minimal test suite.
- Create a Travis CI account, and add a
.travis.ymlthat will build, test and deploy your code and container/s. - Travis process should run on push to
masterbranch andpublishthe container to your own docker hub account. - Project should contain a well documented code, informative commit messages, and
SUMMARY.mdfile explaining each step of the development process. - Contain a
TROUBLE.mddescribing difficulties along the way and their solutions. - Contain a
INSTRUCTIONS.mdexplaining a cloning user how to use the repo - running, testing etc. verification.shshould run instantly, if you used a.envfile, share it privately in the returning email- To test the decryption you can use https://aesencryption.net/
- Once completed, reply to the challenge email:
Subject: SuperUp DevOps Challenge complete
Content: Name: <YOUR_NAME>
Project: <LINK TO GITHUB PROJECT>
Attached: `.env` (if you used one)
michael@superup.me