Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor + cleanup #95

Merged
merged 50 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a67e79b
update: lint
codekow Jun 20, 2024
99b2796
debug
codekow Jun 20, 2024
1567e6f
update: lint
codekow Jun 20, 2024
ee219ed
update: lint
codekow Jun 20, 2024
fa7d539
update: lint
codekow Jun 20, 2024
69ea982
update: lint
codekow Jun 20, 2024
9f1b586
update: lint
codekow Jun 20, 2024
24325c8
update: a lot of lint
codekow Jun 20, 2024
3c7634e
update: paths
codekow Jun 20, 2024
6a566e2
fix: names
codekow Jun 20, 2024
cb9dd8e
update: servicemesh
codekow Jun 20, 2024
715c300
update: gpu
codekow Jun 20, 2024
a9bd94f
update: pipelines
codekow Jun 20, 2024
467d2c6
update: pipelines
codekow Jun 20, 2024
3cb52ec
fix: paths
codekow Jun 20, 2024
0f48887
update: paths
codekow Jun 20, 2024
68aa162
update: paths
codekow Jun 20, 2024
4cdabab
fix: lint
codekow Jun 20, 2024
d89d759
Merge branch 'main' into cleanup
codekow Jun 20, 2024
4d9b5be
update: gitops
codekow Jun 20, 2024
c47f58b
update: lint
codekow Jun 20, 2024
9eee621
update: lint
codekow Jun 24, 2024
35b707c
delete: unhelpful readme
codekow Jun 24, 2024
86c98d1
cleanup: gitops
codekow Jun 24, 2024
b3c6471
update: docs
codekow Jun 24, 2024
5b0aea8
debug: issue
codekow Jun 24, 2024
50a254d
update: plugins
codekow Jun 24, 2024
d5d891d
fix: redundancy
codekow Jun 25, 2024
29a13e2
update: odf
codekow Jun 25, 2024
2fdd8e6
fix: odf
codekow Jun 25, 2024
662130a
update: node labeler
codekow Jun 25, 2024
e51e8c3
update: odf
codekow Jun 25, 2024
5fcce0e
update: functions
codekow Jun 25, 2024
40f5ca5
fix: lint
codekow Jun 25, 2024
17a0cdd
update: docs
codekow Jun 28, 2024
e529884
update: rhoai
codekow Jun 30, 2024
8779117
update: pipelines
codekow Jun 30, 2024
b777415
update: gpu
codekow Jun 30, 2024
a2688ec
add: overlay 1.5
codekow Jul 1, 2024
56e09c7
add: gitops operator
codekow Jul 1, 2024
5cb2073
update: rhoai overlays
codekow Jul 1, 2024
89e6c0a
fix: lint
codekow Jul 1, 2024
bcccd7b
update: rhods
codekow Jul 1, 2024
94b87a5
add: a bunch of overlays
codekow Jul 1, 2024
60b0cbc
update: job
codekow Jul 1, 2024
41d84ec
update: generic job
codekow Jul 1, 2024
9ff0dda
update: call it what it is
codekow Jul 1, 2024
f86de34
fix: rhoai config
codekow Jul 1, 2024
b1401d9
update: gitignore
codekow Jul 1, 2024
d4ba8b0
update: path
codekow Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
42 changes: 24 additions & 18 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,6 @@ on: # yamllint disable-line rule:truthy
- docs/*.md

jobs:
lint-kustomize:
runs-on: ubuntu-latest
env:
KUSTOMIZE_VERSION: 3.9.4
KUSTOMIZE_URL: https://github.com/kubernetes-sigs/kustomize/releases/download/v${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64
BIN_PATH: /usr/bin
steps:
- name: Install Kustomize
run: |
sudo curl "${KUSTOMIZE_URL}" -L -o ${BIN_PATH}/kustomize
sudo chmod +x ${BIN_PATH}/kustomize
- name: Code Checkout
uses: actions/checkout@v4
- name: Validate Manifests
run: |
[ -d ./bootstrap/base ] && touch bootstrap/base/sealed-secrets-secret.yaml
./scripts/validate_manifests.sh

lint-yaml:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -65,4 +48,27 @@ jobs:
uses: hadolint/[email protected]
with:
dockerfile: Dockerfile
recursive: true
recursive: true

lint-manifests:
runs-on: ubuntu-latest
env:
# KUSTOMIZE_VERSION: v5.0.1
BIN_PATH: /usr/bin
steps:
- name: Install Kustomize
run: |
set -x
LATEST=$( curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases/latest | jq .name | sed 's#kustomize/##; s#"##g')
BIN_VERSION=${KUSTOMIZE_VERSION:-${LATEST}}
DOWNLOAD_URL=https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${BIN_VERSION}/kustomize_${BIN_VERSION}_linux_amd64.tar.gz

curl "${DOWNLOAD_URL}" -sL | sudo tar zx -C "${BIN_PATH}/" kustomize
sudo chmod +x "${BIN_PATH}"/kustomize
- name: Code Checkout
uses: actions/checkout@v4
- name: Validate Manifests
run: |
[ -d ./bootstrap/base ] && touch bootstrap/base/sealed-secrets-secret.yaml
./scripts/validate_kustomize.sh
./scripts/validate_helm.sh
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ scratch/
files.txt
bootstrap/sealed-secrets-secret.yaml
**/charts/

dictionary.dic

# swap files
Expand Down
7 changes: 4 additions & 3 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ override:
info:
- DL3006 # Always tag the version of an image explicitly
- DL3013 # Pin versions in pip
- DL3033 # Specify version with `dnf install
- DL3041 # Specify version with `yum install
- DL4006 # Set the SHELL option -o pipefail before RUN
- DL4006 # Set the SHELL option -o pipefail before RUN
ignored:
- DL3033 # Specify version with `dnf install
- DL3041 # Specify version with `yum install
30 changes: 30 additions & 0 deletions .pyspelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ matrix:
encoding: utf-8
wordlists:
- .wordlist-md
output: scratch/dictionary.dic
pipeline:
- pyspelling.filters.markdown:
- pyspelling.filters.html:
Expand All @@ -17,3 +18,32 @@ matrix:
sources:
- '!**/INFO.md|!**/TODO.md|!venv/**|!scratch/**|**/*.md'
default_encoding: utf-8
- name: Scripts
aspell:
lang: en
dictionary:
encoding: utf-8
wordlists:
- .wordlist-md
- .wordlist-sh
output: scratch/dictionary.dic
pipeline:
- pyspelling.filters.text:
sources:
- '!venv/**|!scratch/**|!*/wip/**|**/*.sh'
default_encoding: utf-8
- name: Python
aspell:
lang: en
# ignore-case: true
dictionary:
encoding: utf-8
wordlists:
- .wordlist-md
- .wordlist-sh
output: scratch/dictionary.dic
pipeline:
- pyspelling.filters.python:
sources:
- '!venv/**|!scratch/**|**/*.py'
default_encoding: utf-8
Loading