Skip to content

Commit 3ad1a48

Browse files
authored
Merge pull request #897 from go-graphite/deniszh/no-buster
Removing debian buster, adding ubuntu 24.04
2 parents d53c1c0 + d68409a commit 3ad1a48

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

.github/workflows/packages-debian-buster.yaml

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Build packages for Ubuntu 24.04
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Tests"]
6+
branches: [main]
7+
types:
8+
- completed
9+
push:
10+
tags:
11+
- v.*
12+
jobs:
13+
build-packages-ubuntu-2404:
14+
name: Build packages for Ubuntu 24.04
15+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
go:
20+
- ^1
21+
steps:
22+
- name: Set up Go
23+
uses: actions/setup-go@v6
24+
with:
25+
go-version: ${{ matrix.go }}
26+
- name: Set up Ruby for package_cloud uploader to work
27+
uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: "2.7" # Version range or exact version of a Ruby version to use, using semvers version range syntax.
30+
- name: Install packaging dependencies
31+
run: |
32+
sudo apt-get install libcairo2-dev mercurial pkg-config wget -y
33+
gem install package_cloud
34+
- name: Check out code into the Go module directory
35+
uses: actions/checkout@v5
36+
with:
37+
fetch-depth: 0
38+
- name: Set up QEMU
39+
uses: docker/setup-qemu-action@v3
40+
- name: Log in to GitHub Docker Registry
41+
uses: docker/login-action@v3
42+
with:
43+
registry: ghcr.io
44+
username: ${{ github.actor }}
45+
password: ${{ secrets.GITHUB_TOKEN }}
46+
- name: Create packages for ubuntu 24.04
47+
env:
48+
BUILD_PACKAGES: true
49+
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
50+
run: |
51+
wget "https://raw.githubusercontent.com/go-graphite/helper-scripts/main/build.sh" && chmod +x ./build.sh
52+
./build.sh carbonapi "ubuntu:24.04"

0 commit comments

Comments
 (0)