Skip to content

Commit d77121b

Browse files
committed
chore: clean up repository
Signed-off-by: Chris Butler <chris.butler@redhat.com>
1 parent a902547 commit d77121b

32 files changed

+63
-897
lines changed

.ansible-lint

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ offline: false
44
#requirements: ansible/execution_environment/requirements.yml
55

66
exclude_paths:
7-
- .cache/
8-
- .github/
9-
- charts/
10-
- common/
11-
- tests/
7+
- .cache/
8+
- .github/
9+
- charts/
10+
- common/
11+
- tests/
1212

1313
# warn_list:
1414
# - yaml

.github/workflows/ansible-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
uses: ansible/ansible-lint-action@v6
1515
# Let's point it to the path
1616
with:
17-
path: "ansible/"
17+
path: "ansible/"

.github/workflows/jsonschema.yaml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,19 @@
11
---
22
name: Verify json schema
33

4-
#
5-
# Documentation:
6-
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
7-
#
8-
9-
#############################
10-
# Start the job on all push #
11-
#############################
124
on: [push, pull_request]
135

14-
###############
15-
# Set the Job #
16-
###############
176
jobs:
187
jsonschema_tests:
19-
# Name the Job
208
name: Json Schema tests
219
strategy:
2210
matrix:
2311
python-version: [3.11]
24-
# Set the agent to run on
2512
runs-on: ubuntu-latest
2613

27-
##################
28-
# Load all steps #
29-
##################
3014
steps:
31-
##########################
32-
# Checkout the code base #
33-
##########################
3415
- name: Checkout Code
3516
uses: actions/checkout@v4
36-
with:
37-
# Full git history is needed to get a proper list of changed files within `super-linter`
38-
fetch-depth: 0
3917

4018
- name: Set up Python ${{ matrix.python-version }}
4119
uses: actions/setup-python@v5
@@ -54,9 +32,8 @@ jobs:
5432

5533
- name: Verify secrets json schema against templates
5634
run: |
57-
# check-jsonschema needs .yaml as an extension
5835
cp ./values-secret.yaml.template ./values-secret.yaml
59-
check-jsonschema --schemafile ./common/ansible/roles/vault_utils/values-secrets.v2.schema.json values-secret.yaml
36+
check-jsonschema --fill-defaults --schemafile https://raw.githubusercontent.com/validatedpatterns/rhvp.cluster_utils/refs/heads/main/roles/vault_utils/values-secrets.v2.schema.json values-secret.yaml
6037
rm -f ./values-secret.yaml
6138
6239
- name: Verify ClusterGroup values.schema.json against values-*yaml files
@@ -66,7 +43,6 @@ jobs:
6643
# disable shellcheck of single quotes in yq
6744
# shellcheck disable=2016
6845
yq eval-all '. as $item ireduce ({}; . * $item )' values-global.yaml "$i" > tmp.yaml
69-
check-jsonschema --schemafile ./common/clustergroup/values.schema.json tmp.yaml
46+
check-jsonschema --fill-defaults --schemafile https://raw.githubusercontent.com/validatedpatterns/clustergroup-chart/refs/heads/main/values.schema.json tmp.yaml
7047
rm -f tmp.yaml
71-
done
72-
48+
done

.github/workflows/linter.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/superlinter.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# Run Linter against code base #
2222
################################
2323
- name: Lint Code Base
24-
uses: github/super-linter/slim@v6
24+
uses: super-linter/super-linter/slim@v7
2525
env:
2626
VALIDATE_ALL_CODEBASE: true
2727
DEFAULT_BRANCH: main
@@ -31,11 +31,14 @@ jobs:
3131
VALIDATE_BASH: false
3232
VALIDATE_CHECKOV: false
3333
VALIDATE_JSCPD: false
34+
VALIDATE_JSON_PRETTIER: false
35+
VALIDATE_MARKDOWN_PRETTIER: false
3436
VALIDATE_KUBERNETES_KUBECONFORM: false
3537
VALIDATE_PYTHON_PYLINT: false
3638
VALIDATE_SHELL_SHFMT: false
3739
VALIDATE_YAML: false
40+
VALIDATE_YAML_PRETTIER: false
3841
# VALIDATE_DOCKERFILE_HADOLINT: false
3942
# VALIDATE_MARKDOWN: false
4043
# VALIDATE_NATURAL_LANGUAGE: false
41-
# VALIDATE_TEKTON: false
44+
# VALIDATE_TEKTON: false

charts/all/htpassword/Chart.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

charts/all/htpassword/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

charts/all/htpassword/adminify.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

charts/all/htpassword/templates/clusteradmins.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

charts/all/htpassword/templates/eso-htpasswd.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)