Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 15 additions & 2 deletions .github/workflows/autotag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,35 @@ name: autotag
on:
push:
branches: [main]

permissions:
contents: write

jobs:
autotag:
runs-on: minafoundation-default-interruptible-runners
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install yq
run: |
sudo wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
sudo chmod +x /usr/local/bin/yq

- name: Find and Tag Chart Files
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

find . -name "Chart.yaml" | while read chart_file; do
chart_name=$(yq '.name' "$chart_file")
chart_version=$(yq '.version' "$chart_file")
tag="${chart_name}-${chart_version}"

if git tag -l | grep -q "^${tag}$"; then
echo "Tag ${tag} already exists. Skipping."
else
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
pre-commit:
runs-on: minafoundation-default-runners
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion uptime-service-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: uptime-service-backend
description: A Helm chart for uptime-service-backend AKA Delegation Program Backend
type: application
version: 0.1.0
version: 0.1.1
appVersion: "0.1.0"
keywords:
- uptime
Expand Down
10 changes: 5 additions & 5 deletions uptime-service-backend/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# uptime-service-backend

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)

A Helm chart for uptime-service-backend AKA Delegation Program Backend

Expand Down Expand Up @@ -76,11 +76,11 @@ helmfile status
| image.repository | string | `"673156464838.dkr.ecr.us-west-2.amazonaws.com/uptime-service-backend"` | The repository of the image |
| image.tag | string | `"2.0.0rc5-cb6524c"` | The tag of the image. Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | The secrets used to pull the image |
| ingress.annotations | object | `{}` | Ingress Annotations |
| ingress.className | string | `"alb"` | Ingress class name |
| ingress.annotations | object | `{}` | Ingress Annotations (supports cert-manager for HTTPS) |
| ingress.className | string | `"nginx"` | Ingress class name |
| ingress.enabled | bool | `false` | Whether to enable ingress |
| ingress.hosts | list | `[]` | |
| ingress.tls | list | `[]` | |
| ingress.hosts | list | `[]` | Ingress hostnames and paths configuration |
| ingress.tls | list | `[]` | TLS configuration for HTTPS (works with cert-manager) |
| lifecycle | object | `{"preStop":{"exec":{"command":["sh","-c","sleep 15 && kill -SIGQUIT 1"]}}}` | Lifecycle hooks |
| nameOverride | string | `""` | The release name override |
| nodeSelector | object | `{}` | Node selector labels |
Expand Down