Repository navigation
Parcela 0.3.0: one parcela.yaml format with setup hooks
Release Notes
parcela.yaml has a new format, version 1. Files written for 0.2 or earlier need rewriting, and parcela doctor links to the new format. The configuration reference shows the new format.
Added
hooks.setupruns once in each new environment andhooks.prestarton everyup, after the services theydepends_onand before every other service. A failed hook stopsup.up --setupandrestart --setuprun setup again.- Services take
depends_on,working_dir,envand, withouthttp, ahealthcheckcommand. Dependencies wait for readiness. PARCELA_DATA_DIR,PARCELA_ENVIRONMENT_NAMEandPARCELA_PRIMARY_DIR.- Top-level
x-keys are ignored, for YAML anchors. examples/rails-postgres, and a tutorial app with a SQLite database per environment.
Changed
- One format:
versionandprojectare required, and every service is a mapping underserviceswith acommand. HTTP services declarehttp: {healthcheck, subdomain}; the one withoutsubdomaingets the environment's URL. - Tasks take a shell
commandinstead ofargv. Arguments after--are appended. parcela logswithout a service prints every service, worker and hook, each line prefixed with its name.
Removed
- The top-level short form (
web: bin/dev),workers,default_service,environment(nowenv),inherit_environment,shutdown_timeout_secondsand theprocess_composepass-through.
Fixed
parcela doctornames the right Process Compose tap (f1bonacc1/tap/process-compose) and links each backend's install page.
Install parcela 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/davafons/parcela/releases/download/v0.3.0/parcela-installer.sh | shDownload parcela 0.3.0
| File | Platform | Checksum |
|---|---|---|
| parcela-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| parcela-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| parcela-aarch64-unknown-linux-gnu.tar.gz | ARM64 Linux | checksum |
| parcela-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |