Skip to content

Commit

Permalink
format yaml
Browse files Browse the repository at this point in the history
Signed-off-by: kpango <[email protected]>
  • Loading branch information
kpango committed Feb 6, 2024
1 parent 88efc1a commit ed8d381
Show file tree
Hide file tree
Showing 194 changed files with 193 additions and 699 deletions.
96 changes: 48 additions & 48 deletions .fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,51 +22,51 @@ cli:
locator: git+github.com/vdaas/vald
analyze:
modules:
- name: github.com/vdaas/vald/cmd/agent/core/ngt
type: go
target: github.com/vdaas/vald/cmd/agent/core/ngt
path: cmd/agent/core/ngt
- name: github.com/vdaas/vald/cmd/agent/sidecar
type: go
target: github.com/vdaas/vald/cmd/agent/sidecar
path: cmd/agent/sidecar
- name: github.com/vdaas/vald/cmd/discoverer/k8s
type: go
target: github.com/vdaas/vald/cmd/discoverer/k8s
path: cmd/discoverer/k8s
- name: github.com/vdaas/vald/cmd/gateway/filter
type: go
target: github.com/vdaas/vald/cmd/gateway/filter
path: cmd/gateway/filter
- name: github.com/vdaas/vald/cmd/gateway/lb
type: go
target: github.com/vdaas/vald/cmd/gateway/lb
path: cmd/gateway/lb
- name: github.com/vdaas/vald/cmd/manager/index
type: go
target: github.com/vdaas/vald/cmd/manager/index
path: cmd/manager/index
- name: github.com/vdaas/vald/cmd/tools/cli/vdctl
type: go
target: github.com/vdaas/vald/cmd/tools/cli/vdctl
path: cmd/tools/cli/vdctl
- name: github.com/vdaas/vald/hack/helm/schema/gen
type: go
target: github.com/vdaas/vald/hack/helm/schema/gen
path: hack/helm/schema/gen
- name: github.com/vdaas/vald/hack/license/gen
type: go
target: github.com/vdaas/vald/hack/license/gen
path: hack/license/gen
- name: github.com/vdaas/vald/hack/tools/config/agent/core/ngt
type: go
target: github.com/vdaas/vald/hack/tools/config/agent/core/ngt
path: hack/tools/config/agent/core/ngt
- name: github.com/vdaas/vald/hack/tools/config/discoverer/k8s
type: go
target: github.com/vdaas/vald/hack/tools/config/discoverer/k8s
path: hack/tools/config/discoverer/k8s
- name: github.com/vdaas/vald/hack/tools/metrics
type: go
target: github.com/vdaas/vald/hack/tools/metrics
path: hack/tools/metrics
- name: github.com/vdaas/vald/cmd/agent/core/ngt
type: go
target: github.com/vdaas/vald/cmd/agent/core/ngt
path: cmd/agent/core/ngt
- name: github.com/vdaas/vald/cmd/agent/sidecar
type: go
target: github.com/vdaas/vald/cmd/agent/sidecar
path: cmd/agent/sidecar
- name: github.com/vdaas/vald/cmd/discoverer/k8s
type: go
target: github.com/vdaas/vald/cmd/discoverer/k8s
path: cmd/discoverer/k8s
- name: github.com/vdaas/vald/cmd/gateway/filter
type: go
target: github.com/vdaas/vald/cmd/gateway/filter
path: cmd/gateway/filter
- name: github.com/vdaas/vald/cmd/gateway/lb
type: go
target: github.com/vdaas/vald/cmd/gateway/lb
path: cmd/gateway/lb
- name: github.com/vdaas/vald/cmd/manager/index
type: go
target: github.com/vdaas/vald/cmd/manager/index
path: cmd/manager/index
- name: github.com/vdaas/vald/cmd/tools/cli/vdctl
type: go
target: github.com/vdaas/vald/cmd/tools/cli/vdctl
path: cmd/tools/cli/vdctl
- name: github.com/vdaas/vald/hack/helm/schema/gen
type: go
target: github.com/vdaas/vald/hack/helm/schema/gen
path: hack/helm/schema/gen
- name: github.com/vdaas/vald/hack/license/gen
type: go
target: github.com/vdaas/vald/hack/license/gen
path: hack/license/gen
- name: github.com/vdaas/vald/hack/tools/config/agent/core/ngt
type: go
target: github.com/vdaas/vald/hack/tools/config/agent/core/ngt
path: hack/tools/config/agent/core/ngt
- name: github.com/vdaas/vald/hack/tools/config/discoverer/k8s
type: go
target: github.com/vdaas/vald/hack/tools/config/discoverer/k8s
path: hack/tools/config/discoverer/k8s
- name: github.com/vdaas/vald/hack/tools/metrics
type: go
target: github.com/vdaas/vald/hack/tools/metrics
path: hack/tools/metrics
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ assignees: ""

