Skip to content

Commit c46a4a0

Browse files
Linux Packages: Handle publish to beta (grafana#57528)
Uses the feature added here: grafana/deployment_tools#46301 When a version is named "beta", it will be distributed in the beta distribution, rather than in stable Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
1 parent 101ce57 commit c46a4a0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.drone.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3696,7 +3696,7 @@ steps:
36963696
settings:
36973697
access_key_id:
36983698
from_secret: packages_access_key_id
3699-
deb_distribution: stable
3699+
deb_distribution: auto
37003700
gpg_passphrase:
37013701
from_secret: packages_gpg_passphrase
37023702
gpg_private_key:
@@ -3718,7 +3718,7 @@ steps:
37183718
settings:
37193719
access_key_id:
37203720
from_secret: packages_access_key_id
3721-
deb_distribution: stable
3721+
deb_distribution: auto
37223722
gpg_passphrase:
37233723
from_secret: packages_gpg_passphrase
37243724
gpg_private_key:
@@ -3809,7 +3809,7 @@ steps:
38093809
settings:
38103810
access_key_id:
38113811
from_secret: packages_access_key_id
3812-
deb_distribution: stable
3812+
deb_distribution: auto
38133813
gpg_passphrase:
38143814
from_secret: packages_gpg_passphrase
38153815
gpg_private_key:
@@ -3831,7 +3831,7 @@ steps:
38313831
settings:
38323832
access_key_id:
38333833
from_secret: packages_access_key_id
3834-
deb_distribution: stable
3834+
deb_distribution: auto
38353835
gpg_passphrase:
38363836
from_secret: packages_gpg_passphrase
38373837
gpg_private_key:
@@ -5423,6 +5423,6 @@ kind: secret
54235423
name: packages_secret_access_key
54245424
---
54255425
kind: signature
5426-
hmac: 96004f03bf2032c32fa88303da619580dd72f9a460d4bf90b4faacb7ccceb6b4
5426+
hmac: bbc179e84a651150c80ff37442ae77605613dfdda47aa72604016b090715a12b
54275427

54285428
...

scripts/drone/steps/lib.star

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ def publish_linux_packages_step(edition, package_manager='deb'):
10481048
'secret_access_key': from_secret('packages_secret_access_key'),
10491049
'service_account_json': from_secret('packages_service_account'),
10501050
'target_bucket': 'grafana-packages',
1051-
'deb_distribution': 'stable',
1051+
'deb_distribution': 'auto',
10521052
'gpg_passphrase': from_secret('packages_gpg_passphrase'),
10531053
'gpg_public_key': from_secret('packages_gpg_public_key'),
10541054
'gpg_private_key': from_secret('packages_gpg_private_key'),

0 commit comments

Comments
 (0)