Skip to content

Commit

Permalink
PR & Release management maintenance (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru authored May 11, 2024
1 parent 6c6b7a9 commit 0d42ba1
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 18 deletions.
11 changes: 11 additions & 0 deletions .github/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ version-resolver:
- 'github'
default: 'minor'

exclude-labels:
- 'alpine-only'

categories:
- title: '🚀 Enhancements'
labels:
Expand Down Expand Up @@ -58,6 +61,14 @@ change-template: |
template: |
$CHANGES
## Every Release
In every release, we update all [unpinned packages](https://github.com/cloudposse/geodesic/blob/main/packages.txt) to their latest packaged versions.
On a regular basis (roughly weekly), on Alpine only, we update the AWS CLI v1 and its dependencies to the latest versions. Debian does not have AWS CLI v1 installed, only v2.
These changes are not detailed here.
replacers:
# Remove irrelevant information from Renovate bot
- search: '/(?<=---\s+)^#.*(Renovate configuration|Configuration)(?:.|\n)*?This PR has been generated .*/gm'
Expand Down
17 changes: 13 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# We are going to exclude alpine-only PRs from the draft release,
# so we do not apply the label if the Alpine Dockerfile is changed,
# even though the PR is technically Alpine-only.
alpine-only:
- changed-files:
- all-globs-to-all-files:
- os/alpine/**
- !os/alpine/Dockerfile.alpine

direnv:
- changed-files:
- any-glob-to-any-file:
Expand All @@ -6,8 +15,8 @@ direnv:
docker:
- changed-files:
- any-glob-to-any-file:
- Dockerfile.alpine
- Dockerfile.debian
- os/alpine/Dockerfile.alpine
- os/debian/Dockerfile.debian

docs:
- changed-files:
Expand All @@ -22,8 +31,8 @@ github:
packages:
- changed-files:
- any-glob-to-any-file:
- packages*.txt
- requirements*.txt
- "**/packages*.txt"
- "**/requirements*.txt"

scripts:
- changed-files:
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/vhs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,25 @@ jobs:
- name: "make all"
run: make all

# We need to install the Hack Nerd Font for the demo
# but vhs-action will not install it for us due to issue 264
- name: Install Hack Nerd Font
run: |
curl -sSLO https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/Hack.zip
unzip -d hack_nerd_font Hack.zip
mv hack_nerd_font/ /usr/share/fonts/
fc-cache -fv
- uses: charmbracelet/vhs-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: demo.tape
install-fonts: true
# Cannot use `install-fonts`: https://github.com/charmbracelet/vhs-action/issues/264
# install-fonts: true
install-fonts: false
# Cannot use v0.7.2: https://github.com/charmbracelet/vhs-action/issues/256
version: v0.7.1


- uses: stefanzweifel/git-auto-commit-action@v5
id: auto-commit
Expand Down
21 changes: 8 additions & 13 deletions demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,18 @@ Sleep 500ms

Type "geodesic" Enter

Sleep 3s
Sleep 4s

Type "# It ships with common commands like `terraform`" Enter
Sleep 500ms

Type "terraform -help" Enter
Sleep 500ms

Type "# ...and the `aws` CLI =)" Enter
Sleep 500ms

Type "aws help" Enter
Type "# It ships with common commands like `jq`" Enter
Sleep 1500ms

Type "jq" Enter
Sleep 3s

Type "q"
Sleep 1s
Type "# ...and `kubectl`" Enter
Sleep 1500ms

Type "kubectl" Enter@3s

Type "# That's all folks!" Enter
Sleep 2s
Expand Down
Binary file modified docs/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d42ba1

Please sign in to comment.