[arch-commits] Commit in argocd/trunk (PKGBUILD argo-ui.patch)
Daurnimator
daurnimator at gemini.archlinux.org
Mon Mar 7 01:14:24 UTC 2022
Date: Monday, March 7, 2022 @ 01:14:23
Author: daurnimator
Revision: 1144150
upgpkg: argocd 2.3.0-1
Modified:
argocd/trunk/PKGBUILD
argocd/trunk/argo-ui.patch
---------------+
PKGBUILD | 21 +++++++++++++++------
argo-ui.patch | 2 +-
2 files changed, 16 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-07 00:07:12 UTC (rev 1144149)
+++ PKGBUILD 2022-03-07 01:14:23 UTC (rev 1144150)
@@ -1,7 +1,10 @@
# Maintainer: Daurnimator <daurnimator at archlinux.org>
pkgname=argocd
-pkgver=2.2.5
+pkgver=2.3.0
+# find matching argo-ui commit via ui/yarn.lock
+# commit id also needs to be updated in argo-ui.patch
+_argoui_commit=4336822c14164f36eb9d0a6b6c3c40560df4c4d7
pkgrel=1
pkgdesc="Declarative continuous deployment for Kubernetes"
arch=('x86_64')
@@ -12,16 +15,18 @@
provides=('argocd-cli')
replaces=('argocd-cli')
source=("argo-cd-${pkgver}.tar.gz::https://github.com/argoproj/argo-cd/archive/v${pkgver}.tar.gz"
- "argo-ui-44a1a7f22a2d6707cc5d03e0b93c5c6015d864bd.tar.gz::https://github.com/argoproj/argo-ui/archive/44a1a7f22a2d6707cc5d03e0b93c5c6015d864bd.tar.gz"
+ "argo-ui-${_argoui_commit}.tar.gz::https://github.com/argoproj/argo-ui/archive/${_argoui_commit}.tar.gz"
"argo-ui.patch")
-sha512sums=('a35da0d1ff31fcc645ebd9ddd083d07f18b81267bf079822d8c2d531561b4ed7ecf44e112a0e4b9497bfa74de42ab3120bdb0f8937606a0be23645e127ac58b7'
- '58c214f3d7d84bc3869bc9568bc4353f552948479d75ac58878577b1fc6a2f776e2cba2715b9af41c15edb64d8ec04309ffb29eaaa81402fd0277b9dbf3638df'
- '6f3e80ba70c1777d52d908abb3ca8f3d37b6a73fdcb669d9a0afd97eddf9362159b67f05b0721cdc2e74493e913a4399406d12733ab0dc177f5b2713b7b30b79')
+sha512sums=('fc41c86b9c665c66fc05ece9064c6c9269506ff81d5a28dc58e16ecbcdd75757babc1893c5394042f2a1f10b54b26c82d06e8a559fc4b358a7bb41b5fadaa6c3'
+ '9a085b664064cc973e62e5699404ecf28600efe48c632313c3229ff3d84365bd9a6b073044e5ec492aed145781ddd3e6ab667d48ba4ae25ef5b301f242399159'
+ '8c6e3b284aed3ee92965601a2958d8eaf0e018005317d948e45ea01a3bce75a53bac904c373b69c926d607c44db6105da8e2b1d1cecfce3a1ce1545d58132097')
prepare() {
cd "argo-cd-$pkgver"
patch -p0 -i ../argo-ui.patch
+
+ go mod download
}
build() {
@@ -37,6 +42,7 @@
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
+ export GOPROXY=off
go build -o argocd \
-trimpath \
-buildmode=pie \
@@ -58,9 +64,12 @@
install -D argocd "$pkgdir/usr/bin/argocd"
ln -s argocd "$pkgdir/usr/bin/argocd-server"
+ ln -s argocd "$pkgdir/usr/bin/argocd-application-controller"
ln -s argocd "$pkgdir/usr/bin/argocd-repo-server"
- ln -s argocd "$pkgdir/usr/bin/argocd-application-controller"
+ ln -s argocd "$pkgdir/usr/bin/argocd-cmp-server"
ln -s argocd "$pkgdir/usr/bin/argocd-dex"
+ ln -s argocd "$pkgdir/usr/bin/argocd-notifications"
+ ln -s argocd "$pkgdir/usr/bin/argocd-git-ask-pass"
install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
Modified: argo-ui.patch
===================================================================
--- argo-ui.patch 2022-03-07 00:07:12 UTC (rev 1144149)
+++ argo-ui.patch 2022-03-07 01:14:23 UTC (rev 1144150)
@@ -5,7 +5,7 @@
"@types/superagent": "^3.5.7",
"ansi-to-react": "^6.1.6",
- "argo-ui": "git+https://github.com/argoproj/argo-ui.git",
-+ "argo-ui": "file:../../argo-ui-44a1a7f22a2d6707cc5d03e0b93c5c6015d864bd",
++ "argo-ui": "file:../../argo-ui-4336822c14164f36eb9d0a6b6c3c40560df4c4d7",
"classnames": "^2.2.5",
"color": "^3.1.0",
"cookie": "^0.3.1",
More information about the arch-commits
mailing list