blastmud/.concourse.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

jobs:
- name: build-blastmud-image
public: true
2023-02-12 23:05:34 +11:00
build_log_retention:
days: 365
builds: 50
plan:
- get: blastmud-repo
trigger: true
- task: build
config:
platform: linux
image_resource:
type: registry-image
source:
repository: rust
2023-02-12 18:00:25 +11:00
inputs:
2023-02-12 18:03:27 +11:00
- name: blastmud-repo
2023-02-12 18:00:25 +11:00
caches:
2023-02-12 18:03:27 +11:00
- path: target
- path: .cargo
2023-02-12 18:00:25 +11:00
outputs:
2023-02-12 23:05:34 +11:00
- name: binaries
run:
2023-02-12 18:00:25 +11:00
path: blastmud-repo/.ci/build
2023-02-12 23:05:34 +11:00
- task: deploy
config:
platform: linux
image_resource:
type: registry-image
source:
repository: blasthavers/deploy-base
inputs:
- name: binaries
- name: blastmud-repo
params:
DEPLOY_KEY: ((deploy_key))
run:
path: blastmud-repo/.ci/deploy
resources:
- name: blastmud-repo
type: git
check_every: never
webhook_token: ((webhook_token))
source:
uri: https://git.blastmud.org/blasthavers/blastmud.git
branch: main