ci: add sample kubernetes pipeline
This commit is contained in:
17
.drone.yml
Normal file
17
.drone.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: hello
|
||||
|
||||
steps:
|
||||
- name: hello
|
||||
image: alpine:3.20
|
||||
commands:
|
||||
- echo "hello from Drone kube runner"
|
||||
- echo "repo=${DRONE_REPO} event=${DRONE_BUILD_EVENT} build=${DRONE_BUILD_NUMBER}"
|
||||
- echo "commit=${DRONE_COMMIT_SHA}"
|
||||
- uname -a
|
||||
- name: workspace
|
||||
image: alpine:3.20
|
||||
commands:
|
||||
- ls -la
|
||||
- cat README.md
|
||||
Reference in New Issue
Block a user