Skip to content
Open
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
47 changes: 47 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on:
push:
workflow_dispatch:
jobs:
on-push-job:
if: github.event_name == 'push'
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@v4
- 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 }}
- name: Gather System Information
run: |
echo "### System Information ###"
echo "Runner OS: $(uname -a)"
echo "CPU Info: $(lscpu | grep 'Model name')"
echo "Memory: $(free -h)"
echo "Disk Space: $(df -h)"
echo "GitHub Runner Version: $(./run.sh --version 2>&1 || echo 'Not available')"
echo "Environment Variables:"
printenv | sort
- run: echo "🍏 This job's status is ${{ job.status }}."
on-manual-job:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- run: echo "Manual job was triggered successfully"
- name: Gather System Information
run: |
echo "### System Information ###"
echo "Runner OS: $(uname -a)"
echo "CPU Info: $(lscpu | grep 'Model name')"
echo "Memory: $(free -h)"
echo "Disk Space: $(df -h)"
echo "GitHub Runner Version: $(./run.sh --version 2>&1 || echo 'Not available')"
echo "Environment Variables:"
printenv | sort
- run: echo "🍏 This job's status is ${{ job.status }}."
Binary file added image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions submission5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
## Task 1: VM Deployment

Virtual box version: Version 7.1.10

Steps:
- Download iso of Ubuntu 24.04.2 desctop
- In Virtual box create new VM with selected downloaded iso image
- Set username to kiaver
- Give VM 16GB RAM, 10 CPUs, 50GB of Virtual Hard disk
![alt text](image.png)

## Task 2: System Information Tools

1. **Processor, RAM, and Network Information**:

Tool: `lshw`

```
lshw -C CPU
```
```
WARNING: you should run this program as super-user.
*-cpu
product: 13th Gen Intel(R) Core(TM) i5-13600KF
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
version: 6.183.1
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp x86-64 constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 movbe popcnt aes rdrand hypervisor lahf_lm abm 3dnowprefetch ibrs_enhanced fsgsbase bmi1 bmi2 invpcid rdseed adx clflushopt sha_ni arat md_clear flush_l1d arch_capabilities
configuration: microcode=4294967295
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
```

```
lshw -C memory
```
```
WARNING: you should run this program as super-user.
*-memory
description: System memory
physical id: 0
size: 16GiB
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
```

```
lshw -C network
```
```
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: 82540EM Gigabit Ethernet Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
logical name: enp0s3
version: 02
serial: 08:00:27:7f:42:21
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=6.11.0-29-generic duplex=full ip=10.0.2.15 latency=64 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:19 memory:f0200000-f021ffff ioport:d020(size=8)
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
```

2. **Operating System Specifications**:
```
lsb_release -a
```
```
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble
```