76 lines
1.8 KiB
YAML
76 lines
1.8 KiB
YAML
jobs:
|
|
- name: build-wwp
|
|
public: true
|
|
build_log_retention:
|
|
days: 365
|
|
builds: 50
|
|
plan:
|
|
- get: wwp-repo
|
|
trigger: true
|
|
- get: wwp-server-repo
|
|
trigger: true
|
|
- task: build
|
|
config:
|
|
platform: linux
|
|
image_resource:
|
|
type: registry-image
|
|
source:
|
|
repository: quay.io/blasthavers/trunkrs
|
|
inputs:
|
|
- name: wwp-repo
|
|
caches:
|
|
- path: target
|
|
- path: .cargo
|
|
- path: node_modules
|
|
outputs:
|
|
- name: wwpapp
|
|
run:
|
|
path: wwp-repo/.ci/build
|
|
- task: build-server
|
|
config:
|
|
platform: linux
|
|
image_resource:
|
|
type: registry-image
|
|
source:
|
|
repository: quay.io/blasthavers/trunkrs
|
|
inputs:
|
|
- name: wwp-server-repo
|
|
caches:
|
|
- path: target
|
|
- path: .cargo
|
|
outputs:
|
|
- name: wwpserver
|
|
run:
|
|
path: wwp-server-repo/.ci/build
|
|
- task: packcontainer
|
|
privileged: true
|
|
config:
|
|
platform: linux
|
|
image_resource:
|
|
type: registry-image
|
|
source:
|
|
repository: quay.io/buildah/stable
|
|
inputs:
|
|
- name: wwpapp
|
|
- name: wwpserver
|
|
- name: wwp-repo
|
|
params:
|
|
CONTAINER_REGISTRY_KEY: ((container_registry_key))
|
|
run:
|
|
path: wwp-repo/.ci/pack-container
|
|
resources:
|
|
- name: wwp-repo
|
|
type: git
|
|
check_every: never
|
|
webhook_token: ((webhook_token))
|
|
source:
|
|
uri: https://git.blastmud.org/blasthavers/worldwideportal.git
|
|
branch: main
|
|
- name: wwp-server-repo
|
|
type: git
|
|
check_every: never
|
|
webhook_token: ((webhook_token))
|
|
source:
|
|
uri: https://git.blastmud.org/blasthavers/worldwideportal-server.git
|
|
branch: main
|