Skip to content

Commit 3cbe815

Browse files
chore: initial placeholder scaffold for azurelocal-sql-ha
0 parents  commit 3cbe815

25 files changed

Lines changed: 529 additions & 0 deletions

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @kristopherjturner
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug Report
3+
about: Report a problem with this project
4+
title: '[BUG] '
5+
labels: type/bug
6+
assignees: ''
7+
---
8+
9+
## Environment
10+
11+
| Field | Value |
12+
|-------|-------|
13+
| **Azure Local version** | e.g. 23H2, 22H2 |
14+
| **PowerShell version** | \\System.Management.Automation.PSVersionHashTable.PSVersion |
15+
16+
## What happened?
17+
18+
<!-- Describe what you ran and what went wrong -->
19+
20+
## Expected behavior
21+
22+
## Error message
23+
24+
\\\
25+
Paste the full error message here
26+
\\\
27+
28+
## Steps to reproduce
29+
30+
1.
31+
2.
32+
3.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Azure Local Documentation
4+
url: https://azurelocal.cloud
5+
about: Visit the main Azure Local documentation site
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Documentation
3+
about: Report missing, incorrect, or unclear documentation
4+
title: '[DOCS] '
5+
labels: type/docs
6+
assignees: ''
7+
---
8+
9+
## Page or Section
10+
11+
## What's Wrong or Missing?
12+
13+
## Suggested Improvement
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an improvement or new capability
4+
title: '[FEATURE] '
5+
labels: type/feature
6+
assignees: ''
7+
---
8+
9+
## Summary
10+
11+
## Problem / Use Case
12+
13+
## Proposed Solution
14+
15+
## Alternatives Considered

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## Summary
2+
3+
<!-- What does this PR do? One paragraph max. -->
4+
5+
## Related Issue
6+
7+
Closes #<!-- issue number -->
8+
9+
## Type of Change
10+
11+
- [ ] Bug fix
12+
- [ ] New feature / enhancement
13+
- [ ] Documentation update
14+
- [ ] Infrastructure / CI change
15+
- [ ] Refactor (no functional change)
16+
- [ ] Other:
17+
18+
## Testing Done
19+
20+
<!-- How did you test this? What environment, configuration, and scenarios? -->
21+
22+
## Checklist
23+
24+
- [ ] I have tested this in a non-production environment
25+
- [ ] I have updated the README or `docs/` if usage changed
26+
- [ ] I have added an entry to `CHANGELOG.md` under `[Unreleased]`
27+
- [ ] My code follows the project's style guidelines in `CONTRIBUTING.md`
28+
- [ ] My commit messages follow [Conventional Commits](https://www.conventionalcommits.org/)
29+
30+
## Standards Compliance
31+
32+
- [ ] Follows [repo structure standard](https://azurelocal.cloud/standards/repo-structure) (required files present)
33+
- [ ] Uses IIC fictional company in all examples (never Contoso)
34+
- [ ] No hardcoded IPs, names, secrets, or environment-specific values in committed code

.github/workflows/deploy-docs.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
- 'mkdocs.yml'
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: pages
18+
cancel-in-progress: false
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Python
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: '3.12'
31+
32+
- name: Install MkDocs Material
33+
run: pip install mkdocs-material
34+
35+
- name: Build site
36+
run: mkdocs build --strict
37+
38+
- name: Upload artifact
39+
uses: actions/upload-pages-artifact@v3
40+
with:
41+
path: site/
42+
43+
deploy:
44+
needs: build
45+
runs-on: ubuntu-latest
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
steps:
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v4
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release Please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Validate Repo Structure
2+
on:
3+
pull_request:
4+
branches: [main]
5+
6+
jobs:
7+
check-structure:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Check required root files
13+
run: |
14+
missing=0
15+
for f in README.md CONTRIBUTING.md LICENSE CHANGELOG.md .gitignore; do
16+
if [ ! -f "$f" ]; then
17+
echo "::error::Missing required file: $f"
18+
missing=$((missing + 1))
19+
fi
20+
done
21+
if [ $missing -gt 0 ]; then
22+
exit 1
23+
fi
24+
echo "All required root files present"
25+
26+
- name: Check required directories
27+
run: |
28+
missing=0
29+
for d in docs .github; do
30+
if [ ! -d "$d" ]; then
31+
echo "::error::Missing required directory: $d/"
32+
missing=$((missing + 1))
33+
fi
34+
done
35+
if [ $missing -gt 0 ]; then
36+
exit 1
37+
fi
38+
echo "All required directories present"

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Variables (never commit real values)
2+
config/variables.yml
3+
*.tfvars
4+
*.env
5+
*.secrets
6+
7+
# Build output
8+
site/
9+
10+
# OS
11+
.DS_Store
12+
Thumbs.db

0 commit comments

Comments
 (0)