Skip to content

Week14/halyna - #6

Open
halyna1995 wants to merge 4 commits into
HackYourAssignment:mainfrom
halyna1995:week14/halyna
Open

Week14/halyna#6
halyna1995 wants to merge 4 commits into
HackYourAssignment:mainfrom
halyna1995:week14/halyna

Conversation

@halyna1995

Copy link
Copy Markdown

What I built

  • Bicep entry template: main.bicep (params incl. environment, @secure(), module call, outputs)
  • Storage module: modules/storage.bicep (storage account + nested raw and curated containers, Environment tag)
  • Deploy evidence: docs/deploy_succeeded.txt, docs/what_if.txt, docs/portal_confirm.md
  • Teammate write-up: WRITEUP.md
  • AI usage: AI_ASSIST.md
  • (Optional) extras under docs/optional/

How to review

  • Bicep: read main.bicep and modules/storage.bicep (param / output / @secure() / module / both nested containers).
  • Evidence: docs/deploy_succeeded.txt shows Succeeded; docs/what_if.txt is real CLI output; docs/portal_confirm.md names the account, both containers, and the teardown line.
  • Write-ups: WRITEUP.md and AI_ASSIST.md.

How to run

From a clean clone, with Azure CLI signed into the HYF tenant:

az login --use-device-code --tenant 07a14c4e-d88c-42f7-83b3-13af7e57ff3d
export CLASS_RG=rg-hyf-students   # replace if your teacher gave a different name
az bicep version || az bicep install
bash .hyf/test.sh

Deploy (example: use your own globally unique storage name and never commit the secure value).
This is the post-Task-1 shape; drop environment=dev if you have not added that parameter yet,
because Azure rejects a parameter the template does not declare:

az deployment group create \
  --resource-group "$CLASS_RG" \
  --template-file main.bicep \
  --parameters storageName=<unique-name> environment=dev dbAdminPassword=not-a-real-secret

Prerequisite: you can write into $CLASS_RG with the HYF student IaC role.

What reviewers should see (expected results)

Fill in what your deploy actually produced:

  • Storage account name: <e.g. sthyfjane01>
  • Blob container names: <e.g. raw and curated>
  • provisioningState in docs/deploy_succeeded.txt: <e.g. Succeeded>
  • bash .hyf/test.sh score: <e.g. 100 / 100, pass=true>
  • Teardown: <e.g. deleted account (and nested container) after evidence captured>

Known limitations / out of scope

  • <e.g. optional Airbyte / AI enrichment not attempted>
  • Write "none" if everything in the assignment is done and working.

Self-check

  • bash .hyf/test.sh passes
  • Storage account and both nested blob containers (raw, curated) exist(ed) in $CLASS_RG
  • @secure() present; no credentials / .env / *.parameters.json committed
  • docs/what_if.txt is real CLI output (not a paraphrase)
  • Resources from this assignment were torn down, and docs/portal_confirm.md records it (or documents the blocked delete)

halyna1995 and others added 4 commits August 2, 2026 14:28
This workflow defines two jobs: 'what-if' for previewing deployments on pull requests and 'deploy' for applying deployments on pushes to the main branch.
Resolve portal_confirm for the student write-up, keep the student name
line with the restored README teardown guidance, and remove the nested
c55-data-week-14 gitlink that broke actions/checkout.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

📝 HackYourFuture auto grade

Assignment Score: 100 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 60
🧪 The auto grade is experimental and still being improved

Test Details

=== Week 14 Autograder ===
  ✓ PASS  found main.bicep
  ✓ PASS  found modules/storage.bicep
  ✓ PASS  found docs/deploy_succeeded.txt
  ✓ PASS  found docs/what_if.txt
  ✓ PASS  found docs/portal_confirm.md
  ✓ PASS  found WRITEUP.md
  ✓ PASS  found AI_ASSIST.md
  ✓ PASS  found README.md
  ✓ PASS  Level 1: required files (20/20 pts)
  ✓ PASS  main.bicep has an @secure() parameter
  ✓ PASS  main.bicep calls a module
  ✓ PASS  declares a storage account resource
  ✓ PASS  declares a nested blob container resource
  ✓ PASS  main.bicep declares param environment
  ✓ PASS  environment tag wiring present (param environment + tags:)
  ✓ PASS  second nested container (curated) present
  ✓ PASS  Level 2: Bicep baseline + extensions (35/35 pts)
  ✓ PASS  docs/deploy_succeeded.txt looks like real deploy output
  ✓ PASS  docs/what_if.txt looks populated
  ✓ PASS  docs/portal_confirm.md has student notes
  ✓ PASS  Level 3: deploy evidence (25/25 pts)
  ✓ PASS  WRITEUP.md looks filled in
  ✓ PASS  AI_ASSIST.md looks filled in
  ✓ PASS  Level 4: write-up + AI report (20/20 pts)

Score: 100 / 100  (passing: 60)  pass=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant