forked from DataDog/pupernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircleci.yaml
35 lines (32 loc) · 1.01 KB
/
circleci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: 2
templates:
machine_job_template: &machine_job_template
machine: true
working_directory: /home/circleci/your-project-directory
environment:
DEBIAN_FRONTEND: "noninteractive"
jobs:
pupernetes:
<<: *machine_job_template
steps:
- checkout
- run:
name: download
command: sudo curl -Lf https://github.com/DataDog/pupernetes/releases/download/v0.6.1/pupernetes -o /usr/local/bin/pupernetes && sudo chmod +x /usr/local/bin/pupernetes
- run:
name: apt
command: sudo apt-get update -qq && sudo apt-get install -yqq systemd
- run:
name: run
command: sudo /usr/local/bin/pupernetes daemon run sandbox/ --job-type systemd --kubectl-link /usr/local/bin/kubectl --kubeconfig-path $HOME/.kube/config --dns-check
- run:
name: kubectl
command: kubectl get all
- run:
name: something
command: echo "let's go ..."
workflows:
version: 2
daemon:
jobs:
- pupernetes