forked from anmolnagpal/devops-machine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: tools version and dockerfile lints
- Loading branch information
Showing
4 changed files
with
157 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Sanity_Checks | ||
name: Sanity Checks | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,159 @@ | ||
|
||
|
||
<!-- This file was automatically generated by the `geine`. Make all changes to `README.yaml` and run `make readme` to rebuild this file. --> | ||
![Banner](https://github.com/clouddrove/terraform-module-template/assets/119565952/67a8a1af-2eb7-40b7-ae07-c94cde9ce062) | ||
<h1 align="center"> | ||
DevOps Machine | ||
DevOps Machine | ||
</h1> | ||
<p align="center" style="font-size: 1.2rem;"> DevOps machine using docker </p> | ||
|
||
<hr /> | ||
<p align="center" style="font-size: 1.2rem;"> | ||
A comprehensive Docker-based DevOps environment equipped with essential tools like Terraform, Ansible, Helm, and more. | ||
</p> | ||
|
||
<p align="center"> | ||
<a href='https://facebook.com/sharer/sharer.php?u=https://github.com/clouddrove/devops-machine'> | ||
<img title="Share on Facebook" src="https://user-images.githubusercontent.com/50652676/62817743-4f64cb80-bb59-11e9-90c7-b057252ded50.png" /> | ||
</a> | ||
<a href='https://www.instagram.com/cloud_drove?igsh=cHJqaDY3bGtnYmh3' title="Follow On Instagram"> | ||
<img src="https://github.com/gauravghongde/social-icons/blob/master/SVG/Color/Instagram.svg" width="23" height="23" /> | ||
</a> | ||
<a href='https://www.linkedin.com/shareArticle?mini=true&title=devops-machine&url=https://github.com/clouddrove/devops-machine'> | ||
<img title="Share on LinkedIn" src="https://user-images.githubusercontent.com/50652676/62817742-4e339e80-bb59-11e9-87b9-a1f68cae1049.png" /> | ||
</a> | ||
<a href='https://twitter.com/intent/tweet/?text=devops-machine&url=https://github.com/clouddrove/devops-machine'> | ||
<img title="Share on Twitter" src="https://user-images.githubusercontent.com/50652676/62817740-4c69db00-bb59-11e9-8a79-3580fbbf6d5c.png" /> | ||
</a> | ||
</p> | ||
|
||
--- | ||
|
||
This repository offers a comprehensive Docker-based environment configured with a robust set of DevOps tools, including Terraform, Ansible, Helm, and many more. This environment is designed to streamline DevOps workflows, automate tasks, and enhance productivity.. | ||
|
||
## 🚀 Features | ||
|
||
- **Docker-Based Environment**: | ||
- Run all tools within an isolated Docker container. | ||
- **Phusion/baseimage (jammy-1.0.4)** | ||
- **SSH access enabled** | ||
- **Custom user 'ubuntu' with sudo privileges.** | ||
- **ZSH shell with Oh My Zsh framework and all necessary plugins.** | ||
- **Added aliase for tools command in aliases.conf file.** | ||
- **Mounted volumes in docker-compose file for persistence data.** | ||
- **Added extra shell configuration in extra.conf** | ||
- **Various development and operations and pre-installed tools with the latest version.** | ||
- **Pre-installed Tools**: | ||
- **Terraform**: v1.9.5 | ||
- **Ansible**: v10.3.0 | ||
- **Helm**: v3.15.1 | ||
- **Packer**: v1.11.2 | ||
- **Kubectl**: v1.31.0 | ||
- **AWS CLI**: v2.17.33 | ||
- **Azure CLI**: v2.63.0 | ||
- **GCloud CLI**: v490.0.0 | ||
- **K9s**: v0.32.5 | ||
- **TFSwitch**: v1.7.0 | ||
- **OpenTofu**: v1.8.0 | ||
- **Kubectx**: v0.9.4 | ||
- **Kubens**: v0.9.4 | ||
- **ZSH**: Pre-configured with Oh My ZSH | ||
|
||
## Setup DevOps Machine | ||
|
||
## Prerequisites | ||
- Docker and Docker Compose are installed on your host machine. | ||
- Make utility. | ||
|
||
## 🛠 Installation | ||
|
||
1. Clone the repository: | ||
```bash | ||
git clone https://github.com/clouddrove-sandbox/devops-machine.git | ||
cd devops-machine | ||
|
||
|
||
## 🛠 Build A Docker Image | ||
|
||
[![CircleCI](https://circleci.com/gh/anmolnagpal/devops-machine/tree/master.svg?style=svg)](https://circleci.com/gh/anmolnagpal/devops-machine/tree/master) | ||
1. Copy and paste this command (Dockerfile is located in .docker directory): | ||
```bash | ||
docker build -t devops-machine .docker/ | ||
## 1- Prepare machine: | ||
## 🔧 Running the DevOps Machine | ||
##### 1.0 - Install Docker | ||
1. To start the DevOps machine, use the following command: | ||
if you have it installed you can skip this step otherwise run this command: | ||
```bash | ||
make up | ||
|
||
``` | ||
brew install docker docker-compose | ||
``` | ||
2. To access the DevOps Machine Run this command: | ||
|
||
## 2- Prepare the Workspace: | ||
- Login with user: ubuntu | ||
- No password required. | ||
|
||
##### 2.0 - to create the workspace directory run the following command | ||
```bash | ||
make ssh | ||
``` | ||
mkdir ~/workspace | ||
cd ~/workspace | ||
``` | ||
now lets clone the devops-machine repository | ||
``` | ||
git clone https://github.com/anmolnagpal/devops-machine | ||
cd devops-machine | ||
``` | ||
Make sure that you are at master branch & have updated code | ||
``` | ||
git checkout master && git pull origin master | ||
``` | ||
## 3- Start machine: | ||
## ✨ Contributors | ||
##### 3.0 - Now lets bring the devops machine up | ||
Big thanks to our contributors for elevating our project with their dedication and expertise! But, we do not wish to stop there, would like to invite contributions from the community in improving these projects and making them more versatile for better reach. Remember, every bit of contribution is immensely valuable, as, together, we are moving in only 1 direction, i.e. forward. | ||
``` | ||
make up | ||
``` | ||
<a href="https://github.com/clouddrove/devops-machine/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=clouddrove/devops-machine&max" /> | ||
</a> | ||
<br> | ||
<br> | ||
##### 3.1 - Lets do the ssh into the devops machinea and start automation the things ;) | ||
If you're considering contributing to our project, here are a few quick guidelines that we have been following (Got a suggestion? We are all ears!): | ||
``` | ||
make ssh | ||
``` | ||
## ☑ Tools Added | ||
- **Fork the Repository:** Create a new branch for your feature or bug fix. | ||
- **Coding Standards:** You know the drill. | ||
- **Clear Commit Messages:** Write clear and concise commit messages to facilitate understanding. | ||
- **Thorough Testing:** Test your changes thoroughly before submitting a pull request. | ||
- **Documentation Updates:** Include relevant documentation updates if your changes impact it. | ||
- [X] PHP | ||
- [X] Packer | ||
- [X] Python | ||
- [X] Ansible | ||
- [X] Terraform | ||
- [X] Helm | ||
- [X] Kubectl | ||
## Feedback | ||
Spot a bug or have thoughts to share with us? Let's squash it together! Log it in our [issue tracker](https://github.com/clouddrove/enigma/issues), feel free to drop us an email at [[email protected]](mailto:[email protected]). | ||
## ☑ TODO | ||
Show some love with a ★ on [our GitHub](https://github.com/clouddrove/enigma)! if our work has brightened your day! – your feedback fuels our journey! | ||
- [ ] Add other devops tools | ||
## :rocket: Our Accomplishment | ||
## 👬 Contribution | ||
We have [*100+ Terraform modules*][terraform_modules] 🙌. You could consider them finished, but, with enthusiasts like yourself, we are able to ever improve them, so we call our status - improvement in progress. | ||
- Open pull request with improvements | ||
- Reach out with any feedback [![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/anmol_nagpal.svg?style=social&label=Follow%20anmolnagpal)](https://twitter.com/anmol_nagpal) | ||
- [Terraform Module Registry:](https://registry.terraform.io/namespaces/clouddrove) Discover our Terraform modules here. | ||
- [Terraform Modules for AWS/Azure Modules:](https://github.com/clouddrove/toc) Explore our comprehensive Table of Contents for easy navigation through our documentation for modules pertaining to AWS, Azure & GCP. | ||
- [Terraform Modules for Digital Ocean:](https://github.com/terraform-do-modules/toc) Check out our specialized Terraform modules for Digital Ocean. | ||
## Join Our Slack Community | ||
Join our vibrant open-source slack community and embark on an ever-evolving journey with CloudDrove; helping you in moving upwards in your career path. | ||
Join our vibrant Open Source Slack Community and embark on a learning journey with CloudDrove. Grow with us in the world of DevOps and set your career on a path of consistency. | ||
🌐💬What you'll get after joining this Slack community: | ||
- 🚀 Encouragement to upgrade your best version. | ||
- 🌈 Learning companionship with our DevOps squad. | ||
- 🌱 Relentless growth with daily updates on new advancements in technologies. | ||
Join our tech elites [Join Now][slack] 🚀 | ||
## Explore Our Blogs | ||
Click [here][blog] :books: :star2: | ||
## Tap into our capabilities | ||
We provide a platform for organizations to engage with experienced top-tier DevOps & Cloud services. Tap into our pool of certified engineers and architects to elevate your DevOps and Cloud Solutions. | ||
At [CloudDrove][website], has extensive experience in designing, building & migrating environments, securing, consulting, monitoring, optimizing, automating, and maintaining complex and large modern systems. With remarkable client footprints in American & European corridors, our certified architects & engineers are ready to serve you as per your requirements & schedule. Write to us at [[email protected]](mailto:[email protected]). | ||
<p align="center">We are <b> The Cloud Experts!</b></p> | ||
<hr /> | ||
<p align="center">We ❤️ <a href="https://github.com/clouddrove">Open Source</a> and you can check out <a href="https://registry.terraform.io/namespaces/clouddrove">our other modules</a> to get help with your new Cloud ideas.</p> | ||
[website]: https://clouddrove.com | ||
[blog]: https://blog.clouddrove.com | ||
[slack]: https://www.launchpass.com/devops-talks | ||
[github]: https://github.com/clouddrove | ||
[linkedin]: https://cpco.io/linkedin | ||
[twitter]: https://twitter.com/clouddrove/ | ||
[email]: https://clouddrove.com/contact-us.html | ||
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language= |