Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
913b7cb
Initial change
thomast1906 Oct 18, 2021
913f3e8
more changes
thomast1906 Oct 18, 2021
6351505
Add AKS
Oct 19, 2021
dc316c9
test workflow
Oct 19, 2021
8ea71f2
update
Oct 19, 2021
9f127df
fmt
Oct 19, 2021
39f66be
no message
Oct 19, 2021
aef4b6f
update docs
Oct 19, 2021
3496c74
Fixes for today
Oct 19, 2021
b4cc0b7
new changes
thomast1906 Oct 19, 2021
cf5cdc1
kubernetes connect
thomast1906 Oct 19, 2021
871d2f8
updates
thomast1906 Oct 19, 2021
a2ffd01
update
thomast1906 Oct 19, 2021
7d91939
AWs to Azure
thomast1906 Oct 19, 2021
a18e392
Update readme
thomast1906 Oct 19, 2021
49ac9a0
fmt
thomast1906 Oct 19, 2021
8ef09fc
fmt
thomast1906 Oct 19, 2021
852a41e
more updates
thomast1906 Oct 19, 2021
83d9c87
updates
Oct 20, 2021
1a15410
updates
Oct 20, 2021
5d8317c
Update 5-Run-CICD-For-AKS-Cluster.md
thomast1906 Oct 20, 2021
14fb3d0
changes needed to run guide
Jenniferstrej Apr 1, 2022
92b4f9b
Merge pull request #3 from Jenniferstrej/jen-run-guide
thomast1906 Apr 1, 2022
554a06e
Update 5-Run-CICD-For-AKS-Cluster.md
vmsilvamolina Apr 6, 2022
3ae0c86
Merge pull request #4 from vmsilvamolina/patch-1
thomast1906 Dec 18, 2022
2a61d4a
Initial changes, AKS updated to 1.28.3
Dec 14, 2023
93a1eda
remove commit file
Dec 14, 2023
83ff4ad
Merge pull request #8 from thomast1906/2023-update
thomast1906 Dec 14, 2023
fe5a60a
terraform fmt aks
Dec 14, 2023
8463e00
Upgrade TF version
Dec 14, 2023
47dfd3f
Some more fixes
Dec 14, 2023
ca5685c
Merge pull request #9 from thomast1906/adhoc-fixes
thomast1906 Dec 14, 2023
3fa9845
Add renovate config
Dec 15, 2023
dc3dfcd
Update actions/checkout action to v4
renovate[bot] Dec 15, 2023
e338715
Merge pull request #11 from thomast1906/renovate/actions-checkout-4.x
thomast1906 Dec 15, 2023
3eda605
initial updates
Mar 25, 2024
2e2e7aa
update deployment readme
Mar 25, 2024
b85068b
Documentation updates
Mar 25, 2024
0b1125b
document updates
Mar 25, 2024
f1ec2a2
Update checkout
Mar 25, 2024
fbfee28
Merge pull request #15 from thomast1906/updates
thomast1906 Mar 25, 2024
7b6cf41
Update lab1
Sep 26, 2024
054426b
Updates to Terraform Azure
Sep 26, 2024
17481a8
update action name
Sep 26, 2024
ddab8a1
update
Sep 26, 2024
bbbe2f8
update tfversion
Sep 26, 2024
47d959e
simplify pipeline
Sep 26, 2024
bb350a5
test apply
Sep 26, 2024
bec09a9
update k8s version
Sep 26, 2024
6d7ab65
Swap app to Flask Python App
Sep 26, 2024
7e2d8bd
add terraform apply back to main only
Sep 26, 2024
6003d1b
Update app
Sep 26, 2024
b5a2b48
update readme
Sep 26, 2024
9fa3f3c
typo
Sep 26, 2024
c7ed2f8
fix
Sep 26, 2024
513d251
section 1 of readme updates
Sep 26, 2024
64bcb24
doc chnges
Sep 27, 2024
792d4a7
formatting
Sep 27, 2024
713acd5
fmt
Sep 27, 2024
e9a6e99
move imaegs
Sep 27, 2024
3a4d912
update docs
Sep 27, 2024
506ae0c
doc updates
Sep 27, 2024
8575ced
remove old references
Sep 27, 2024
c955046
document updates
Sep 27, 2024
f85a343
test branch images
Sep 27, 2024
1b44f40
link updates
Sep 27, 2024
ca9bc0b
link fix
Sep 27, 2024
f71aa90
fix links
Sep 27, 2024
b907ec4
fix link
Sep 27, 2024
1606ceb
update link
Sep 27, 2024
3e8ba97
app namings
Sep 27, 2024
8976674
Merge pull request #16 from thomast1906/updates-sept-2024
thomast1906 Sep 27, 2024
8d49555
Update dependency Werkzeug to v2.3.8
renovate[bot] Sep 27, 2024
47f85de
Merge pull request #18 from thomast1906/renovate/werkzeug-2.x
thomast1906 Sep 27, 2024
fff374f
Update python Docker tag to v3.12
renovate[bot] Sep 27, 2024
2a0bac2
Update dependency Werkzeug to v3
renovate[bot] Sep 27, 2024
c04fe58
Merge pull request #21 from thomast1906/renovate/werkzeug-3.x
thomast1906 Sep 27, 2024
aa6ffdd
Merge pull request #19 from thomast1906/renovate/python-3.x
thomast1906 Sep 27, 2024
306548d
Revert "Update dependency Werkzeug to v3"
thomast1906 Sep 27, 2024
8c31bc4
Merge pull request #22 from thomast1906/revert-21-renovate/werkzeug-3.x
thomast1906 Sep 27, 2024
ccc29a3
original app
Oct 21, 2024
601a027
revert
Oct 21, 2024
0e98ee1
Update 3-Deploy-Thomasthorntoncloud-App.md
thomast1906 Feb 12, 2025
2239063
Merge pull request #27 from thomast1906/thomast1906-patch-1
thomast1906 Feb 12, 2025
25429f6
Update 3-Deploy-Thomasthorntoncloud-App.md
cshaigh Feb 12, 2025
c33671b
Merge pull request #28 from Irish-Life-Platforms-Academy-2025/cshaigh…
thomast1906 Feb 12, 2025
8a59f0b
include index.html file
Feb 12, 2025
cd07e2a
Merge pull request #29 from thomast1906/add-missing-file
thomast1906 Feb 12, 2025
09c313e
tutorial 1 updated
thomast1906 May 1, 2025
e3d0541
update section 1
thomast1906 May 1, 2025
fc67192
tutorial 2 updates
thomast1906 May 1, 2025
d5cd570
update lab2
thomast1906 May 5, 2025
ea913e6
github action
thomast1906 May 5, 2025
3be6e62
Update section 4
thomast1906 May 5, 2025
646eae5
fix dockerimage
thomast1906 May 7, 2025
2d8b8f2
add tf docs
thomast1906 May 7, 2025
19a610d
add tf docs
thomast1906 May 7, 2025
50fa1c8
terraform-docs: automated action
github-actions[bot] May 7, 2025
9a6b4ba
update action
thomast1906 May 7, 2025
f303d68
fix
thomast1906 May 7, 2025
b675979
test
thomast1906 May 7, 2025
6aa9648
test
thomast1906 May 7, 2025
f1d2b6f
test
thomast1906 May 7, 2025
c50de6a
test
thomast1906 May 7, 2025
5c415b6
pwd
thomast1906 May 7, 2025
8414e5f
swap back
thomast1906 May 7, 2025
ecc91ae
test
thomast1906 May 7, 2025
7c5ad91
test
thomast1906 May 7, 2025
992ddff
test aks
thomast1906 May 7, 2025
a44cf50
terraform-docs: automated action
github-actions[bot] May 7, 2025
86cda56
update folders
thomast1906 May 7, 2025
3090c07
terraform-docs: automated action
github-actions[bot] May 7, 2025
17d9e73
update action
thomast1906 May 7, 2025
99967bd
add tfsec
thomast1906 May 8, 2025
024fb2b
add tfsec
thomast1906 May 8, 2025
a7138ac
comment action content
thomast1906 May 8, 2025
28d03ee
Merge pull request #30 from thomast1906/updates-may-2025
thomast1906 May 8, 2025
a456f24
add deployment functionality
thomast1906 May 8, 2025
8738458
swap to env only
thomast1906 May 8, 2025
14c6926
no need
thomast1906 May 8, 2025
ded69af
updates july 2025
thomast1906 Jul 28, 2025
3986c83
changes
thomast1906 Jul 28, 2025
b9f7576
deploy all scripts
thomast1906 Jul 28, 2025
1f88d85
fix cleanup all
thomast1906 Jul 28, 2025
91fa11d
fix deploy-all
thomast1906 Jul 29, 2025
5c75864
fix cleanup script
thomast1906 Jul 29, 2025
a391cbc
workflow manual for now
thomast1906 Jul 29, 2025
af93010
Terraform fmt
thomast1906 Jul 29, 2025
be24724
update workflow
thomast1906 Jul 29, 2025
9dd8dc3
fmt
thomast1906 Jul 29, 2025
f070ce7
Merge branch 'Updates-July-2025' of https://github.com/thomast1906/De…
thomast1906 Jul 29, 2025
5731c68
update docs
thomast1906 Jul 29, 2025
b5a9b78
remove
thomast1906 Jul 31, 2025
94ac241
updates
thomast1906 Jul 31, 2025
1b498b4
update readme
thomast1906 Jul 31, 2025
9f9a8d2
Merge pull request #32 from thomast1906/Updates-July-2025
thomast1906 Jul 31, 2025
88d0df0
chore: upgrade Terraform, providers, GitHub Actions, and Python deps
thomast1906 Apr 14, 2026
af3efeb
fix: deploy/cleanup script fixes and infra validation
thomast1906 Apr 14, 2026
9b5f8df
fix: add AzureLoadBalancer inbound rule to NSG for AGC health probes
thomast1906 Apr 14, 2026
bdf3105
Merge pull request #46 from thomast1906/updates-april-2026
thomast1906 Apr 14, 2026
746fbdd
update readme
thomast1906 Apr 15, 2026
5869c08
fix: update Kubernetes version from 1.33 to 1.35 across documentation…
thomast1906 Apr 15, 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
98 changes: 98 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# GitHub Actions Workflows

