Skip to content

Latest commit

 

History

History
 
 

samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Sample code for tools inside toolkit

First step

Start and dive into the container

docker run -it --rm tungbq/devops-toolkit:latest

Congrats! You now in the container and able to run the tooling sample inside toolkit, the console will look like:

root@05cf97a07b19:~#

Python

python3 samples/python/rectangle_area_calculator.py

Ansible

ansible-playbook samples/ansible/check_os.yml

Terraform

#  Navigate to Terraform sample
pushd samples/terraform/basic
# Init the terraform
terraform init
# Apply change, select 'yes' to confirm
terraform apply
# Once done, destroy the infra, select 'yes' to confirm
terraform destroy
popd

Kubectl

# Check Kubectl version
kubectl version

Helm

# Add Helm Chart repository
helm repo add bitnami https://charts.bitnami.com/bitnami
# Search Helm Chart Repository for Jenkins
helm search repo bitnami | grep jenkins

AwsCLI

  • TODO

AzureCLI

  • TODO