File size: 1,116 Bytes
7a06d56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# CI/CD Doctor 🛠️

An interactive environment where agents diagnose and fix broken CI/CD pipelines using command-based actions.

## 🧠 Instructions

You interact with a simulated pipeline using commands.

### Available Commands
- `run_pipeline` → Executes the pipeline  
- `view_logs` → Shows failure logs  
- `fix_yaml` → Fix configuration issues  
- `install_dependencies` → Resolves missing packages  

### Objective
Identify why the pipeline fails and fix it step-by-step until it passes.

---

## ✅ Example (Easy Scenario)

### Problem: Pipeline fails due to missing dependency (`flask` not found)

Step 1:
```
pipeline run
```

Step 2:
```
cat requirements.txt
```

Step 3:
```
echo "flask" >> requirements.txt
```

Step 4:
```
pipeline run
```

✅ Pipeline should now pass.

---

## ⚠️ Rules

- Always check logs before fixing  
- Use only available commands  
- Fix issues incrementally (don’t guess blindly)

---

## 🎯 Difficulty Levels

- Easy → Simple syntax/config issues  
- Medium → Dependency or environment problems  
- Hard → Multi-step failures requiring reasoning