-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdevelopment-helm-prepare-cluster.yaml
More file actions
35 lines (31 loc) · 1.08 KB
/
development-helm-prepare-cluster.yaml
File metadata and controls
35 lines (31 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: development
on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!main' # excludes main
jobs:
compatibility-matrix:
strategy:
fail-fast: false
matrix:
cluster: [ {distribution: kind, version: v1.25.3}, {distribution: k3s, version: v1.26}]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Package Helm Chart for Replicated
id: package-helm-chart
run: |
helm package . -u
- name: Prepare Cluster
id: prepare-cluster
uses: replicatedhq/replicated-actions/prepare-cluster@v1
with:
app-slug: ${{ secrets.REPLICATED_APP }}
api-token: ${{ secrets.REPLICATED_API_TOKEN }}
chart: wordpress-enterprise-0.3.1.tgz
kubernetes-distribution: ${{ matrix.cluster.distribution }}
kubernetes-version: ${{ matrix.cluster.version }}
helm-chart-name: wordpress-enterprise