aboutsummaryrefslogtreecommitdiff
path: root/.onedev-buildspec.yml
blob: 0cd6ec3d18789f3d9cd055bf9184b1361d63a3a6 (plain)
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
version: 19
jobs:
- name: Build
  steps:
  - !CheckoutStep
    name: Checkout
    cloneCredential: !DefaultCredential {}
    withLfs: false
    withSubmodules: false
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  - !CommandStep
    name: Build
    runInContainer: true
    image: gcc
    interpreter: !DefaultInterpreter
      commands:
      - make
    useTTY: false
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  - !PublishArtifactStep
    name: Publish
    artifacts: target/rex.iso
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  triggers:
  - !TagCreateTrigger
    tags: release-v**.**.**
    branches: master
    projects: reX
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  timeout: 3600