From 6d16d5a553e5176b031cf8684d9d5ebd250bb6f9 Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 12:34:34 -0500 Subject: [PATCH 01/10] Add CI workflow for main branch --- .github/workflows/demo | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/demo diff --git a/.github/workflows/demo b/.github/workflows/demo new file mode 100644 index 0000000..6d88e87 --- /dev/null +++ b/.github/workflows/demo @@ -0,0 +1,13 @@ +name: CI Workflow + +# Trigger the workflow on push events to the main branch +on: + push: + branches: + - main + +jobs: + build: + # Specify the type of runner (Ubuntu in this case) + runs-on: ubuntu-latest + From cba121f0b8e6382f1ceec04a317b94f70b44cc64 Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 12:37:08 -0500 Subject: [PATCH 02/10] Create CI workflow for main branch Add CI workflow configuration for main branch pushes --- .github/workflows/demo.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/demo.yml diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml new file mode 100644 index 0000000..da501fc --- /dev/null +++ b/.github/workflows/demo.yml @@ -0,0 +1,12 @@ +name: CI Workflow + +# Trigger the workflow on push events to the main branch +on: + push: + branches: + - main + +jobs: + build: + # Specify the type of runner (Ubuntu in this case) + runs-on: ubuntu-latest From cbdf44a4a8b155b0fadba28f14ec9ef69f0e4fd3 Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 12:38:42 -0500 Subject: [PATCH 03/10] Fix indentation in CI workflow configuration --- .github/workflows/demo.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index da501fc..dd07ea8 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,10 +1,11 @@ + name: CI Workflow # Trigger the workflow on push events to the main branch on: push: branches: - - main + - main jobs: build: From 04faa87ffe56bb938a4b2763a605c66c38f342ef Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 12:40:15 -0500 Subject: [PATCH 04/10] Update CI workflow to include code checkout step Added a step to checkout code in the CI workflow. --- .github/workflows/demo.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index dd07ea8..0c8b7b6 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,13 +1,15 @@ - name: CI Workflow -# Trigger the workflow on push events to the main branch on: push: branches: - - main + uses: actions/checkout@v3 - main + + - name: Run a sample script + run: echo "Build jobs: build: - # Specify the type of runner (Ubuntu in this case) runs-on: ubuntu-latest + steps: + - name: Checkout code From b15bc05d9b6c295b7dd649c8facaff33500152f5 Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 12:42:05 -0500 Subject: [PATCH 05/10] Update CI workflow name and checkout action version --- .github/workflows/demo.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 0c8b7b6..1b4d573 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,15 +1,20 @@ -name: CI Workflow + +name: CI Workflow Trigger on: push: branches: - uses: actions/checkout@v3 - main - - - name: Run a sample script - run: echo "Build + - main jobs: build: runs-on: ubuntu-latest + steps: - - name: Checkout code + - name: Checkout + uses: actions/checkout@v4 + + - name: Verify runner + run: | + echo "Runner OS: $RUNNER_OS" + uname -a From 14cc6f07bf6986fc67a71ee19fa8c373376d3a7a Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 13:14:34 -0500 Subject: [PATCH 06/10] Fix formatting in demo.yml workflow From dfdb130050eb4872e09f4b4bf6e8e8984110fb48 Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 14:04:09 -0500 Subject: [PATCH 07/10] Add tag triggers for GitHub Actions workflow --- .github/workflows/demo.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 1b4d573..13caa5f 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -5,6 +5,9 @@ on: push: branches: - main + tags: + - 'v*' # v1, v1.2, v1.2.3 + - 'release-*' # release-2025-12-03 jobs: build: From 9b8a7bdd71b2c1f7782be2f360ed59d43b56c09a Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 14:07:45 -0500 Subject: [PATCH 08/10] Change trigger branch in GitHub Actions workflow --- .github/workflows/demo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 13caa5f..ed6b05f 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -4,7 +4,7 @@ name: CI Workflow Trigger on: push: branches: - - main + - notrealbranch tags: - 'v*' # v1, v1.2, v1.2.3 - 'release-*' # release-2025-12-03 From cbcf86977d39a8d1638b739f910c42ce6a3735f3 Mon Sep 17 00:00:00 2001 From: WillTheTrainer Date: Wed, 3 Dec 2025 14:09:22 -0500 Subject: [PATCH 09/10] Update workflow to remove 'release-*' tag Removed the 'release-*' tag from the workflow trigger. --- .github/workflows/demo.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index ed6b05f..5cc6991 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -7,7 +7,6 @@ on: - notrealbranch tags: - 'v*' # v1, v1.2, v1.2.3 - - 'release-*' # release-2025-12-03 jobs: build: From 3005aa88ce95d7815de7fef0ed99a088ac22d6ad Mon Sep 17 00:00:00 2001 From: will davis Date: Wed, 3 Dec 2025 14:14:48 -0500 Subject: [PATCH 10/10] push a tag to the commmit --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index f49c2f6..5dea415 100644 --- a/README.md +++ b/README.md @@ -66,5 +66,4 @@ For this workshop you need the following: - It is recommended to have a second screen for the hand-on labs ## Cheat Sheet -Find common terminology for reference [here](./CheatSheet.md) - +Find common terminology for reference [here](./CheatSheet.md) \ No newline at end of file