This repo actually has very little to do with Ruby on Rails, I just needed a sample app to package so I wrote a "Hello World".
The real intent is to demonstrate modern methods of developping and managing apps in cloud environments. Because talk is nice, but functional code speaks louder!
More specifically, I'm using this repo to explore Kubernetes based apps
Before you can deploy the infra and everything else, you'll need to:
./tf_infra/main.tf and ./tf_k8s/main.tf to insert the state bucket information into the terraform configuration stanza at the top of the file.terraform workspace new myworkspaceYou're of course encouraged to issue plans and such, but the shortest path to sapwning the infra goes like this:
cd tf_infra
terraform init
terraform apply
cd ../tf_k8s
terraform init
terraform apply
The application is now deployed and the pipeline stands ready to update it. These steps are intended to be performed by pipelines too, in due time.
Content type
Image
Digest
Size
227 MB
Last updated
over 6 years ago
docker pull osodevops/hello-rails