Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Goal
<!-- What does this PR accomplish? -->

## Changes
<!-- What was modified? List main files or areas. -->

## Testing
<!-- How was it verified? (e.g. manual test, commands run, screenshots) -->

---

### Checklist
- [ ] Clear, descriptive PR title
- [ ] Documentation/README updated (if needed)
- [ ] No secrets or large temporary files committed
18 changes: 18 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v5
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
54 changes: 54 additions & 0 deletions labs/submission8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Lab 8 Solution

## Task 1

Outputs:

![all stats](<./Снимок экрана 2026-03-23 131725.png>)

Top CPU and memory consumers (Cursor server/extension host, cassandra DB):

![top cpu and mem](<./Снимок экрана 2026-03-23 132009.png>)

Top I/O consumers (sdd, main WSL root disk):

![top IO](<./Снимок экрана 2026-03-23 132134.png>)

Disk Usage:

```bash
(base) lexi@lexandrinnnt:~/DevOps-Intro$ df -h
du -h /var | sort -rh | head -n 10
Filesystem Size Used Avail Use% Mounted on
none 7.6G 0 7.6G 0% /usr/lib/modules/6.6.87.2-microsoft-standard-WSL2
none 7.6G 4.0K 7.6G 1% /mnt/wsl
drivers 895G 322G 574G 36% /usr/lib/wsl/drivers
/dev/sdd 1007G 79G 877G 9% /
none 7.6G 304K 7.6G 1% /mnt/wslg
none 7.6G 0 7.6G 0% /usr/lib/wsl/lib
rootfs 7.6G 2.7M 7.6G 1% /init
none 7.6G 944K 7.6G 1% /run
none 7.6G 0 7.6G 0% /run/lock
none 7.6G 1.1M 7.6G 1% /run/shm
none 7.6G 76K 7.6G 1% /mnt/wslg/versions.txt
none 7.6G 76K 7.6G 1% /mnt/wslg/doc
C:\ 895G 322G 574G 36% /mnt/c

(base) lexi@lexandrinnnt:~/DevOps-Intro$ sudo find /var -type f -exec du -h {} + | sort -rh | head -n 3
1.4G /var/lib/mongodb/collection-47-8162888075226237177.wt
1.1G /var/lib/postgresql/16/main/base/16452/16473
1.1G /var/lib/postgresql/16/main/base/16421/16445
```

Reflection: I really should remove all databases that I used in the past :D

## Task 2

I created API check for yandex afisha and browser check for German Wikipedia.
Checks succeeded!!! But it was difficult :(

![overview](<./Снимок экрана 2026-03-23 211137.png>)

![api check](<./Снимок экрана 2026-03-23 211627.png>)

![browser check](<./Снимок экрана 2026-03-23 211954.png>)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.