<!--- Please change the versions below along with your environment -->

<<<<<<< HEAD
- Go Version: 1.21.6
=======
- Go Version: 1.21.7
>>>>>>> dependencies/update-go-deps
- Docker Version: 20.10.8
- Kubernetes Version: v1.29.1
- NGT Version: 2.1.6
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/security_issue_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ assignees: ""

<!--- Please change the versions below along with your environment -->

<<<<<<< HEAD
- Go Version: 1.21.6
=======
- Go Version: 1.21.7
>>>>>>> dependencies/update-go-deps
- Docker Version: 20.10.8
- Kubernetes Version: v1.29.1
- NGT Version: 2.1.6
4 changes: 4 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@

<!--- Please change the versions below along with your environment -->

<<<<<<< HEAD
- Go Version: 1.21.6
=======
- Go Version: 1.21.7
>>>>>>> dependencies/update-go-deps
- Docker Version: 20.10.8
- Kubernetes Version: v1.29.1
- NGT Version: 2.1.6
Expand Down
3 changes: 0 additions & 3 deletions .github/actions/deploy-chaos-mesh/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,15 @@ runs:
echo "version=${CHAOS_MESH_VERSION}" >> $GITHUB_OUTPUT
env:
CHAOS_MESH_VERSION: ${{ inputs.chaos_mesh_version }}

- name: Check k3d
shell: bash
id: check_k3d
run: |
kubectl cluster-info dump
- name: Check Helm
shell: bash
run: |
helm version
- name: Deploy Chaos Mesh
shell: bash
run: |
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/docker-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#
name: "Build Docker images"
description: "A action to build Docker images and publish them"

inputs:
target:
description: "Build target"
Expand Down Expand Up @@ -45,7 +44,6 @@ outputs:
EXTRA_TAGS:
description: "Extra tags"
value: ${{ steps.add_extra_tags.outputs.EXTRA_TAGS }}

runs:
using: "composite"
steps:
Expand All @@ -62,11 +60,9 @@ runs:
echo "ALTER_IMAGE_NAME=${alter_image_name}" >> $GITHUB_OUTPUT
env:
TARGET: ${{ inputs.target }}

- name: Determine tag name
id: determine_tag_name
uses: ./.github/actions/determine-docker-image-tag

- name: Determine platforms
shell: bash
id: determine_platforms
Expand All @@ -86,7 +82,6 @@ runs:
echo "PLATFORMS=${platforms}" >> $GITHUB_OUTPUT
env:
TARGET_PLATFORMS: ${{ inputs.platforms }}

- name: Add extra tags
shell: bash
id: add_extra_tags
Expand All @@ -102,7 +97,6 @@ runs:
IMAGE_NAME: ${{ steps.image_name.outputs.IMAGE_NAME }}
ALTER_IMAGE_NAME: ${{ steps.image_name.outputs.ALTER_IMAGE_NAME }}
PRIMARY_TAG: ${{ steps.determine_tag_name.outputs.PRIMARY_TAG }}

- name: Build and Push
shell: bash
id: build_and_push
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/dump-context/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#
name: "Dump context to log"
description: "A action to dump context to log"

runs:
using: "composite"
steps:
Expand All @@ -24,31 +23,26 @@ runs:
run: echo $JSON
env:
JSON: ${{toJSON(github)}}

- name: "Dump job context"
shell: bash
run: echo $JSON
env:
JSON: ${{ toJSON(job) }}

- name: "Dump steps context"
shell: bash
run: echo $JSON
env:
JSON: ${{toJSON(steps)}}

- name: "Dump runner context"
shell: bash
run: echo $JSON
env:
JSON: ${{toJSON(runner)}}

- name: "Dump strategy context"
shell: bash
run: echo $JSON
env:
JSON: ${{toJSON(strategy)}}

- name: "Dump matrix context"
shell: bash
run: echo $JSON
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/e2e-deploy-vald-helm-operator/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#
name: "Deploy Vald using vald-helm-operator for E2E test"
description: "A action to deploy vald using vald-helm-operator for E2E test"

inputs:
require_minio:
description: "If Minio is required, set this to true."
Expand Down Expand Up @@ -49,7 +48,6 @@ outputs:
POD_NAME:
description: "A pod name that waited for"
value: ${{ steps.deploy_vald.outputs.POD_NAME }}

