Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7ff55d7
Update README.md
Cre-eD May 15, 2025
a057c02
Publish labs 01-06
Cre-eD Jan 7, 2026
2fbd476
Add lectures 11-16, quizzes & update lab18 landing page
Cre-eD Jan 17, 2026
9a363bf
Updated Looking Ahead with correct lab descriptions
Cre-eD Jan 17, 2026
e391e97
Updated the Course Completion section to mention 16-18 labs
Cre-eD Jan 17, 2026
888cd53
Updated the duration badge
Cre-eD Jan 17, 2026
2b850a9
Removed duplicates and updated all references
Cre-eD Jan 17, 2026
c871131
Updated lab1
Cre-eD Jan 18, 2026
d57fde0
Update lecs
Cre-eD Jan 22, 2026
dfb904b
app.py done
CacucoH Jan 28, 2026
eff5a50
feat: complete lab-01
CacucoH Jan 28, 2026
bcaac6a
added containers
CacucoH Feb 4, 2026
cc7b6b0
docs
CacucoH Feb 4, 2026
b355307
more docs
CacucoH Feb 4, 2026
5de11ad
screensots fix
CacucoH Feb 4, 2026
bcec1f6
fixed images; README supplemented
CacucoH Feb 4, 2026
3c1ef39
lab3: added pytests
CacucoH Feb 11, 2026
9d406b3
feat: Added CI
CacucoH Feb 12, 2026
8ac8d02
fix: CI/CD folder renamed fix
CacucoH Feb 12, 2026
3ce5b42
Updated worflow
CacucoH Feb 12, 2026
49dc218
fix: fixed requirements.txt
CacucoH Feb 12, 2026
63bc610
fix: fixed tests folder name in workflow
CacucoH Feb 12, 2026
c44c039
fix: fixed docker metadata ver in CI pipeline
CacucoH Feb 12, 2026
9fd4502
fix: fixed CI/CD flavor
CacucoH Feb 12, 2026
d224d92
Updated readme
CacucoH Feb 12, 2026
379e11a
Updated readme
CacucoH Feb 12, 2026
ddd379b
fix: fixed dockerfile location in CI pipeline
CacucoH Feb 12, 2026
6317072
Updated README, added status badge
CacucoH Feb 12, 2026
d3baa75
feat: added security pipeline
CacucoH Feb 12, 2026
0480738
fix: fixed pipeline
CacucoH Feb 12, 2026
d29a551
fix: fixed security pipeline
CacucoH Feb 12, 2026
976bb01
fix: security pipeline
CacucoH Feb 12, 2026
589cf0c
fix: fixed pipeline .yml syntax
CacucoH Feb 12, 2026
cd4c436
lab 3 is done
CacucoH Feb 12, 2026
c005eb9
lab3 is done: added beautiful badge
CacucoH Feb 12, 2026
77b5d5e
feat: lab4 done
CacucoH Feb 19, 2026
b89cadc
lab 5 done
CacucoH Feb 26, 2026
c274385
lab6 done
CacucoH Mar 5, 2026
e207bc9
lab7 done
CacucoH Mar 12, 2026
f7fc662
feat: lab8 is done
CacucoH Mar 19, 2026
14f9188
lab9 done
CacucoH Mar 26, 2026
08c0c01
readme corrections
CacucoH Mar 26, 2026
5de534b
lab10 done
CacucoH Apr 2, 2026
773d814
lab10 retake
CacucoH May 18, 2026
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
106 changes: 106 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: Python CI & Docker Build

on:
push:
branches: [ main, dev, lab3 ]
tags: [ 'v*' ]
pull_request:
branches: [ main ]

permissions:
contents: read
packages: write

jobs:
test:
name: Test & Lint
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r app_python/requirements.txt
pip install ruff pytest

- name: Lint with Ruff
run: ruff check .

- name: Run tests
run: pytest app_python/tests/ --verbose -v

- name: Format check
run: ruff format --check .

security:
name: Snyk Security Scan
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
defaults:
run:
working-directory: ./app_python
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Snyk CLI
uses: snyk/actions/python-3.11@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=critical --skip-unresolved
continue-on-error: true


docker:
name: Build & Push Docker
needs: [ test, security ] # Runs only if test & security passed
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' # Dont push pr to docker hub

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKER_USERNAME }}/testiks
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value={{date 'YYYY.MM'}},enable={{is_default_branch}}
type=ref,event=branch


- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ./app_python/
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
test
.*
minikube*
edge-api
**/__pycache__/
Loading