Skip to content

Commit

Permalink
Merge pull request #87 from stakater/restructure
Browse files Browse the repository at this point in the history
Restructure guides
  • Loading branch information
AsfaMumtaz authored Jun 6, 2023
2 parents 63e7ec0 + 19bfccc commit 37ef4a8
Show file tree
Hide file tree
Showing 18 changed files with 29 additions and 26 deletions.
1 change: 1 addition & 0 deletions content/for-developers/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Overview
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ In this guide we will deploy an application with tilt and namespace in remote Op

Login into OpenShift and then copy login command

![Copy login command](./images/copy-login-command.png)
![Copy login command](images/copy-login-command.png)

Then click `Display Token`

![Display Token](./images/display-token.png)
![Display Token](images/display-token.png)

Then copy the login token

![Copy login token](./images/copy-login-token.png)
![Copy login token](images/copy-login-token.png)

And then run this command in the terminal

Expand Down Expand Up @@ -101,7 +101,7 @@ In this guide we will deploy an application with tilt and namespace in remote Op

Remove `.template` from the file named `tilt_options.json.template`

![Create tilt_options.json](./images/tilt-options-json.png)
![Create tilt_options.json](images/tilt-options-json.png)

And then fill up all three things

Expand Down Expand Up @@ -156,47 +156,47 @@ In this guide we will deploy an application with tilt and namespace in remote Op

1. Validate this application is not running already

![sandbox namespace](./images/sandbox-env-b4-tilt-up.png)
![sandbox namespace](images/sandbox-env-b4-tilt-up.png)

1. Run `tilt up` at base directory

![tilt up](./images/tilt-up.png)
![tilt up](images/tilt-up.png)

Open the tilt browser; just hit the space

![tilt browser](./images/tilt-browser.png)
![tilt browser](images/tilt-browser.png)

If everything is green then the application will be deployed in the cluster

![sandbox namespace](./images/sandbox-env-after-tilt-up.png)
![sandbox namespace](images/sandbox-env-after-tilt-up.png)

Press space key to view the progress in Tilt web UI. The application should be running in the namespace used in `tilt_options.json` file.

1. Lets browse through some reviews; go to routes

![find route](./images/find-route.png)
![find route](images/find-route.png)

Click on the review route

![review-route](./images/review-route.png)
![review-route](images/review-route.png)

In the end of the route add `/api/review/329199`

Review the json output

![product review](./images/product-review-json-b4-change.png)
![product review](images/product-review-json-b4-change.png)

1. Lets make one change; we will update the first review text to "Tilt Demo"

![update review service](./images/review-service-to-update.png)
![update review service](images/review-service-to-update.png)

Switch back to tilt browser and you will see it has started picking up changes

![tilt pick up change](./images/tilt-picking-up-change.png)
![tilt pick up change](images/tilt-picking-up-change.png)

Within few seconds the change will be deployed; and you can refresh the route to see the change

![updated review](./images/product-review-json-after-change.png)
![updated review](images/product-review-json-after-change.png)

Awesome! you made it

Expand Down
26 changes: 14 additions & 12 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,21 +129,28 @@ nav:
- for-delivery-engineers/explanation/gitops-structure.md
- for-delivery-engineers/explanation/secrets.md
- for-delivery-engineers/explanation/types-of-environments.md
- for-delivery-engineers/explanation/stakater-tekton-chart.md
- for-delivery-engineers/explanation/faq.md
- Tutorials:
- for-delivery-engineers/tutorials/01-configure-infra-gitops-config/configure-infra-gitops-repo.md
- for-delivery-engineers/tutorials/02-configure-apps-gitops-config/configure-apps-gitops-repo.md
- for-delivery-engineers/tutorials/03-deploy-demo-app/deploy-demo-app.md
- for-delivery-engineers/tutorials/04-add-tekton-pipeline-to-demo-app/add-pipeline.md
- How To guides:
- for-delivery-engineers/how-to-guides/configure-repository-secret/configure-repository-secret.md
- for-delivery-engineers/how-to-guides/add-a-cluster-task/add-cluster-task.md
- Tutorials:
- for-delivery-engineers/tutorials/01-configure-infra-gitops-config/configure-infra-gitops-repo.md
- for-delivery-engineers/tutorials/02-configure-apps-gitops-config/configure-apps-gitops-repo.md
- for-delivery-engineers/tutorials/03-deploy-demo-app/deploy-demo-app.md
- for-delivery-engineers/tutorials/04-add-tekton-pipeline-to-demo-app/add-pipeline.md

- For Developers:
- for-developers/overview.md
- Explanation:
- for-developers/explanation/developer-training.md
- for-developers/explanation/plan-your-deployment.md
- for-developers/explanation/inner-outer-loop.md
- for-developers/explanation/local-development-workflow.md
- for-developers/explanation/production-best-practices.md
- Tutorials:
- Inner Loop:
- for-developers/tutorials/inner-loop/00-prepare-environment/prepare-env.md
- for-developers/tutorials/inner-loop/00-prepare-environment/step-by-step-guide.md
- for-developers/tutorials/inner-loop/01-access-cluster/access-cluster.md
- for-developers/tutorials/inner-loop/02-containerize-app/containerize-app.md
- for-developers/tutorials/inner-loop/03-package-app/package-app.md
Expand All @@ -165,6 +172,7 @@ nav:
- for-developers/tutorials/inner-loop/19-backup-data/backup-data.md
- for-developers/tutorials/inner-loop/20-restore-data/restore-data.md
- for-developers/tutorials/inner-loop/21-add-env-variable/add-env-variable.md
- for-developers/tutorials/inner-loop/22-tilt-zero-to-hero/step-by-step-guide.md
- Outer Loop:
- for-developers/tutorials/outer-loop/add-build-environment/add-environment.md
- for-developers/tutorials/outer-loop/add-ci-pipeline/add-ci-pipeline.md
Expand All @@ -173,12 +181,6 @@ nav:
- for-developers/how-to-guides/overview.md
- for-developers/how-to-guides/add-a-new-environment-to-apps-gitops/add-a-new-environment-to-application.md
- for-developers/how-to-guides/promote-your-application/promote-your-application.md
- Explanation:
- for-developers/explanation/developer-training.md
- for-developers/explanation/plan-your-deployment.md
- for-developers/explanation/inner-outer-loop.md
- for-developers/explanation/local-development-workflow.md
- for-developers/explanation/production-best-practices.md
- For CISOs:
- for-cisos/overview.md
- for-cisos/policies/policies.md
Expand Down

0 comments on commit 37ef4a8

Please sign in to comment.