This commit is contained in:
@@ -18,7 +18,9 @@ steps:
|
|||||||
TOKEN:
|
TOKEN:
|
||||||
from_secret: clusterprism_halloween_kubernetes_token
|
from_secret: clusterprism_halloween_kubernetes_token
|
||||||
commands:
|
commands:
|
||||||
- kubectl config set-cluster clusterprism --server=https://192.168.1.201:6443
|
- |
|
||||||
|
kubectl config set-cluster clusterprism
|
||||||
|
--server=https://192.168.1.201:6443
|
||||||
- kubectl config set-credentials drone-halloween --token=$TOKEN
|
- kubectl config set-credentials drone-halloween --token=$TOKEN
|
||||||
- |
|
- |
|
||||||
kubectl config set-context clusterprism --user=drone-halloween
|
kubectl config set-context clusterprism --user=drone-halloween
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ buildScript: |
|
|||||||
# pre -reqs
|
# pre -reqs
|
||||||
apt-get update && apt-get install -y wget
|
apt-get update && apt-get install -y wget
|
||||||
# Setting up Hugo
|
# Setting up Hugo
|
||||||
|
# yamllint disable-line rule:line-length
|
||||||
wget https://github.com/gohugoio/hugo/releases/download/v0.145.0/hugo_0.145.0_linux-arm64.tar.gz &&
|
wget https://github.com/gohugoio/hugo/releases/download/v0.145.0/hugo_0.145.0_linux-arm64.tar.gz &&
|
||||||
tar -xzf hugo_0.145.0_linux-arm64.tar.gz &&
|
tar -xzf hugo_0.145.0_linux-arm64.tar.gz &&
|
||||||
chmod +x hugo
|
chmod +x hugo
|
||||||
|
|||||||
Reference in New Issue
Block a user