您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
441 B

  1. kind: pipeline
  2. name: default
  3. workspace:
  4. base: /go
  5. path: src/git.techniknews.net/David/TechnikNews_CI-Test
  6. steps:
  7. - name: test
  8. image: golang
  9. commands:
  10. - go get
  11. - go test
  12. - name: build
  13. image: golang
  14. commands:
  15. - go get
  16. - go build -o output
  17. - chmod +x output
  18. - name: run
  19. image: golang
  20. commands:
  21. - go get
  22. - go build -o output
  23. - chmod +x output
  24. - ./output