This directory contains GitHub Actions workflows for the DevOps The Hard Way - Azure tutorial.

## 📋 Workflow Files

### 🔧 `main.yml` - Tutorial Example Workflow
**Purpose**: Educational content demonstrating CI/CD pipeline setup
**Status**: ⚠️ **DISABLED** - Tutorial content only

This workflow is provided as an example for learning purposes and is **not intended to run** in this tutorial repository.

**Features:**
- Terraform deployment automation
- Azure OIDC authentication
- Static code analysis hooks (commented)
- Terraform documentation generation hooks (commented)

**To Use This Workflow:**
1. Fork or copy this repository to your own GitHub account
2. Set up Azure OIDC authentication (see tutorial)
3. Enable the workflow by modifying the `on:` triggers
4. Customize the configuration for your environment

### 🚀 `deploy-full.yml` - Complete Deployment Pipeline
**Purpose**: Full infrastructure and application deployment
**Status**: ✅ **ACTIVE** - Manual trigger only

This workflow provides complete deployment automation including:
- Infrastructure provisioning (ACR, VNET, Log Analytics, AKS)
- Docker image building and pushing
- Kubernetes application deployment
- ALB Controller and Gateway setup
- Optional resource cleanup

**Triggers:**
- Manual execution only (`workflow_dispatch`)
- Environment selection (dev/staging/prod)
- Optional cleanup after deployment

