Skip to content

Commit

Permalink
[CI/CD] Commented out the generation of the Arch platypush-git package.
Browse files Browse the repository at this point in the history
See https://aur.archlinux.org/packages/platypush-git#comment-982845

If the PKGBUILD uses a dynamic `pkgver()` function, then `*-git`
packages shouldn't be updated unless there are some changes in the
PKGBUILD file itself.

See https://aur.archlinux.org/packages/platypush-git#comment-982845
  • Loading branch information
blacklight committed Jul 17, 2024
1 parent 38cf102 commit fabcba1
Showing 1 changed file with 26 additions and 23 deletions.
49 changes: 26 additions & 23 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,28 +115,31 @@ steps:

###
### Update the Arch git package
###

- name: update-arch-git-package
image: python:3.11-alpine
environment:
WORKDIR: /tmp/workdir
SSH_PUBKEY:
from_secret: ssh_pubkey
SSH_PRIVKEY:
from_secret: ssh_privkey

when:
branch:
- master
event:
- push

depends_on:
- update-components-cache

commands:
- . .drone/update-arch-git-package.sh
### Note: This is probably no longer required, as the platypush-git PKGBUILD
### #now includes a dynamic pkgver() function.
### See https://aur.archlinux.org/packages/platypush-git#comment-982845
###

# - name: update-arch-git-package
# image: python:3.11-alpine
# environment:
# WORKDIR: /tmp/workdir
# SSH_PUBKEY:
# from_secret: ssh_pubkey
# SSH_PRIVKEY:
# from_secret: ssh_privkey
#
# when:
# branch:
# - master
# event:
# - push
#
# depends_on:
# - update-components-cache
#
# commands:
# - . .drone/update-arch-git-package.sh

###
### Update the Arch stable package
Expand Down Expand Up @@ -345,7 +348,7 @@ steps:
- push

depends_on:
- update-arch-git-package
# - update-arch-git-package
- update-rpm-repo
- update-apt-repo

Expand Down

0 comments on commit fabcba1

Please sign in to comment.