Skip to content

Commit de1bc7e

Browse files
authored
Initial commit
0 parents  commit de1bc7e

File tree

12 files changed

+262
-0
lines changed

12 files changed

+262
-0
lines changed

.github/CONTRIBUTING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Contributing to Microsoft Learning Repositories
2+
3+
MCT contributions are a key part of keeping the lab and demo content current as the Azure platform changes. We want to make it as easy as possible for you to contribute changes to the lab files. Here are a few guidelines to keep in mind as you contribute changes.
4+
5+
## GitHub Use & Purpose
6+
7+
Microsoft Learning is using GitHub to publish the lab steps and lab scripts for courses that cover cloud services like Azure. Using GitHub allows the course’s authors and MCTs to keep the lab content current with Azure platform changes. Using GitHub allows the MCTs to provide feedback and suggestions for lab changes, and then the course authors can update lab steps and scripts quickly and relatively easily.
8+
9+
> When you prepare to teach these courses, you should ensure that you are using the latest lab steps and scripts by downloading the appropriate files from GitHub. GitHub should not be used to discuss technical content in the course, or how to prep. It should only be used to address changes in the labs.
10+
11+
It is strongly recommended that MCTs and Partners access these materials and in turn, provide them separately to students. Pointing students directly to GitHub to access Lab steps as part of an ongoing class will require them to access yet another UI as part of the course, contributing to a confusing experience for the student. An explanation to the student regarding why they are receiving separate Lab instructions can highlight the nature of an always-changing cloud-based interface and platform. Microsoft Learning support for accessing files on GitHub and support for navigation of the GitHub site is limited to MCTs teaching this course only.
12+
13+
> As an alternative to pointing students directly to the GitHub repository, you can point students to the GitHub Pages website to view the lab instructions. The URL for the GitHub Pages website can be found at the top of the repository.
14+
15+
To address general comments about the course and demos, or how to prepare for a course delivery, please use the existing MCT forums.
16+
17+
## Additional Resources
18+
19+
A user guide has been provided for MCTs who are new to GitHub. It provides steps for connecting to GitHub, downloading and printing course materials, updating the scripts that students use in labs, and explaining how you can help ensure that this course’s content remains current.
20+
21+
<https://microsoftlearning.github.io/MCT-User-Guide/>

.github/ISSUE_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Module: 00
2+
## Lab/Demo: 00
3+
### Task: 00
4+
#### Step: 00
5+
6+
Description of issue
7+
8+
Repro steps:
9+
10+
1.
11+
1.
12+
1.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Module: 00
2+
## Lab/Demo: 00
3+
4+
Fixes # .
5+
6+
Changes proposed in this pull request:
7+
8+
-
9+
-
10+
-