## 🎓 Educational Notes

### Why Two Workflows?

1. **`main.yml`**: Demonstrates traditional CI/CD patterns
- Shows basic Terraform automation
- Includes hooks for advanced features
- Focuses on single component (AKS)
- Educational and reference material

2. **`deploy-full.yml`**: Complete solution approach
- Deploys entire infrastructure stack
- Production-ready patterns
- Multi-environment support
- Practical automation tool

### Security Considerations

Both workflows use:
- ✅ Azure OIDC authentication (no stored secrets)
- ✅ Least privilege access patterns
- ✅ Environment-specific configurations
- ✅ Manual approval workflows for production

### Best Practices Demonstrated

- **Infrastructure as Code**: All resources defined in Terraform
- **GitOps**: Infrastructure changes through Git workflows
- **Immutable Infrastructure**: Complete rebuilds vs. updates
- **Environment Isolation**: Separate state files and configurations
- **Automated Testing**: Built-in validation and testing steps

## 🔧 Setup Instructions

### For Tutorial Learning:
1. Study the workflow files as examples
2. Understand the patterns and practices
3. Follow the tutorial documentation

### For Practical Use:
1. Copy/fork this repository
2. Set up Azure service principal or OIDC
3. Configure GitHub secrets
4. Customize for your environment
5. Enable and run workflows

## 📚 Related Documentation

- [CI/CD Tutorial](../2-Terraform-AZURE-Services-Creation/5-Run-CICD-For-AKS-Cluster.md)
- [Deployment Scripts](../scripts/README.md)
- [Azure OIDC Setup](../2-Terraform-AZURE-Services-Creation/scripts/5-create-github-oidc.sh)

## 🤝 Contributing

These workflows are part of the tutorial content. If you find improvements or issues:
- Open an issue for discussion
- Submit a pull request with improvements
- Update related documentation
Loading