Home
Julius Gamanyi
Cancel

AWS CLI for EventBridge - send event to EventBridge

Send an event to the default EventBus I’m assuming that permissions are properly setup. The hardest part was getting the correct Json structure. The Detail object contains a mixture of Json (...

Powershell - Grant user access to Docker Pipe without Admin rights

Aim: able to run docker commands without Administrator privileges. Preparation for running docker commands in GitHub Actions that’s running on Self-hosted runners. See [[GitHub Actions - Self...

WinRM - setup and test on Windows laptop

WinRM is to Windows what SSH is to Linux. Aim: setup and test winrmon Windows 10 dev laptop. Why? I’d like to automate setting up my development tools with Packer. See TIL, Packer - setup local d...

Packer - setup local dev environment on Windows using Packer

Aim: automate setting up my local dev environment on Windows using HashiCorp’s Packer My laptop frequently breaks down. After having it repaired, I have to reinstall most programs I need for devel...

AWS CLI - Trigger and poll Codepipeline

Some of the pipelines I work on deploy workloads in AWS using AWS CodePipeline. In another CI/CD tool, I’d like to use the aws cli to trigger a CodePipeline and periodically check if it succeeded o...

GitHub Actions - Self-hosted Windows Runners - enable docker build

Aim: able to run docker build in a GitHub Action that’s running on Self-hosted runners. When running docker build as part of a step in a GitHub action, we’re greeted with the error error durin...

Powershell on GitHub Actions - run Script as Admin on self-hosted Windows Runners

This came up when I wanted to run a powershell script with elevated Administrator privileges , sometimes on my dev laptop and sometimes in a CI/CD process. Running a script as an Administrator lik...

Git - Use gitattributes to control line endings

Use .gitattributes to control the line endings for files that are in the repository. The above settings are useful when working with others who use other Operating Systems, because each OS has its...

GitHub Actions - how to access GitHub Maven packages via GitHub actions

Steps: Add a Personal Access Token (PAT) to your GitHub Repository with permissions repo, workflow, read:packages Add that token as repository secret named GHA_MVN_PKGS_READ: Repository ->...

Python - Manage global packages with pipx

Python comes with many tools that help manage versions and dependencies. pyenv - manage Python versions virtual environments (like venv) that help isolate dependencies on a per project basis ...