Better ephemeral workspace support with Codespaces
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
committed by
GitHub
parent
b65faa6a55
commit
6239bc017a
@@ -24,17 +24,17 @@ tasks:
|
||||
chmod +x ${PWD}/.git/hooks/pre-commit
|
||||
- name: run kube-prometheus
|
||||
command: |
|
||||
.gitpod/prepare-k3s.sh
|
||||
.gitpod/deploy-kube-prometheus.sh
|
||||
developer-workspace/gitpod/prepare-k3s.sh
|
||||
developer-workspace/common/deploy-kube-prometheus.sh
|
||||
- name: kernel dev environment
|
||||
init: |
|
||||
sudo apt update -y
|
||||
sudo apt install qemu qemu-system-x86 linux-image-$(uname -r) libguestfs-tools sshpass netcat -y
|
||||
sudo curl -o /usr/bin/kubectl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
sudo chmod +x /usr/bin/kubectl
|
||||
.gitpod/prepare-rootfs.sh
|
||||
developer-workspace/gitpod/prepare-rootfs.sh
|
||||
command: |
|
||||
.gitpod/qemu.sh
|
||||
developer-workspace/gitpod/qemu.sh
|
||||
ports:
|
||||
- port: 3000
|
||||
onOpen: open-browser
|
||||
|
Reference in New Issue
Block a user