Skip to content

Commit

Permalink
updating workflows and preparing to setup own docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocc committed Apr 14, 2022
1 parent 2ce30c3 commit 4273ed0
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 57 deletions.
36 changes: 6 additions & 30 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,6 @@ on:
push:

jobs:
helm-v2:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Fetch history
run: git fetch --prune --unshallow

- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@dev-v2
with:
command: lint

- name: Create kind cluster
uses: helm/[email protected]
if: steps.lint.outputs.changed == 'true'

- name: Run chart-testing (install)
uses: helm/chart-testing-action@dev-v2
with:
command: install

helm-v3:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -67,16 +43,16 @@ jobs:
matrix:
# When changing versions here, check that the version exists at: https://github.com/instrumenta/kubernetes-json-schema
k8s:
- v1.16.4
- v1.17.4
- v1.18.1
- v1.21.11
- v1.22.8
- v1.23.5
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Add dependency chart repos
run: |
helm repo add stable https://charts.helm.sh/stable
# - name: Add dependency chart repos
# run: |
# helm repo add stable https://charts.helm.sh/stable

- name: Run kubeval
env:
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/rebase.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
on:
issue_comment:
types:
- created
- edited

name: Automatic Rebase
jobs:
rebase:
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# on:
# issue_comment:
# types:
# - created
# - edited
#
# name: Automatic Rebase
# jobs:
# rebase:
# if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
#
# - name: Rebase
# uses: cirrus-actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Add dependency chart repos
run: |
helm repo add stable https://charts.helm.sh/stable
# - name: Add dependency chart repos
# run: |
# helm repo add stable https://charts.helm.sh/stable

- name: Run chart-releaser
uses: helm/[email protected]
Expand Down
8 changes: 6 additions & 2 deletions charts/tailscale-relay/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ name: tailscale-relay
version: 22400.1.102
appVersion: v1.22
description: Deploy a tailscale relay on top of kubernetes
home: https://github.com/mvisonneau/tailscale-relay-over-k8s
home: https://github.com/kit-ar/mvisonneau--tailscale
# https://github.com/mvisonneau/tailscale-relay-over-k8s
sources:
- https://github.com/mvisonneau/helm-charts/tree/main/charts/tailscale-relay-over-k8s
- https://github.com/mvisonneau/helm-charts/tree/main/charts/tailscale-relay
- https://github.com/kit-ar/mvisonneau--tailscale
maintainers:
- name: mvisonneau
email: [email protected]
- name: kit-ar
email: [email protected]
3 changes: 2 additions & 1 deletion charts/tailscale-relay/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ securityContext:

# Command to execute
command:
- /usr/local/bin/entrypoint
- tailscaled
# - /usr/local/bin/entrypoint

## Arguments to append to the command
# args:
Expand Down

0 comments on commit 4273ed0

Please sign in to comment.