-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.0.0b7: update dependencies and add new test to make sure smol-k8s-l…
…ab works on kind (#125) * update dependencies and add new test to make sure smol-k8s-lab works on kind at least * only run tests on non-main branches * make sure poetry is installed in ci/cd * make sure the correct version of python is installed * properly source virtual env for poetry * fix spacing in help text * update poetry dependencies * fix kind extra kubelet args to format correctly * fix using alternative config files * add a test hostname for Argo CD in CI/CD test of smol-k8s-lab * add test email for smol-k8s-lab ci/cd testing * removing bitwarden from base tests for smol-k8s-lab in ci/cd * update kubelet args * don't ask for bitwarden credentials unless global external secrets is set to bitwarden as provider * fix order of args issue with preparing helm and adding new repos * install argocd cli in ci/cd * update help text screenshot * don't wait for bitwarden eso provider if we're not using bitwarden
- Loading branch information
Showing
14 changed files
with
1,616 additions
and
467 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Test smol-k8s-lab | ||
on: | ||
push: | ||
branches-ignore: | ||
- "main" | ||
jobs: | ||
smol_k8s_lab_kind: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up python | ||
id: setup-python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
|
||
- name: Install smol-k8s-lab via poetry | ||
run: poetry install | ||
|
||
- name: Install Argo CD | ||
run: | | ||
curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 | ||
sudo install -m 555 argocd-linux-amd64 /usr/local/bin/argocd | ||
rm argocd-linux-amd64 | ||
- name: source virtual env and test smol-k8s-lab | ||
run: | | ||
source .venv/bin/activate | ||
smol-k8s-lab -c .github/smol_k8s_lab_config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters