Skip to content

Commit

Permalink
chore: remove Debian build
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Aug 8, 2024
1 parent 4ab67cb commit 40f0c74
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 42 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,6 @@ jobs:
with:
go-version: "stable"

- name: Install Ruby (for fpm)
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'

- name: Install fpm
run: |
gem install fpm
- name: Build binary & Debian package
run: |
make build debian
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: debian-packages
path: "*.deb"

- name: Log in to the GitHub container registry
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: docker/#-action@v3
Expand Down
18 changes: 0 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,3 @@ build-linux-arm64:
proto:
@clang-format -i proto/*.proto
@protoc --go_out=. --go_opt module=kastelo.dev/syncthing-configd proto/*.proto

.PHONY: debian
debian: build-linux-amd64
@fpm -s dir -t deb \
-p syncthing-configd-${version}-amd64.deb \
--name syncthing-configd \
--license mpl2 \
--version ${version} \
--architecture amd64 \
--description "Syncthing Configuration Daemon" \
--url "https://syncthing.net/" \
--maintainer "Kastelo AB <support@kastelo.net>" \
bin/syncthing-configd-linux-amd64=/usr/sbin/syncthing-configd \
etc/configd.conf.sample=/etc/syncthing-configd/configd.conf.sample \
etc/syncthing-configd.service=/lib/systemd/system/syncthing-configd.service \
etc/default-env=/etc/default/syncthing-configd \
README.md=/usr/share/doc/syncthing-configd/README.md \
LICENSE=/usr/share/doc/syncthing-configd/LICENSE
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ garbage_collect {

## Installation

### Debian Package

A Debian package is available as the artifact of the latest [build
run](https://github.com/kastelo/syncthing-configd/actions/workflows/build.yml).

### Docker Image

It's easiest to use the precompiled Docker image. Assuming a configuration file in
Expand Down

0 comments on commit 40f0c74

Please # to comment.