Allfiles/read-me.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Add any files that the learner needs to download in order t complete the exercises.
2+
These may include:
3+
- Code starter files
4+
- Data files
5+
- Scripts to setup a "starting point" for an exercises
6+
7+
If appropriate, organize the files into folders that correspond to the exercises (e.g. 01, 02, etc.)
8+
9+
In the lab instructions, include the steps that the learner needs to follow to get the files into their lab environment. Typically, this is accomplished by:
10+
- Instructing the learner to clone this repo (assumes they have Git installed and are sufficiently skilled to use it).
11+
- Providing hyperlinks to individual RAW files in this repo.
12+
13+
Delete this file after you've added your assets to the repo.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
lab:
3+
title: 'Exercise Title'
4+
---
5+
<!--
6+
Edit the metadata above to manage the list of exercises in the home page of the GitHub site that gets generated.
7+
You can delete the module and edit index.md in the root of the repo to customize the display so that only the exercises are listed
8+
To enable GitHub page publishing, edit the Page settings for the repo and publish from the main branch
9+
-->
10+
11+
# Exercise title <!-- match title in metadata above (and Learn Exercise unit and ILT slide)-->
12+
13+
In this exercise you will <!-- provide a description of what they'll do and why it;s important -->
14+
15+
This exercise should take approximately **XX** minutes to complete. <!-- update with estimated duration -->
16+
17+
## Before you start
18+
19+
<!--
20+
Add steps to get the learner to the starting point" for the exercise.
21+
This might be cloning the repo and running a script or performing some manual steps.
22+
Only include this section if its necessary to do some pre-exercise setup AND the same setup steps are required for self-paced (on Learn) and managed (in hosted ILT lab profiles) scenarios. Otherwise delete this section.
23+
If self-paced /ILT-specific setup steps are required, include them in the Learn "Exercise" unit from where they open this exercise and in the Skillable lab profile instructions before this markdown file is imported.
24+
-->
25+
26+
Before you can start this exercise, you will need to...
27+
28+
1. Step 1
29+
1. Step 2
30+
1. etc.
31+
32+
## Task <!-- Change to an appropriate task title with an imperative verb phrase (e.g. "Do something") -->
33+
34+
First, you need to ...
35+
36+
1. Step 1
37+
1. This step includes an example of `inline code formatting`, which is used when the learner needs to type something (anything, not just code) because it creates a [T] link in the hosted Skillable environment.
38+
1. If you need the learner to open a website, include both a link (so they can open by clicking in the HTML GitHub page) AND the URL formatted as code (so they can type it in a hosted VM browser). For example, "Open the [Bing](https://www.bing.com) website at `https://www.bing.com`".
39+
1. If you need the learner to download a file (or a bunch of files in a zip), store the file in Allfiles folder in this repo and use the **raw** URL - like this: "Download [file name](https://raw.githubusercontent.com/MicrosoftLearning/INF99X-SampleCourse/master/Allfiles/Labs/01/Starter/azuredeploy.json) from `https://raw.githubusercontent.com/MicrosoftLearning/INF99X-SampleCourse/master/Allfiles/Labs/01/Starter/azuredeploy.json`.
40+
1. Alternatively, for a developer audience, you can have them clone this repo if that seems more appropriate.
41+
1. If you need to include a multiline code block, indent it to match the bulleted list indent:
42+
43+
```python
44+
# This is an example of an
45+
# indented code block.
46+
```
47+
48+
1. If you need to include a acreenshot, resize it to an appropriate size (so any "normal" formatted text in a partial screenshot is roughly the same size as this text - generally try to make screenshots of full application windows 800x600px (approx)). Store images in a **Media** subfolder and use markdown to add it to the page (remembering that file and folder names are case-sensitive). If the image is in a list, indent it, like this:
49+
50+
![A screenshot of an application.](./Media/edge-copilot.png)
51+
52+
1. If you need to explain why something is done the way it is, or provide additional context or links to info, use a note like this:
53+
54+
> **Note**: This is a note.
55+
56+
1. Be flexible when providing instructions that might vary between self-paced and hosted lab environments. For example:
57+
- "Sign in using your Azure credentials" (assuming there were Learn-specific instructions to use a personal subscription or create a trial in the Learn exercise page, and ILT-specific instructions to use provided cloudslice credentials in the Skillable lab profile)
58+
- "Select an existing resource group or create a new one" (assuming that if a Skillable CS-R cloudslice is used, you included a note in the lab profile telling the learner which resource group they should use)
59+
<!-- The key point is that this markdown file should be environment-agnostic - you need to provide explicit details of things that can vary OUTSIDE of this file (in the Learn exercise page or the Skillable lab profile instructions) -->
60+
1. etc.
61+
62+
## Next task
63+
64+
Now let's, ...
65+
66+
1. Step 1
67+
1. Step 2
68+
1. etc.
69+
70+
## Task with subtasks
71+
72+
Sometimes you might want to break a taak down into smaller chunks.
73+
74+
### Subtask 1
75+
76+
1. Step 1
77+
1. Step 2
78+
1. Etc.
79+
80+
### Subtask 2
81+
82+
1. Step 1
83+
1. Step 2
84+
1. etc.
85+
86+
## Clean up
87+
88+
<!-- Good practice - especially as self-paced learners will be using their own subscriptions -->
89+
<!-- Delete this section if it is not needed -->
90+
91+
Now that you've finished the exercise, you should delete the cloud resources you've created to avoid unnecessary resource usage.
92+
93+
1. Step 1
94+
2. etc.
297 KB
Loading
3.45 KB
Loading

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Microsoft
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

_build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: '$(Date:yyyyMMdd)$(Rev:.rr)'
2+
jobs:
3+
- job: build_markdown_content
4+
displayName: 'Build Markdown Content'
5+
workspace:
6+
clean: all
7+
pool:
8+
vmImage: 'ubuntu-latest'
9+
container:
10+
image: 'microsoftlearning/markdown-build:latest'
11+
steps:
12+
- task: Bash@3
13+
displayName: 'Build Content'
14+
inputs:
15+
targetType: inline
16+
script: |
17+
cp /{attribution.md,template.docx,package.json,package.js} .
18+
npm install
19+
node package.js --version $(Build.BuildNumber)
20+
- task: GitHubRelease@0
21+
displayName: 'Create GitHub Release'
22+
inputs:
23+
gitHubConnection: 'github-microsoftlearning-organization'
24+
repositoryName: '$(Build.Repository.Name)'
25+
tagSource: manual
26+
tag: 'v$(Build.BuildNumber)'
27+
title: 'Version $(Build.BuildNumber)'
28+
releaseNotesSource: input
29+
releaseNotes: '# Version $(Build.BuildNumber) Release'
30+
assets: '$(Build.SourcesDirectory)/out/*.zip'
31+
assetUploadMode: replace
32+
- task: PublishBuildArtifacts@1
33+
displayName: 'Publish Output Files'
34+
inputs:
35+
pathtoPublish: '$(Build.SourcesDirectory)/out/'
36+
artifactName: 'Lab Files'

_config.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
remote_theme: MicrosoftLearning/Jekyll-Theme
2+
exclude:
3+
- readme.md
4+
- .github/
5+
header_pages:
6+
- index.html
7+
author: Microsoft Learning
8+
twitter_username: mslearning
9+
github_username: MicrosoftLearning
10+
plugins:
11+
- jekyll-sitemap
12+
- jekyll-mentions
13+
- jemoji
14+
markdown: kramdown
15+
kramdown:
16+
syntax_highlighter_opts:
17+
disable : true

0 commit comments

Comments
 (0)