You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/guided-workshop/exercises/3-codespaces.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,10 @@ Custom containers for GitHub Codespaces become part of the source code for the r
95
95
96
96
1. Note the issue for defining a codespace is no longer listed; you completed it and marked it as such with your pull request!
97
97
98
+
## Configuring the codespace to run your website
99
+
100
+
101
+
98
102
## Summary and next steps
99
103
100
104
Congratulations! You have now defined a custom development environment including all services and extensions. This eliminates the initial setup hurdle normally required when contributing to a project. Let's use this codespace to explore the code and [implement testing](./4-testing.md) for the project.
Copy file name to clipboardExpand all lines: content/guided-workshop/exercises/7-create-environment.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,16 +210,6 @@ You've prepped everything on both Azure and your repository, and created the wor
210
210
211
211
The workflow will now run and create the resources! This will take several minutes. You may need to refresh the page to see it start running. Once running, you can navigate into the workflow run to view the log and track the progress.
212
212
213
-
1. When the workflow completes, return to your codespace.
214
-
1. Obtain the URL forthe newly created Azure Container App by entering the following commandin the terminal window:
215
-
216
-
```bash
217
-
az containerapp list --query "[].properties.configuration.ingress.fqdn" -o tsv
218
-
```
219
-
220
-
1. When prompted to install the extension, press <kbd>Enter</kbd> (or <kbd>return</kbd> on a Mac) to approve the installation.
221
-
1. Note the URL provided; you'll use it in the next exercise when you deploy your website!
222
-
223
213
## Summary and next steps
224
214
225
215
Congratulations! You have new defined a workflow which uses infrastructure as code (IaC) to create the resources necessary for deployment. This allows you to quickly create a consistent environment, reducing overhead and errors. Let's close everything out by [implementing continuous deployment](8-deployment.md).
Copy file name to clipboardExpand all lines: content/guided-workshop/exercises/8-deployment.md
+25-6Lines changed: 25 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,15 +93,34 @@ Because merging the workflow's [YML](https://en.wikipedia.org/wiki/YAML) into `m
93
93
94
94
1. Open your repository and selectthe**Actions** tab.
95
95
1. Select **Deploy to Azure** to open the information about this workflow.
96
-
1. Select the **Build and deploy Container App** step. Information about the deployment will be logged.
97
-
1. When the workflow completes, all sections will automatically collapse.
98
-
1. Reopen the **Build and deploy Container App** step. Note the URL displayed at the bottom, which will resemble the following: **some-url-here**.
99
-
1. Navigate to the URL. Interact with your newly deployed website!
96
+
1. When the workflow completes, return to your codespace.
97
+
1. Obtain the URL forthe newly created Azure Container App by entering the following commandin the terminal window:
98
+
99
+
```bash
100
+
az containerapp list --query "[].properties.configuration.ingress.fqdn" -o tsv
101
+
```
102
+
103
+
1. When prompted to install the extension, press <kbd>Enter</kbd> (or <kbd>return</kbd> on a Mac) to approve the installation.
104
+
1. The URL for the site you created will be displayed. If multiple are displayed, selectthe one which starts with the prefix you created previously.
105
+
1. Select the URL and copy it to the clipboard.
106
+
1. Open a new tab and enter the URL to navigate to the page.
107
+
1. Your website now displays, running in the cloud!
108
+
109
+

100
110
101
111
## Summary and next steps!
102
112
103
-
Congratulations!! You have now explored the core components to DevOps and how GitHub can support your development lifecycle. You started by creating a repository, then enabled settings to secure your code. You created issues to track your work, created an environment in which to code, and enabled testing for continuous integration. You modified code and explored the GitHub flow. And finally you deployed your application to the cloud. Using these skills, you can continue to build and grow your knowledge of DevOps.
113
+
Congratulations!! You have now explored the core components to DevOps and how GitHub can support a common development lifecycle. You started by creating a repository, then enabled settings to secure your code. You created issues to track your work, created an environment in which to code, and enabled testing for continuous integration. You modified code and explored the GitHub flow. And finally you deployed your application to the cloud. Using these skills, you can continue to build and grow your knowledge of DevOps.
104
114
105
-
<!-- Add deletion steps!! -->
115
+
>**IMPORTANT:**: If you are no longer going to use the resources deployed to Azure, you can delete them by running the following commandin the terminal window of your codespace:
116
+
>
117
+
>`az group delete -n pets-workshop --yes`
118
+
>
119
+
> The deletion of resources may take several minutes
- [Deploy to Amazon Elastic Container Service](https://docs.github.com/en/actions/deployment/deploying-to-your-cloud-provider/deploying-to-amazon-elastic-container-service)
125
+
- [Deploy to Google Kubernetes Engine](https://docs.github.com/en/actions/deployment/deploying-to-your-cloud-provider/deploying-to-google-kubernetes-engine)
126
+
- [GitHub Skills: Deploy to Azure](https://github.com/skills/deploy-to-azure)
0 commit comments