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

Simplify templating #59

Merged
merged 25 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .devcontainer/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ignore vars files
*.vars
# ignore tarballs
*.tar.*
# ignore kclvm dir
.kclvm
# ignore test generation
_lxc*
6 changes: 5 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@ FROM ubuntu:latest
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y \
build-essential \
gnupg2 \
debootstrap \
squashfs-tools \
make \
rsync \
curl \
wget \
git \
vim \
unzip \
squashfs-tools \
&& apt-get clean all \
&& rm -rf /var/lib/apt/lists/*

RUN wget -q https://kcl-lang.io/script/install-cli.sh -O - | bash && \
wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | bash && \
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && \
chmod +x /usr/bin/yq

Expand Down
13 changes: 10 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,23 @@
"dockerfile": "Dockerfile"
},
"remoteUser": "root",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/homelab-lxc,type=bind,consistency=cached,Z=true",
"workspaceFolder": "/workspace/homelab-lxc",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/homelab-lxc,type=bind,consistency=cached,Z=true",
"workspaceFolder": "/workspaces/homelab-lxc",
"initializeCommand": {
"clean_kcl": "rm -rf ${localWorkspaceFolder}/.kclvm",
"clean_partial": "rm -f ${localWorkspaceFolder}/_lxc-partial.yml",
"clean_template": "rm -f ${localWorkspaceFolder}/_lxc-template.yml",
"clean_image": "rm -f ${localWorkspaceFolder}/*.tar.*"
},
"customizations": {
"vscode": {
"extensions": [
"GitHub.vscode-pull-request-github",
"eamodio.gitlens",
"kcl.kcl-vscode-extension",
"redhat.vscode-yaml",
"stateful.runme"
"stateful.runme",
"github.vscode-github-actions"
]
}
}
Expand Down
File renamed without changes.
49 changes: 0 additions & 49 deletions .github/workflows/build-apisix.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build-codeserver.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build-gitea.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build-homarr.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/build-infisical.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build-ittools.yml

This file was deleted.

Loading