Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added automated build of Debian package #10479

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,42 @@ jobs:
with:
name: kubo
path: cmd/ipfs/ipfs
debian-prep:
needs: [interop-prep]
runs-on: ubuntu-latest
timeout-minutes: 10
env:
TEST_DOCKER: 0
TEST_FUSE: 0
TEST_VERBOSE: 1
TRAVIS: 1
GIT_PAGER: cat
IPFS_CHECK_RCMGR_DEFAULTS: 1
defaults:
run:
shell: bash
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v4
with:
submodules: 'true'
fetch-depth: 0
- run: |
sudo apt-get update
sudo apt-get install -y debhelper curl gcc sed gawk dpkg-dev build-essential devscripts
go mod vendor
LC_TIME=en_US.UTF-8 ./debian/mkchangelog ./debian/changelog
GOFLAGS="-mod=vendor" debuild -S -uc -us -d
GOFLAGS="-mod=vendor" debuild -b -uc -us -d
mkdir packages
mv -v ../ipfs-kubo*.* packages/
- uses: actions/upload-artifact@v4
with:
name: kubo-debian
path: |
packages/ipfs-kubo*.*
helia-interop:
needs: [interop-prep]
runs-on: ${{ fromJSON(github.repository == 'ipfs/kubo' && '["self-hosted", "linux", "x64", "2xlarge"]' || '"ubuntu-latest"') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ docs/examples/go-ipfs-as-a-library/example-folder/Qm*
/parts
/stage
/prime
.cache
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "debian"]
path = debian
url = https://github.com/twdragon/kubo-debian-pkg.git
1 change: 1 addition & 0 deletions debian
Submodule debian added at 4f5462
Loading