add deployment tag path and reademes
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# git
|
||||
|
||||
Composite actions for Git operations.
|
||||
|
||||
| action | description |
|
||||
| --- | --- |
|
||||
| [create_tag](create_tag/README.md) | Creates and pushes a git tag in the current repository |
|
||||
@@ -0,0 +1,10 @@
|
||||
# helm
|
||||
|
||||
Composite actions for managing Helm chart deployments.
|
||||
|
||||
| action | description |
|
||||
| --- | --- |
|
||||
| [diff](diff/README.md) | Diff a Helm chart for a deployment in a Kubernetes cluster |
|
||||
| [set_deployment_image](set_deployment_image/README.md) | Set the image for a deployment in a Kubernetes cluster |
|
||||
| [template](template/README.md) | Template a Helm chart for a deployment in a Kubernetes cluster |
|
||||
| [upgrade](upgrade/README.md) | Login to an OCI registry, update chart dependencies, and run helm upgrade |
|
||||
@@ -18,6 +18,7 @@ Diff a Helm chart for a deployment in a Kubernetes cluster
|
||||
| `CONTAINER_NAME` | <p>The container component to update</p> | `true` | `""` |
|
||||
| `VALUES_FILE` | <p>The values file to use</p> | `false` | `./helm/values.yaml` |
|
||||
| `CHART_PATH` | <p>Path to the Helm chart</p> | `false` | `./helm` |
|
||||
| `TAG_KEY` | <p>Helm --set key for the image tag (e.g. deploy.api.tag)</p> | `true` | `""` |
|
||||
<!-- action-docs-inputs source="action.yml" -->
|
||||
|
||||
<!-- action-docs-runs source="action.yml" -->
|
||||
|
||||
@@ -22,6 +22,9 @@ inputs:
|
||||
CHART_PATH:
|
||||
description: "Path to the Helm chart"
|
||||
default: "./helm"
|
||||
TAG_KEY:
|
||||
description: "Helm --set key for the image tag (e.g. deploy.api.tag)"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -33,6 +36,6 @@ runs:
|
||||
- name: Helm Diff
|
||||
shell: sh
|
||||
run: |
|
||||
CMD="helm diff upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set deploy.${{ inputs.CONTAINER_NAME }}.tag=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }} --context 5"
|
||||
CMD="helm diff upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set ${TAG_KEY}=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }} --context 5"
|
||||
echo "Running: $CMD"
|
||||
eval "$CMD"
|
||||
@@ -18,6 +18,7 @@ Set the image for a deployment in a Kubernetes
|
||||
| `CONTAINER_NAME` | <p>The container component to update</p> | `true` | `""` |
|
||||
| `VALUES_FILE` | <p>The values file to use</p> | `false` | `./helm/values.yaml` |
|
||||
| `CHART_PATH` | <p>Path to the Helm chart</p> | `false` | `./helm` |
|
||||
| `TAG_KEY` | <p>Helm --set key for the image tag (e.g. deploy.api.tag)</p> | `true` | `""` |
|
||||
<!-- action-docs-inputs source="action.yml" -->
|
||||
|
||||
<!-- action-docs-runs source="action.yml" -->
|
||||
|
||||
@@ -22,6 +22,9 @@ inputs:
|
||||
CHART_PATH:
|
||||
description: "Path to the Helm chart"
|
||||
default: "./helm"
|
||||
TAG_KEY:
|
||||
description: "Helm --set key for the image tag (e.g. deploy.api.tag)"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -29,6 +32,6 @@ runs:
|
||||
- name: Helm Set Image
|
||||
shell: sh
|
||||
run: |
|
||||
CMD="helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set deploy.${{ inputs.CONTAINER_NAME }}.tag=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }}"
|
||||
CMD="helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set ${TAG_KEY}=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }}"
|
||||
echo "Running: $CMD"
|
||||
eval "$CMD"
|
||||
@@ -18,6 +18,7 @@ Template a Helm chart for a deployment in a Kubernetes cluster
|
||||
| `CONTAINER_NAME` | <p>The container component to update</p> | `true` | `""` |
|
||||
| `VALUES_FILE` | <p>The values file to use</p> | `false` | `./helm/values.yaml` |
|
||||
| `CHART_PATH` | <p>Path to the Helm chart</p> | `false` | `./helm` |
|
||||
| `TAG_KEY` | <p>Helm --set key for the image tag (e.g. deploy.api.tag)</p> | `true` | `""` |
|
||||
<!-- action-docs-inputs source="action.yml" -->
|
||||
|
||||
<!-- action-docs-runs source="action.yml" -->
|
||||
|
||||
@@ -22,6 +22,9 @@ inputs:
|
||||
CHART_PATH:
|
||||
description: "Path to the Helm chart"
|
||||
default: "./helm"
|
||||
TAG_KEY:
|
||||
description: "Helm --set key for the image tag (e.g. deploy.api.tag)"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -29,6 +32,6 @@ runs:
|
||||
- name: Helm Template
|
||||
shell: sh
|
||||
run: |
|
||||
CMD="helm template ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set deploy.${{ inputs.CONTAINER_NAME }}.tag=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }}"
|
||||
CMD="helm template ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAMESPACE }} --values ${{ inputs.VALUES_FILE }} --set ${TAG_KEY}=${{ inputs.IMAGE_TAG }} --set image.repository=${{ inputs.IMAGE_PATH }}"
|
||||
echo "Running: $CMD"
|
||||
eval "$CMD"
|
||||
@@ -0,0 +1,7 @@
|
||||
# infisical
|
||||
|
||||
Composite actions for Infisical secret management.
|
||||
|
||||
| action | description |
|
||||
| --- | --- |
|
||||
| [fetch-secret](fetch-secret/README.md) | Fetches a single secret value from Infisical using a machine identity token |
|
||||
@@ -0,0 +1,7 @@
|
||||
# infra
|
||||
|
||||
Composite actions for infrastructure management.
|
||||
|
||||
| action | description |
|
||||
| --- | --- |
|
||||
| [update_version](update_version/README.md) | Updates the service tag in the stat-tackler-infra releases/versions.yaml |
|
||||
@@ -0,0 +1,7 @@
|
||||
# kubectl
|
||||
|
||||
Composite actions for kubectl configuration.
|
||||
|
||||
| action | description |
|
||||
| --- | --- |
|
||||
| [configure](configure/README.md) | Configure kubectl for use with Kubernetes |
|
||||
@@ -0,0 +1,7 @@
|
||||
# test
|
||||
|
||||
Composite actions for running tests.
|
||||
|
||||
| action | description |
|
||||
| --- | --- |
|
||||
| [npm](npm/README.md) | Install dependencies and run npm tests |
|
||||
@@ -0,0 +1,8 @@
|
||||
# trivy
|
||||
|
||||
Composite actions for Trivy vulnerability scanning.
|
||||
|
||||
| action | description |
|
||||
| --- | --- |
|
||||
| [image_scan](image_scan/README.md) | Scan a container image with Trivy |
|
||||
| [namespace_scan](namespace_scan/README.md) | Scan a Kubernetes namespace for vulnerabilities |
|
||||
Reference in New Issue
Block a user