add basic ci/cd
This commit is contained in:
parent
0d1b709c33
commit
e59ef57784
14
ci/test.yml
Normal file
14
ci/test.yml
Normal file
@ -0,0 +1,14 @@
|
||||
platform: linux
|
||||
|
||||
image_resource:
|
||||
type: registry-image
|
||||
source: {repository: rust}
|
||||
|
||||
inputs:
|
||||
- name: repo
|
||||
|
||||
run:
|
||||
path: cargo
|
||||
args: ["test"]
|
||||
dir: "repo"
|
||||
|
||||
13
pipeline.yml
Normal file
13
pipeline.yml
Normal file
@ -0,0 +1,13 @@
|
||||
resources:
|
||||
- name: repo
|
||||
type: git
|
||||
source: {uri: "http://192.168.0.201:3000/mitchell/school_app_api.git"}
|
||||
|
||||
jobs:
|
||||
- name: test
|
||||
plan:
|
||||
- get: repo
|
||||
trigger: true
|
||||
- task: test
|
||||
file: repo/ci/test.yml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user