Skip to content

Commit

Permalink
Upgrade to node20
Browse files Browse the repository at this point in the history
  • Loading branch information
jdewinne committed Apr 30, 2024
1 parent ad999e8 commit 0b8a561
Show file tree
Hide file tree
Showing 12 changed files with 157 additions and 157 deletions.
18 changes: 9 additions & 9 deletions archive-channel/action.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: 'Archive Channel'
description: 'Archive a channel'
name: "Archive Channel"
description: "Archive a channel"
inputs:
app-slug:
description: 'App Slug.'
description: "App Slug."
required: true
default: ''
default: ""
api-token:
description: 'API Token.'
description: "API Token."
required: true
default: ''
default: ""
channel-slug:
description: 'The slug of the channel to archive.'
description: "The slug of the channel to archive."
required: true
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
14 changes: 7 additions & 7 deletions archive-customer/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: 'Archive Customer'
description: 'Archive a customer'
name: "Archive Customer"
description: "Archive a customer"
inputs:
api-token:
description: 'API Token.'
description: "API Token."
required: true
default: ''
default: ""
customer-id:
description: 'The id of the customer.'
description: "The id of the customer."
required: true
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
48 changes: 24 additions & 24 deletions create-cluster/action.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
name: 'Create Cluster'
description: 'Create Cluster'
name: "Create Cluster"
description: "Create Cluster"
inputs:
api-token:
description: 'API Token.'
description: "API Token."
required: true
default: ''
default: ""
kubernetes-distribution:
description: 'Kubernetes distribution of the cluster to provision.'
description: "Kubernetes distribution of the cluster to provision."
required: true
kubernetes-version:
description: 'Kubernetes version to provision (format is distribution dependent).'
description: "Kubernetes version to provision (format is distribution dependent)."
required: false
license-id:
description: 'License ID to use for the installation (required for Embedded Cluster distribution).'
description: "License ID to use for the installation (required for Embedded Cluster distribution)."
required: false
cluster-name:
description: 'Name of the cluster to provision'
description: "Name of the cluster to provision"
required: true
default: ''
default: ""
ttl:
description: 'Cluster TTL (duration, max 48h)'
description: "Cluster TTL (duration, max 48h)"
required: false
disk:
description: 'Disk size in GiB'
description: "Disk size in GiB"
required: false
nodes:
description: 'Number of nodes to provision'
description: "Number of nodes to provision"
required: false
min-nodes:
description: 'Minimum number of nodes to provision'
description: "Minimum number of nodes to provision"
required: false
max-nodes:
description: 'Maximum number of nodes to provision'
description: "Maximum number of nodes to provision"
required: false
instance-type:
description: 'Instance type to provision'
description: "Instance type to provision"
required: false
timeout-minutes:
description: 'Time to wait for the cluster to have a status of `running`'
description: "Time to wait for the cluster to have a status of `running`"
required: false
default: '20'
default: "20"
node-groups:
description: |
Node groups to provision.
Expand All @@ -59,17 +59,17 @@ inputs:
value: "engineering"</pre>
required: false
kubeconfig-path:
description: 'If specified, the kubeconfig will be written to this path'
description: "If specified, the kubeconfig will be written to this path"
required: false
export-kubeconfig:
description: 'Export the KUBECONFIG variable (true/false)'
description: "Export the KUBECONFIG variable (true/false)"
required: false
default: 'false'
default: "false"
outputs:
cluster-id: # id of the cluster
description: 'Contains the cluster id.'
description: "Contains the cluster id."
cluster-kubeconfig: # kubeconfig of the cluster
description: 'Contains the kubeconfig to connect with the cluster.'
description: "Contains the kubeconfig to connect with the cluster."
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
38 changes: 19 additions & 19 deletions create-customer/action.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: 'Create Customer'
description: 'Create Customer'
name: "Create Customer"
description: "Create Customer"
inputs:
app-slug:
description: 'App Slug.'
description: "App Slug."
required: true
default: ''
default: ""
api-token:
description: 'API Token.'
description: "API Token."
required: true
default: ''
default: ""
customer-name:
description: 'Name of the customer.'
description: "Name of the customer."
required: true
customer-email:
description: 'Email of the customer.'
description: "Email of the customer."
required: false
license-type:
description: 'License Type for the customer.'
description: "License Type for the customer."
required: true
default: 'dev'
default: "dev"
channel-slug:
description: 'Channel to assign the customer to.'
description: "Channel to assign the customer to."
required: false
expires-in:
description: 'Expiration of the license in days. (default: 0 - never expires))'
description: "Expiration of the license in days. (default: 0 - never expires))"
required: false
default: '0'
default: "0"
entitlements:
description: |
Entitlements to assign to the customer.
Expand All @@ -35,15 +35,15 @@ inputs:
value: "10"</pre>
required: false
is-kots-install-enabled:
description: 'If KOTS install should be enabled for the customer.'
description: "If KOTS install should be enabled for the customer."
required: false
outputs:
customer-id: # id of the customer
description: 'Contains the customer id.'
description: "Contains the customer id."
license-id: # id of the license
description: 'Contains the license id.'
description: "Contains the license id."
license-file: # contains the license file
description: 'Contains he license file.'
description: "Contains he license file."
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
28 changes: 14 additions & 14 deletions create-release/action.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: 'Replicated create release'
description: 'Create a Replicated release on a channel'
name: "Replicated create release"
description: "Create a Replicated release on a channel"
inputs:
app-slug:
description: 'App Slug.'
description: "App Slug."
required: true
default: ''
default: ""
api-token:
description: 'API Token.'
description: "API Token."
required: true
default: ''
default: ""
chart:
description: 'Path to the helm chart (One of `chart` or `yaml-dir` is required).'
description: "Path to the helm chart (One of `chart` or `yaml-dir` is required)."
required: false
yaml-dir:
description: 'The directory containing multiple yamls for a Replicated release (One of `chart` or `yaml-dir` is required).'
description: "The directory containing multiple yamls for a Replicated release (One of `chart` or `yaml-dir` is required)."
required: false
promote-channel:
description: 'Channel name or id to promote this release to.'
description: "Channel name or id to promote this release to."
required: false
version:
description: 'Release version'
description: "Release version"
required: false
outputs:
channel-slug: # slug of the channel
description: 'Contains the channel slug.'
description: "Contains the channel slug."
release-sequence: # sequence number of the release
description: 'Sequence number of the release.'
description: "Sequence number of the release."
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
18 changes: 9 additions & 9 deletions get-customer-instances/action.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: 'Get Customer Instances'
description: 'Generate k8s matrix for testing based on usage and availability'
name: "Get Customer Instances"
description: "Generate k8s matrix for testing based on usage and availability"
inputs:
app-slug:
description: 'App Slug.'
description: "App Slug."
required: true
default: ''
default: ""
api-token:
description: 'API Token.'
description: "API Token."
required: true
default: ''
default: ""
outputs:
matrix: # matrix to test with
description: 'Matrix to test with (json).'
description: "Matrix to test with (json)."
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
34 changes: 17 additions & 17 deletions helm-install/action.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
name: 'Install a Helm chart to a cluster'
description: 'Install a Helm chart to a cluster'
name: "Install a Helm chart to a cluster"
description: "Install a Helm chart to a cluster"
inputs:
helm-path:
description: 'The path to the helm binary to use'
description: "The path to the helm binary to use"
required: true
kubeconfig:
description: 'A valid kubeconfig to connect to'
description: "A valid kubeconfig to connect to"
required: true
registry-username:
description: 'The registry username to log in with'
description: "The registry username to log in with"
required: true
registry-password:
description: 'The registry password to use'
description: "The registry password to use"
required: true
repo-name:
description: 'The repo name to use (when not installing from local or oci)'
description: "The repo name to use (when not installing from local or oci)"
required: false
repo-url:
description: 'The repo url to use (when not installing from local or oci)'
description: "The repo url to use (when not installing from local or oci)"
required: false
chart:
description: 'The chart to use'
description: "The chart to use"
required: true
version:
description: 'The version of the chart to install'
description: "The version of the chart to install"
required: false
name:
description: 'The name of release to install'
description: "The name of release to install"
required: true
namespace:
description: 'The namespace to install the application to'
description: "The namespace to install the application to"
required: true
values:
description: 'A values.yaml file to use'
description: "A values.yaml file to use"
run-preflights:
description: 'Run preflight checks (true/false)'
description: "Run preflight checks (true/false)"
required: false
default: 'false'
default: "false"
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
24 changes: 12 additions & 12 deletions kots-install/action.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: 'KOTS Install'
description: 'Install a application using KOTS'
name: "KOTS Install"
description: "Install a application using KOTS"
inputs:
kubeconfig:
description: 'A valid kubeconfig to connect to'
description: "A valid kubeconfig to connect to"
required: true
kots-version:
description: 'The version of KOTS to use'
description: "The version of KOTS to use"
required: true
default: "latest"
app-slug:
description: 'App Slug.'
description: "App Slug."
required: true
app-version-label:
description: 'The application version label to install. If not specified, the latest version is installed.'
description: "The application version label to install. If not specified, the latest version is installed."
required: false
shared-password:
description: 'Shared password to use when deploying the admin console. If not specified, a random password is generated.'
description: "Shared password to use when deploying the admin console. If not specified, a random password is generated."
required: false
license-file:
description: 'A license.yaml to use. This can be a path to a file or the contents of the file.'
description: "A license.yaml to use. This can be a path to a file or the contents of the file."
required: true
config-values:
description: 'The config values to use. This can be a path to a file or the contents of the file.'
description: "The config values to use. This can be a path to a file or the contents of the file."
required: false
namespace:
description: 'The namespace to install the application to'
description: "The namespace to install the application to"
default: "default"
required: false
wait-duration:
description: 'Timeout to be used while waiting for individual components to be ready. must be in Go duration format (eg: 10s, 2m) (default "2m")'
required: false
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
Loading

0 comments on commit 0b8a561

Please sign in to comment.