Fix conflict
This commit is contained in:
commit
5629a048a1
|
@ -0,0 +1,33 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: test-on-amd64
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: rustfmt
|
||||
image: rust:buster
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --check
|
||||
|
||||
- name: clippy
|
||||
image: rust:buster
|
||||
commands:
|
||||
- rustup component add clippy
|
||||
- cargo clippy -- -D warnings
|
||||
|
||||
- name: test
|
||||
image: rust:buster
|
||||
commands:
|
||||
- cargo test
|
||||
|
||||
- name: build
|
||||
image: rust:buster
|
||||
commands:
|
||||
- cargo build
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- pull_request
|
File diff suppressed because it is too large
Load Diff
17
README.md
17
README.md
|
@ -4,6 +4,8 @@ _Better [Scuttlebutt](https://scuttlebutt.nz) cloud infrastructure as a hardware
|
|||
|
||||
[**_Support us on OpenCollective!_**](https://opencollective.com/peachcloud)
|
||||
|
||||
[![Build Status](https://build.coopcloud.tech/api/badges/PeachCloud/peach-workspace/status.svg?ref=refs/heads/main)](https://build.coopcloud.tech/PeachCloud/peach-workspace)
|
||||
|
||||
## Background
|
||||
|
||||
- April 2018 project proposal: [`%HqwAsltORROCh4uyOq6iV+SsqU3OuNUevnq+5dwCqVI=.sha256`](https://viewer.scuttlebot.io/%25HqwAsltORROCh4uyOq6iV%2BSsqU3OuNUevnq%2B5dwCqVI%3D.sha256)
|
||||
|
@ -43,6 +45,19 @@ _Better [Scuttlebutt](https://scuttlebutt.nz) cloud infrastructure as a hardware
|
|||
- [peach-patterns](https://github.com/peachcloud/peach-patterns) - Pattern library for the PeachCloud UI design system
|
||||
- [peach-web](https://github.com/peachcloud/peach-web) - A web interface for monitoring and interacting with the PeachCloud device
|
||||
|
||||
## Continuous Integration
|
||||
|
||||
[Drone CI](https://docs.drone.io/) is used to provide continuous integration for this workspace. The configuration file can be found in `.drone.yml` in the root of this repository. It is currently configured to run `cargo fmt`, `cargo clippy`, `cargo test` and `cargo build` on every `pull request` event. The pipeline runs on the AMD64 Debian Buster image from the official Rust Docker image repository.
|
||||
|
||||
The status of the current and previous CI builds can be viewed via the [Drone CI Build UI](https://build.coopcloud.tech/PeachCloud/peach-workspace) (kindly hosted by Co-op Cloud).
|
||||
|
||||
Adding `[CI SKIP]` to the end of a commit message results in the CI checks being skipped for the next event. For example:
|
||||
|
||||
```
|
||||
git commit -m "update readme [CI SKIP]"
|
||||
git push origin main
|
||||
```
|
||||
|
||||
## Developer Diaries
|
||||
|
||||
- [@ahdinosaur](https://github.com/ahdinosaur): `@6ilZq3kN0F+dXFHAPjAwMm87JEb/VdB+LC9eIMW3sa0=.ed25519`
|
||||
|
@ -56,4 +71,4 @@ _Better [Scuttlebutt](https://scuttlebutt.nz) cloud infrastructure as a hardware
|
|||
- [GitHub](https://github.com/peachcloud)
|
||||
- [Twitter](https://twitter.com/peachcloudorg)
|
||||
- [Email](mailto:peachcloudorg@gmail.com)
|
||||
- [OpenCollective](https://opencollective.com/peachcloud)
|
||||
- [OpenCollective](https://opencollective.com/peachcloud)
|
||||
|
|
|
@ -49,7 +49,6 @@ pub fn update_microservices() -> Result<(), PeachConfigError> {
|
|||
let services_to_update: Vec<&str> = SERVICES
|
||||
.to_vec()
|
||||
.iter()
|
||||
.copied()
|
||||
.filter(|&x| x != "peach-config")
|
||||
.collect();
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "peach-web"
|
||||
version = "0.6.11"
|
||||
version = "0.6.12
|
||||
authors = ["Andrew Reid <gnomad@cryptolab.net>"]
|
||||
edition = "2018"
|
||||
description = "peach-web is a web application which provides a web interface for monitoring and interacting with the PeachCloud device. This allows administration of the single-board computer (ie. Raspberry Pi) running PeachCloud, as well as the ssb-server and related plugins."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Rule web application for serving the PeachCloud web interface.
|
||||
Description=Rouille web application for serving the PeachCloud web interface.
|
||||
|
||||
[Service]
|
||||
User=peach
|
||||
|
|
|
@ -22,7 +22,7 @@ EOF
|
|||
# update sudoers to allow peach-web to stop and restart go-sbot.service
|
||||
mkdir -p /etc/sudoers.d/
|
||||
|
||||
SYSTEMCTL=$(which systemctl)
|
||||
SYSTEMCTL=/bin/systemctl
|
||||
START="${SYSTEMCTL} start go-sbot.service"
|
||||
RESTART="${SYSTEMCTL} restart go-sbot.service"
|
||||
STOP="${SYSTEMCTL} stop go-sbot.service"
|
||||
|
|
Loading…
Reference in New Issue