From 3a2f0c64a6baf3eeaffcdd02af714524847e4b4d Mon Sep 17 00:00:00 2001 From: abregman Date: Thu, 5 Dec 2019 00:24:31 +0200 Subject: [PATCH] Add scenario question --- README.md | 5 +++-- scenarios/ci_for_open_source_project.md | 12 ++++++++++++ scripts/count_questions.sh | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 scenarios/ci_for_open_source_project.md diff --git a/README.md b/README.md index f8ccb60..02ec598 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # DevOps Interview Questions -:information_source:  This repository contains interview questions on various DevOps and SRE related topics +:information_source:  This repository contains questions on various DevOps and SRE related topics :bar_chart:  There are currently **582** questions :books:  To learn more about DevOps check the resources in [DevOpsBit.com](https://devopsbit.com) -:warning:  The purpose of this repo is to help you test your knowledge and/or prepare for interviews. It doesn't represents a DevOps interview. Please read [Q&A](common-qa.md) for more details +:warning:  The purpose of this repo is to help you test your knowledge and prepare for interviews. It doesn't represents a DevOps interview. Please read [Q&A](common-qa.md) for more details :pencil:  You can add more questions & answers by submitting pull requests :) You can read more about it [here](CONTRIBUTING.md) @@ -4198,6 +4198,7 @@ Below you can find several scenario questions: * [Cloud Slack bot](scenarios/cloud_slack_bot.md) * [Jenkins: writing scripts](scenarios/jenkins_scripts.md) * [Jenkins: writing pipelines](scenarios/jenkins_pipelines.md) +* [CI for open source project](scenarios/ci_for_open_source_project.md) ## Credits diff --git a/scenarios/ci_for_open_source_project.md b/scenarios/ci_for_open_source_project.md new file mode 100644 index 0000000..84a79a2 --- /dev/null +++ b/scenarios/ci_for_open_source_project.md @@ -0,0 +1,12 @@ +## CI for Open Source Project + +1. Choose an open source project from Github and fork it +2. Create a CI pipeline/workflow for the project you forked +3. The CI pipeline/workflow will include anything that is relevant to the project you forked. For example: + * If it's a Python project, you will run PEP8 + * If the project has unit tests directory, you will run these unit tests as part of the CI +4. In a separate file, describe what is running as part of the CI and why you chose to include it. You can also describe any thoughts, dilemmas, challenge you had + +### Bonus + +Containerize the app of the project you forked using any containerization technology you want. diff --git a/scripts/count_questions.sh b/scripts/count_questions.sh index 1b7dab7..25c22c5 100755 --- a/scripts/count_questions.sh +++ b/scripts/count_questions.sh @@ -1,3 +1,3 @@ #!/bin/bash -echo $((6 + $(cat README.md | grep \<\/summary\> | wc -l))) +echo $((7 + $(cat README.md | grep \<\/summary\> | wc -l)))