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
│ └── test_pipeline.py ← tests that must pass before you touch the Dockerfile
16
-
├── Dockerfile ← Task 3: write a cache-friendly Dockerfile
15
+
│ └── test_pipeline.py ← Task 3: provided tests; make them pass
16
+
├── Dockerfile ← Task 4: write a cache-friendly Dockerfile
17
17
├── requirements.txt ← Task 2: pin all dependencies
18
-
└── AI_ASSIST.md ← Task 7: document your LLM usage
18
+
└── AI_ASSIST.md ← Task 8: document your LLM usage
19
19
```
20
20
21
21
## Open in Codespaces
22
22
23
23
> 💻 [Open in GitHub Codespaces](https://github.com/codespaces/new/HackYourFuture/data-assignment-week-5)
24
24
25
-
Docker and the Azure CLI are pre-installed. Run `az login --use-device-code` before Task 6.
25
+
Docker and the Azure CLI are pre-installed. Before Task 7, sign in with your **HackYourFuture** account (not a personal Azure account), targeting the HackYourFuture tenant:
26
+
27
+
```bash
28
+
az login --use-device-code --tenant 07a14c4e-d88c-42f7-83b3-13af7e57ff3d
29
+
```
26
30
27
31
## Tasks at a glance
28
32
33
+
> These task numbers match the Week 5 assignment chapter in your HackYourFuture Notion curriculum.
34
+
29
35
| Task | What you do |
30
36
|---|---|
31
-
| 1: Choose a Pipeline | The starter `src/pipeline.py` has three functions with `raise NotImplementedError`. Implement them so the tests pass. |
32
-
| 2: Pin Dependencies | Fill in `requirements.txt` with pinned versions (`package==version`). |
33
-
| 3: Dockerfile | Complete the `Dockerfile` following the TODO comments. |
34
-
| 4: Configuration |`get_config()` must read `API_KEY` from the environment and raise a clear error if it is missing. |
35
-
| 5: CI Workflow | Replace the `echo "TODO"` steps in `ci.yml` with real commands. |
36
-
| 6: Push to ACR | Add Azure login + ACR push steps to your workflow; screenshot the result. |
37
-
| 7: AI Report | Fill in `AI_ASSIST.md` with your LLM prompt, the suggestion, and what you changed. |
37
+
| 1: Choose a Pipeline | The starter `src/pipeline.py` has three functions with `raise NotImplementedError`. Implement them so the provided tests pass. |
38
+
| 2: Define Dependencies | Fill in `requirements.txt` with pinned versions (`package==version`). |
39
+
| 3: Write Tests | The starter ships a full test suite in `tests/test_pipeline.py`. Make your Task 1 implementation pass it: `API_KEY=test pytest -q`. |
40
+
| 4: Write a Dockerfile | Complete the `Dockerfile` following the TODO comments. |
41
+
| 5: Add Configuration |`get_config()` must read `API_KEY` from the environment and raise a clear error if it is missing. |
42
+
| 6: Build a CI Workflow | Replace the `echo "TODO"` steps in `ci.yml` with real commands. |
43
+
| 7: Push to ACR | Add Azure login + ACR push steps to your workflow; screenshot the result. |
44
+
| 8: AI Report | Fill in `AI_ASSIST.md` with your LLM prompt, the suggestion, and what you changed. |
38
45
39
46
## How to run locally
40
47
@@ -44,7 +51,7 @@ pip install -r requirements.txt
44
51
API_KEY=test pytest -q
45
52
```
46
53
47
-
## How to run in Docker (after completing Task 3)
54
+
## How to run in Docker (after completing Task 4)
48
55
49
56
```bash
50
57
docker build -t my-pipeline:1.0 .
@@ -58,4 +65,4 @@ docker run --rm -e API_KEY=test my-pipeline:1.0
58
65
3. Push and open a Pull Request against `main`.
59
66
4. Share the PR URL with your teacher.
60
67
61
-
See the [full assignment instructions](https://hackyourfuture.github.io/datatrack/week-5/assignment)for Task 6 (ACR push) and the grading rubric.
68
+
See the [full assignment instructions](https://www.notion.so/hackyourfuture/Assignment-Containerize-and-Ship-2af50f64ffc9819ab20cde5165c0069e) in your HackYourFuture Notion curriculum for the Task 7 (ACR push) steps.
0 commit comments