8 Oct 2021
NEW VERSION for 2022: https://youtu.be/7Kmxbf7lVRY
Coding toolkit: .NET Workloads on AWS GitLab Toolkit: https://gitlab.com/guided-explorations/aws/dotnet-aws-toolkit/getting-started-with-net-on-aws
Learn how to leverage the code examples to create your own scaled runner for Windows builds. The example purposely builds .NET 4 Framework 4.x to show how the methods can be used for legacy builds - but the exact same methods are extensible to modern Windows development as well.
Table of Contents:
00:00 - Intro and agenda
03:23 - What is The GitLab Runner?
06:25 - SaaS and Self-Managed Runners on AWS Compared
12:20 - Mapping Runner Options to Your .NET Workload Runtime Targets
16:15 - EC2 Image Builder for Creating CI AMIs for Legacy .NET Builds
29:57 - Using the GitLab HA Scaling Runner Vending Machine for AWS EC2 ASG to deploy a scaled .NET Framework 4.x GitLab CI Runner
35:34 - Mapping Build Jobs To Your .NET Framework 4.x CI Jobs
37:05 - Calling Windows PowerShell from PowerShell Core (which GitLab Runner Always Requires)
42:44 - Kicking Off a Build and Viewing Evidence That We've Actually Compiled a .NET 4.5 Assembly
40:20 - Summary of What Was Shown and Wrap Up
- GitLab and AWS (https://youtube.com/playlist?list=PL05JrBw4t0Ko30Bkf8bAvR-8E441Fy2G9)
- GitLab Alliances Tech (https://youtube.com/playlist?list=PL05JrBw4t0KqaWCrU4avIY6TQveKTDMso)
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab and .NET (DotNet) (https://youtube.com/playlist?list=PL05JrBw4t0KpYmx1n5PPhYCxxfGJdMxzZ)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- DarwinTheorizes at GitLab (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
Coding toolkit: .NET Workloads on AWS GitLab Toolkit: https://gitlab.com/guided-explorations/aws/dotnet-aws-toolkit/getting-started-with-net-on-aws
Learn how to leverage the code examples to create your own scaled runner for Windows builds. The example purposely builds .NET 4 Framework 4.x to show how the methods can be used for legacy builds - but the exact same methods are extensible to modern Windows development as well.
Table of Contents:
00:00 - Intro and agenda
03:23 - What is The GitLab Runner?
06:25 - SaaS and Self-Managed Runners on AWS Compared
12:20 - Mapping Runner Options to Your .NET Workload Runtime Targets
16:15 - EC2 Image Builder for Creating CI AMIs for Legacy .NET Builds
29:57 - Using the GitLab HA Scaling Runner Vending Machine for AWS EC2 ASG to deploy a scaled .NET Framework 4.x GitLab CI Runner
35:34 - Mapping Build Jobs To Your .NET Framework 4.x CI Jobs
37:05 - Calling Windows PowerShell from PowerShell Core (which GitLab Runner Always Requires)
42:44 - Kicking Off a Build and Viewing Evidence That We've Actually Compiled a .NET 4.5 Assembly
40:20 - Summary of What Was Shown and Wrap Up
- GitLab and AWS (https://youtube.com/playlist?list=PL05JrBw4t0Ko30Bkf8bAvR-8E441Fy2G9)
- GitLab Alliances Tech (https://youtube.com/playlist?list=PL05JrBw4t0KqaWCrU4avIY6TQveKTDMso)
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab and .NET (DotNet) (https://youtube.com/playlist?list=PL05JrBw4t0KpYmx1n5PPhYCxxfGJdMxzZ)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- DarwinTheorizes at GitLab (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
- 1 participant
- 43 minutes
12 Aug 2021
Table of Contents:
00:00 - Git Diff Revision Activity Metrics
00:12 - What Is Being Solved For?
00:45 - What is a Guided Exploration?
01:32 - Solution Walkthrough
08:19 - The CI Code Flow
10:56 - Code Walkthrough
15:23 - Resources and Wrap Up
Resources:
- Git Diff Revision Activity Metrics Extension: https://gitlab.com/guided-explorations/ci-cd-plugin-extensions/git-diff-revision-activity-metrics
- Diff Revision Activity Analytics Demo: https://gitlab.com/guided-explorations/ci-cd-plugin-extensions/calling-extensions-examples/diff-revision-activity-analytics-demo
Playlists:
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab CI/CD Extensions (https://youtube.com/playlist?list=PL05JrBw4t0KqSEsE-DzWPL-zfim2HCI8H)
- DarwinTheorizes at GitLab (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
00:00 - Git Diff Revision Activity Metrics
00:12 - What Is Being Solved For?
00:45 - What is a Guided Exploration?
01:32 - Solution Walkthrough
08:19 - The CI Code Flow
10:56 - Code Walkthrough
15:23 - Resources and Wrap Up
Resources:
- Git Diff Revision Activity Metrics Extension: https://gitlab.com/guided-explorations/ci-cd-plugin-extensions/git-diff-revision-activity-metrics
- Diff Revision Activity Analytics Demo: https://gitlab.com/guided-explorations/ci-cd-plugin-extensions/calling-extensions-examples/diff-revision-activity-analytics-demo
Playlists:
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab CI/CD Extensions (https://youtube.com/playlist?list=PL05JrBw4t0KqSEsE-DzWPL-zfim2HCI8H)
- DarwinTheorizes at GitLab (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
- 1 participant
- 16 minutes
21 Apr 2021
Whether you want 1 runner that is scheduled to run only two days a week, or 150 that service your main GitLab load and are easy to update - you've found the automation you are looking for ;)
Links:
- https://gitlab.com/guided-explorations/aws/gitlab-runner-autoscaling-aws-asg/-/blob/main/easybuttons.md
Playlists:
- GitLab and AWS (https://youtube.com/playlist?list=PL05JrBw4t0Ko30Bkf8bAvR-8E441Fy2G9)
- GitLab Alliances Tech (https://youtube.com/playlist?list=PL05JrBw4t0KqaWCrU4avIY6TQveKTDMso)
- GitLab Reference Architecture, Performance Testing, Scaling and HA (https://youtube.com/playlist?list=PL05JrBw4t0KqgVugqCld2fUvrBulanchq)
- Guided Explorations (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
Links:
- https://gitlab.com/guided-explorations/aws/gitlab-runner-autoscaling-aws-asg/-/blob/main/easybuttons.md
Playlists:
- GitLab and AWS (https://youtube.com/playlist?list=PL05JrBw4t0Ko30Bkf8bAvR-8E441Fy2G9)
- GitLab Alliances Tech (https://youtube.com/playlist?list=PL05JrBw4t0KqaWCrU4avIY6TQveKTDMso)
- GitLab Reference Architecture, Performance Testing, Scaling and HA (https://youtube.com/playlist?list=PL05JrBw4t0KqgVugqCld2fUvrBulanchq)
- Guided Explorations (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
- 1 participant
- 26 minutes
8 Mar 2021
Easy Buttons for GitLab HA Scaling Runner Vending Machine for AWS
You can also checkout the video for all options of the template in GitLab Scaling Runner Vending Machine for AWS: HA, Scaling, Spot and Windows: https://youtu.be/llbSTVEeY28
Playlists:
- GitLab and AWS (https://youtube.com/playlist?list=PL05JrBw4t0Ko30Bkf8bAvR-8E441Fy2G9)
- GitLab Alliances Tech (https://youtube.com/playlist?list=PL05JrBw4t0KqaWCrU4avIY6TQveKTDMso)
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and .NET (DotNet) (https://youtube.com/playlist?list=PL05JrBw4t0KpYmx1n5PPhYCxxfGJdMxzZ)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
You can also checkout the video for all options of the template in GitLab Scaling Runner Vending Machine for AWS: HA, Scaling, Spot and Windows: https://youtu.be/llbSTVEeY28
Playlists:
- GitLab and AWS (https://youtube.com/playlist?list=PL05JrBw4t0Ko30Bkf8bAvR-8E441Fy2G9)
- GitLab Alliances Tech (https://youtube.com/playlist?list=PL05JrBw4t0KqaWCrU4avIY6TQveKTDMso)
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and .NET (DotNet) (https://youtube.com/playlist?list=PL05JrBw4t0KpYmx1n5PPhYCxxfGJdMxzZ)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
- 1 participant
- 16 minutes
28 Jan 2021
Check Easy Buttons for GitLab HA Scaling Runner Vending Machine for AWS: https://youtu.be/2dXw8Dx6ENw
- Self-Service Vending (SMA) of Runners by Developers
- Runners are built with IaC, rather than hand crafted.
- Automatic Hot (2 hosts) or Warm (1 host that respawns) High Availability.
- Automatic availability scheduling (runner is off during off hours).
Many more details and the code: https://gitlab.com/guided-explorations/aws/gitlab-runner-autoscaling-aws-asg
- Self-Service Vending (SMA) of Runners by Developers
- Runners are built with IaC, rather than hand crafted.
- Automatic Hot (2 hosts) or Warm (1 host that respawns) High Availability.
- Automatic availability scheduling (runner is off during off hours).
Many more details and the code: https://gitlab.com/guided-explorations/aws/gitlab-runner-autoscaling-aws-asg
- 1 participant
- 45 minutes
24 Dec 2020
You may wish to do away with the extra development of containers or you may want to use a variety of non-custom containers in your pipeline - but still need some shell code libraries available to all jobs in the pipeline - here is a way to accomplish that.
Working Example Code: https://gitlab.com/guided-explorations/gitlab-ci-yml-tips-tricks-and-hacks/shell-code-libraries-in-pure-gitlab-ci-yaml
Playlists:
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
Working Example Code: https://gitlab.com/guided-explorations/gitlab-ci-yml-tips-tricks-and-hacks/shell-code-libraries-in-pure-gitlab-ci-yaml
Playlists:
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
- 1 participant
- 13 minutes
23 Nov 2020
A best practice way to implement scheduled and on demand tasks in a GitLab pipeline (.gitlab-ci.yml file).
Guided Explorations are examples that are maintained to be working and directly usable by anyone!
https://gitlab.com/guided-explorations/gitlab-ci-yml-tips-tricks-and-hacks/scheduled-and-on-demand-tasks
Guided Explorations are examples that are maintained to be working and directly usable by anyone!
https://gitlab.com/guided-explorations/gitlab-ci-yml-tips-tricks-and-hacks/scheduled-and-on-demand-tasks
- 1 participant
- 7 minutes
17 Apr 2020
All the ways to use PowerShell on GitLab CI - including Windows PowerShell and PowerShell Core 7 on Linux and Windows.
Companion working example project: PowerShell Pipelines on GitLab CI - https://gitlab.com/guided-explorations/gitlab-ci-yml-powershell-tips-tricks-and-hacks/powershell-pipelines-on-gitlab-ci
If you find this helpful, please give the video a thumbs up and "star" the project :)
Join Darwin (DarwinJS) to see the many ways you can run PowerShell on Windows and Linux in GitLab CI!
Playlists:
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
Companion working example project: PowerShell Pipelines on GitLab CI - https://gitlab.com/guided-explorations/gitlab-ci-yml-powershell-tips-tricks-and-hacks/powershell-pipelines-on-gitlab-ci
If you find this helpful, please give the video a thumbs up and "star" the project :)
Join Darwin (DarwinJS) to see the many ways you can run PowerShell on Windows and Linux in GitLab CI!
Playlists:
- GitLab Guided Explorations (Working Examples) (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- GitLab CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- GitLab and Windows (https://youtube.com/playlist?list=PL05JrBw4t0KqOJeQ1y5wSBxArdTEtmnxb)
- GitLab and PowerShell (https://youtube.com/playlist?list=PL05JrBw4t0KrklJ2kDTl2qXNaGSlzKeoW)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
- 1 participant
- 18 minutes
7 Apr 2020
How to build containers on GitLab CI without Docker privileged mode.
Companion working example project: Kaniko Docker Build - https://gitlab.com/guided-explorations/containers/kaniko-docker-build
If you find this helpful, please give the video a thumbs up and "star" the project :)
Join Darwin (DarwinJS) to review the concepts and some working example code that you can use directly!
Table of Contents:
00:00 - Intro
00:22 - Defining the Problem
01:44 - The Kaniko Solution
02:09 - Guided Exporations are Working Examples
03:04 - GitLab CI w/ Kaniko Walkthough
05:25 - Environment Scopes for Variables
06:52 - Adding CI Metadata Labels
07:11 - Adding Ad Hoc Tags at Build Time
08:06 - Kaniko Bug Workaround
08:47 - CI Pipeline Logs
09:22 - Viewing Results in Registries
09:47 - Tested Runner Types
10:05 - Links and Wrapup
Companion working example project: Kaniko Docker Build - https://gitlab.com/guided-explorations/containers/kaniko-docker-build
If you find this helpful, please give the video a thumbs up and "star" the project :)
Join Darwin (DarwinJS) to review the concepts and some working example code that you can use directly!
Table of Contents:
00:00 - Intro
00:22 - Defining the Problem
01:44 - The Kaniko Solution
02:09 - Guided Exporations are Working Examples
03:04 - GitLab CI w/ Kaniko Walkthough
05:25 - Environment Scopes for Variables
06:52 - Adding CI Metadata Labels
07:11 - Adding Ad Hoc Tags at Build Time
08:06 - Kaniko Bug Workaround
08:47 - CI Pipeline Logs
09:22 - Viewing Results in Registries
09:47 - Tested Runner Types
10:05 - Links and Wrapup
- 1 participant
- 11 minutes
24 Jan 2020
Building and deploying applications can involve a lot of configuration data. After getting a feel for the GitLab’s advanced features for layering and converging this data are discussed.
Companion working example project: Complex Config Data Monorepo - https://gitlab.com/guided-explorations/config-data-top-scope/config-data-subscope/config-data-monorepo
If you find this helpful, please give the video a thumbs up and "star" the project :)
Join Darwin (DarwinJS) in visiting a bunch of GitLab features that enable complex configuration data management in GitLab.
Playlists:
- Guided Explorations (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
Companion working example project: Complex Config Data Monorepo - https://gitlab.com/guided-explorations/config-data-top-scope/config-data-subscope/config-data-monorepo
If you find this helpful, please give the video a thumbs up and "star" the project :)
Join Darwin (DarwinJS) in visiting a bunch of GitLab features that enable complex configuration data management in GitLab.
Playlists:
- Guided Explorations (https://youtube.com/playlist?list=PL05JrBw4t0KruBVtI-Ynb3mCHQTkh2eBY)
- CI/CD Tips Tricks and Hacks (https://youtube.com/playlist?list=PL05JrBw4t0Kr92rF9z0PEuOtQnH89VD7n)
- DarwinTheorizes (https://youtube.com/playlist?list=PL05JrBw4t0KoH74CcAtP0Ze7JXjX7zT6g)
- 1 participant
- 29 minutes