pipeline: build:wasmlib: image: albedo.lan:5000/rust-upend:latest pull: true commands: - rustc --version && cargo --version - task build:wasmlib # volumes: # - rust_registry:/usr/local/cargo when: path: - webui/**/* - /**/*.rs - /**/Cargo.lock - Taskfile.yml build:backend: group: build image: albedo.lan:5000/rust-upend:latest pull: true commands: - rustc --version && cargo --version - task build:backend # volumes: # - rust_registry:/usr/local/cargo when: path: - migrations/**/* - /**/*.rs - /**/Cargo.lock - Taskfile.yml build:frontend: group: build image: albedo.lan:5000/node-upend:latest pull: true commands: - node --version && npm --version - task build:frontend when: path: - webui/**/* - Taskfile.yml lint:backend: group: lint image: albedo.lan:5000/rust-upend:latest pull: true commands: - rustup component add clippy - task lint:backend - git status -vvv # volumes: # - rust_registry:/usr/local/cargo when: path: - migrations/**/* - /**/*.rs - /**/Cargo.lock - Taskfile.yml lint:frontend: group: lint image: albedo.lan:5000/node-upend:latest pull: true commands: - node --version && npm --version - task lint:frontend when: path: - webui/**/* - Taskfile.yml lint:jslib: group: lint image: albedo.lan:5000/node-upend:latest pull: true commands: - node --version && npm --version - task lint:jslib when: path: - tools/upend_js/**/* - Taskfile.yml lint:webext: group: lint image: albedo.lan:5000/node-upend:latest pull: true commands: - node --version && npm --version - task lint:webext when: path: - webext/**/* - Taskfile.yml test:backend: group: test image: albedo.lan:5000/rust-upend:latest pull: true commands: - task test:backend # volumes: # - rust_registry:/usr/local/cargo when: path: - migrations/**/* - /**/*.rs - /**/Cargo.lock - Taskfile.yml package: image: albedo.lan:5000/rust-upend:latest pull: true commands: - cd ./.ci_tmp/ - wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage - chmod +x linuxdeploy-x86_64.AppImage - ./linuxdeploy-x86_64.AppImage --appimage-extract - ln -s $PWD/squashfs-root/AppRun /usr/local/bin/linuxdeploy-x86_64.AppImage - cd - - git status -vvv - task package when: event: [tag] publish: image: woodpeckerci/plugin-gitea-release settings: base_url: https://git.thm.place files: - "*.AppImage" - webext/web-ext-artifacts/*.zip checksum: sha512 api_key: from_secret: woodpecker_api_key target: main when: event: [tag]