runs:
using: "composite"
steps:
Expand All @@ -59,12 +57,10 @@ runs:
if: ${{ inputs.require_minio == 'true' }}
run: |
make K8S_SLEEP_DURATION_FOR_WAIT_COMMAND=10 k8s/external/minio/deploy
- name: Dump valdrelease
shell: bash
run: |
cat ${{ inputs.valdrelease }}
- name: Deploy vald helm operator from remote charts
shell: bash
id: deploy_vald_helm_operator_remote
Expand All @@ -79,7 +75,6 @@ runs:
env:
DEFAULT_IMAGE_TAG: ${{ inputs.default_image_tag }}
HELM_EXTRA_OPTIONS: ${{ inputs.helm_extra_options }}

- name: Deploy vald helm operator from local charts
shell: bash
id: deploy_vald_helm_operator_local
Expand All @@ -90,7 +85,6 @@ runs:
env:
DEFAULT_IMAGE_TAG: ${{ inputs.default_image_tag }}
HELM_EXTRA_OPTIONS: ${{ inputs.helm_extra_options }}

- name: Deploy vald
shell: bash
id: deploy_vald
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/e2e-deploy-vald-readreplica/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#
name: "Deploy Vald Read Replica for E2E test"
description: "A action to deploy vald read replica for E2E test"

inputs:
require_minio:
description: "If Minio is required, set this to true."
Expand Down Expand Up @@ -49,7 +48,6 @@ outputs:
POD_NAME:
description: "A pod name that waited for"
value: ${{ steps.get_real_pod_name.outputs.POD_NAME }}

runs:
using: "composite"
steps:
Expand All @@ -59,12 +57,10 @@ runs:
if: ${{ inputs.require_minio == 'true' }}
run: |
make K8S_SLEEP_DURATION_FOR_WAIT_COMMAND=10 k8s/external/minio/deploy
- name: Dump Helm values
shell: bash
run: |
cat ${{ inputs.values }}
- name: Deploy vald read replica from remote charts
shell: bash
id: deploy_vald_readreplica_remote
Expand All @@ -90,7 +86,6 @@ runs:
HELM_EXTRA_OPTIONS: ${{ inputs.helm_extra_options }}
WAIT_FOR_SELECTOR: ${{ inputs.wait_for_selector }}
WAIT_FOR_TIMEOUT: ${{ inputs.wait_for_timeout }}

- name: Deploy vald read replica from local charts
shell: bash
id: deploy_vald_readreplica_local
Expand All @@ -112,7 +107,6 @@ runs:
HELM_EXTRA_OPTIONS: ${{ inputs.helm_extra_options }}
WAIT_FOR_SELECTOR: ${{ inputs.wait_for_selector }}
WAIT_FOR_TIMEOUT: ${{ inputs.wait_for_timeout }}

- name: Get real pod name
shell: bash
id: get_real_pod_name
Expand Down
7 changes: 0 additions & 7 deletions .github/actions/e2e-deploy-vald/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#
name: "Deploy Vald for E2E test"
description: "A action to deploy vald for E2E test"

inputs:
require_minio:
description: "If Minio is required, set this to true."
Expand Down Expand Up @@ -52,7 +51,6 @@ outputs:
POD_NAME:
description: "A pod name that waited for"
value: ${{ steps.get_real_pod_name.outputs.POD_NAME }}

runs:
using: "composite"
steps:
Expand All @@ -62,20 +60,17 @@ runs:
if: ${{ inputs.require_minio == 'true' }}
run: |
make K8S_SLEEP_DURATION_FOR_WAIT_COMMAND=10 k8s/external/minio/deploy
- name: Dump Helm values
shell: bash
run: |
cat ${{ inputs.values }}
- name: Change namespace
if: ${{ inputs.namespace != '' }}
shell: bash
run: |
kubectl create ns ${NAMESPACE} ; kubectl config set-context --current --namespace=${NAMESPACE}
env:
NAMESPACE: ${{ inputs.namespace }}

- name: Deploy vald from remote charts
shell: bash
id: deploy_vald_remote
Expand All @@ -101,7 +96,6 @@ runs:
HELM_EXTRA_OPTIONS: ${{ inputs.helm_extra_options }}
WAIT_FOR_SELECTOR: ${{ inputs.wait_for_selector }}
WAIT_FOR_TIMEOUT: ${{ inputs.wait_for_timeout }}

- name: Deploy vald from local charts
shell: bash
id: deploy_vald_local
Expand All @@ -123,7 +117,6 @@ runs:
HELM_EXTRA_OPTIONS: ${{ inputs.helm_extra_options }}
WAIT_FOR_SELECTOR: ${{ inputs.wait_for_selector }}
WAIT_FOR_TIMEOUT: ${{ inputs.wait_for_timeout }}

- name: Get real pod name
shell: bash
id: get_real_pod_name
Expand Down
Loading

0 comments on commit ed8d381

Please sign in to comment.