mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Install kubectl via snap
This commit is contained in:
parent
bd6ddff613
commit
335d2cf1d6
@ -8,6 +8,7 @@ addons:
|
||||
- doctl
|
||||
- docker
|
||||
- chromium
|
||||
- 'kubectl --classic'
|
||||
|
||||
before_install:
|
||||
- yarn global add wait-on
|
||||
@ -43,7 +44,6 @@ after_success:
|
||||
chmod +x tester.sh &&
|
||||
./tester.sh staging $WEBHOOK_URL;
|
||||
fi
|
||||
- ./scripts/install_kubernetes.sh
|
||||
|
||||
after_failure:
|
||||
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script can be called multiple times for each `before_deploy` hook
|
||||
# so let's exit successfully if kubectl is already installed:
|
||||
command -v kubectl && exit 0
|
||||
|
||||
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
||||
chmod +x ./kubectl
|
||||
sudo mv ./kubectl /usr/local/bin/kubectl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user