Skip to content

Commit

Permalink
Merge pull request #103 from consideRatio/pr/ref4
Browse files Browse the repository at this point in the history
ci: test with ubuntu:22.04 and relax pin of release action to v2
  • Loading branch information
manics authored Jan 11, 2024
2 parents d85808f + 47aafd8 commit b10d49d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/readme_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
k8s-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
# GitHub Action reference: https://github.com/jupyterhub/action-k3s-helm
- name: Start a local k8s cluster
Expand All @@ -21,8 +21,8 @@ jobs:
# - k3s versions at https://github.com/k3s-io/k3s/tags
# - helm versions at https://github.com/helm/helm/tags
k3s-channel: latest
# k3s-version: v1.22.2+k3s1
# helm-version: v3.7.0
# k3s-version: v1.29.0+k3s1
# helm-version: v3.13.0

- name: Verify function of k8s, kubectl, and helm
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
contents: write
steps:
# Action reference: https://github.com/Actions-R-Us/actions-tagger
# NOTE: We pin a version not to have the source code (.ts files), but the
# compiled source code (.js files). This git hash is what v2.0.1
# referenced 30 December 2020.
- uses: Actions-R-Us/actions-tagger@330ddfac760021349fef7ff62b372f2f691c20fb
- uses: Actions-R-Us/actions-tagger@v2
with:
token: "${{ github.token }}"
2 changes: 1 addition & 1 deletion .github/workflows/test_k3s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
test_install_k3s:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Test K3s and Helm
strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on:

jobs:
k8s-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
# GitHub Action reference: https://github.com/jupyterhub/action-k3s-helm
- name: Start a local k8s cluster
Expand All @@ -48,8 +48,8 @@ jobs:
# - k3s versions at https://github.com/k3s-io/k3s/tags
# - helm versions at https://github.com/helm/helm/tags
k3s-channel: latest
# k3s-version: v1.22.2+k3s1
# helm-version: v3.7.0
# k3s-version: v1.29.0+k3s1
# helm-version: v3.13.0

- name: Verify function of k8s, kubectl, and helm
run: |
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ outputs:
description: Path to kubeconfig file
value: ${{ steps.set-output.outputs.kubeconfig }}
k3s-version:
description: "Installed k3s version, such as v1.20.0+k3s2"
description: "Installed k3s version, such as v1.29.0+k3s1"
value: "${{ steps.set-output.outputs.k3s-version }}"
k8s-version:
description: "Installed k8s version, such as v1.20.0"
description: "Installed k8s version, such as v1.29.0"
value: "${{ steps.set-output.outputs.k8s-version }}"
calico-version:
description: "Installed calico version, such as v3.20.2"
description: "Installed calico version, such as v3.27.0"
value: "${{ steps.set-output.outputs.calico-version }}"
helm-version:
description: "Installed helm version, such as v3.4.2"
description: "Installed helm version, such as v3.13.0"
value: "${{ steps.set-output.outputs.helm-version }}"

runs:
Expand Down

0 comments on commit b10d49d

Please sign in to comment.