Skip to content

Commit

Permalink
doc: add the tool versions in toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
tungbq committed Feb 29, 2024
1 parent e16649e commit 6d37c54
Showing 1 changed file with 30 additions and 9 deletions.
39 changes: 30 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,64 @@ Before you begin, make sure you have [Docker](https://docs.docker.com/engine/ins
## How to Build

**1. Clone the Repository:**
```bash
git clone https://github.com/tungbq/devops-toolkit.git
```

```bash
git clone https://github.com/tungbq/devops-toolkit.git
```

**2. Navigate to the Repository:**
```bash
cd devops-toolkit
```

```bash
cd devops-toolkit
```

**3. Build the DevOps toolkit image:**

```bash
docker build -t devops-toolkit:latest .
```
```bash
docker build -t devops-toolkit:latest .
```

**4. Run the toolkit Image:**

- Start container

```bash
docker run -it --rm devops-toolkit:latest
```

- Check python version

```bash
docker run --rm devops-toolkit:latest python3 --version
```

<!-- **5. Customize the Build (Optional):** -->

## Use the image from Docker Hub

- To be implemented

## Test the image

Run below command to verify newly created image

```bash
cd scripts
chmod +x check_version_in_toolkit.sh
.check_version_in_toolkit.sh devops-toolkit:latest
```

## The DevOps Toolkit

| Name | Version | Release |
| :-------- | :---------------------- | :------------------------------------------------------------------------------------------------- |
| Python | PYTHON_VERSION=3.11.3 | [Check](https://www.python.org/downloads/source/) |
| Ansible | ANSIBLE_VERSION=2.16.4 | [Check](https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html) |
| Terraform | TERRAFORM_VERSION=1.7.4 | [Check](https://releases.hashicorp.com/terraform/) |
| Kubectl | KUBECTL_VERSION=1.29.2 | [Check](https://dl.k8s.io/release/stable.txt) |
| Helm | HELM_VERSION=3.14.2 | [Check](https://github.com/helm/helm/releases) |
| Awscli | AWSCLI_VERSION=2.15.24 | [Check](https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst) |

## Contributing

- See: [CONTRIBUTING.md](./CONTRIBUTING.md)
Expand Down

0 comments on commit 6d37c54

Please sign in to comment.