Skip to content

.gitea: add cron build script #31890

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

Merged
merged 1 commit into from
May 23, 2025
Merged
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
42 changes: 42 additions & 0 deletions .gitea/workflows/release-cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release Builds (cron)

on:
schedule:
cron: '0 0 * * *'

jobs:
azure-cleanup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24
cache: false

- name: Run cleanup script
run: |
go run build/ci.go purge -store gethstore/builds -days 14

ppa:
name: PPA Upload (master)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24
cache: false

- name: Install deb toolchain
run: |
apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot

- name: Run ci.go
run: |
echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <[email protected]>"
34 changes: 19 additions & 15 deletions .gitea/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,48 @@
name: Release Builds
name: Release Builds (push)

on:
push:
branches: [ master ]

jobs:
docker:
name: Docker Image
linux:
name: Linux Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24
cache: false

- name: Run docker build
- name: display environment
run: |
go run build/ci.go dockerx -platform linux/amd64,linux/arm64,linux/riscv64
env

linux:
name: Linux Build
- name: Run build
run: |
go run build/ci.go install

docker:
name: Docker Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24
cache: false

- name: Run build
- name: Run docker build
run: |
go run build/ci.go install
go run build/ci.go dockerx -platform linux/amd64,linux/arm64,linux/riscv64