https://github.com/dipankardas011/devopsrole
Viridios AI aptitude test
https://github.com/dipankardas011/devopsrole
Last synced: 5 months ago
JSON representation
Viridios AI aptitude test
- Host: GitHub
- URL: https://github.com/dipankardas011/devopsrole
- Owner: dipankardas011
- Created: 2022-02-18T11:07:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T05:59:52.000Z (over 3 years ago)
- Last Synced: 2025-02-16T18:28:12.243Z (8 months ago)
- Language: Python
- Homepage:
- Size: 897 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Steps used to build app
## Task 1
### To build the docker & cluster```bash
docker build -t dipugodocker/co2app:latest .
docker run --rm -it dipugodocker/co2app:latest
kubectl apply -f .\kubDeploy.yaml
kubectl get pods
```
then i created the docker CI in github actions
which will run whenever there is a pull, push request### Output


## Task 2
### python output depending on the that particular dateit will check for the return from the python1
if it fails it will check for todays previous day
if not then yesterday's yesterday and so on
## CI/CD
`Used the github actions`
![]()