[arch-commits] Commit in argocd/repos/community-x86_64 (4 files)
Christian Rebischke
shibumi at gemini.archlinux.org
Thu Mar 3 22:07:47 UTC 2022
Date: Thursday, March 3, 2022 @ 22:07:36
Author: shibumi
Revision: 1141286
archrelease: copy trunk to community-x86_64
Added:
argocd/repos/community-x86_64/PKGBUILD
(from rev 1141284, argocd/trunk/PKGBUILD)
argocd/repos/community-x86_64/argo-ui.patch
(from rev 1141285, argocd/trunk/argo-ui.patch)
Deleted:
argocd/repos/community-x86_64/PKGBUILD
argocd/repos/community-x86_64/argo-ui.patch
---------------+
PKGBUILD | 134 ++++++++++++++++++++++++++++----------------------------
argo-ui.patch | 22 ++++-----
2 files changed, 78 insertions(+), 78 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-03 22:07:20 UTC (rev 1141285)
+++ PKGBUILD 2022-03-03 22:07:36 UTC (rev 1141286)
@@ -1,67 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=argocd
-pkgver=2.2.2
-pkgrel=1
-pkgdesc="Declarative continuous deployment for Kubernetes"
-arch=('x86_64')
-url='https://argo-cd.readthedocs.io/en/stable/'
-license=('Apache')
-makedepends=('go' 'python' 'yarn')
-depends=('glibc')
-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.patch")
-sha512sums=('e1df88cfb228315c63d050d34d5729cdd662a841ba070bba78544893b2973a792b324d3c384d52eae73c038d8c6442b9378ee6594262295aa2b6c9e7f352c602'
- '58c214f3d7d84bc3869bc9568bc4353f552948479d75ac58878577b1fc6a2f776e2cba2715b9af41c15edb64d8ec04309ffb29eaaa81402fd0277b9dbf3638df'
- '6f3e80ba70c1777d52d908abb3ca8f3d37b6a73fdcb669d9a0afd97eddf9362159b67f05b0721cdc2e74493e913a4399406d12733ab0dc177f5b2713b7b30b79')
-
-prepare() {
- cd "argo-cd-$pkgver"
-
- patch -p0 -i ../argo-ui.patch
-}
-
-build() {
- cd "argo-cd-$pkgver"
-
- (
- cd ui
- yarn install --cache-folder "${srcdir}/yarn-cache"
- ARGO_VERSION="$pkgver" NODE_ENV='production' NODE_ONLINE_ENV='online' yarn build
- )
-
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- go build -o argocd \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -ldflags "-X github.com/argoproj/argo-cd/v2/common.version=${pkgver} \
- -X github.com/argoproj/argo-cd/v2/common.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \
- -X github.com/argoproj/argo-cd/v2/common.gitTag=${pkgver} \
- -linkmode=external \
- -extldflags \"${LDFLAGS}\"" \
- ./cmd
-
- ./argocd completion bash > argocd.bash
- ./argocd completion zsh > argocd.zsh
-}
-
-package() {
- cd "argo-cd-$pkgver"
-
- install -D argocd "$pkgdir/usr/bin/argocd"
- ln -s argocd "$pkgdir/usr/bin/argocd-server"
- 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-dex"
-
- install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
- install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
-}
Copied: argocd/repos/community-x86_64/PKGBUILD (from rev 1141284, argocd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-03 22:07:36 UTC (rev 1141286)
@@ -0,0 +1,67 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=argocd
+pkgver=2.2.5
+pkgrel=1
+pkgdesc="Declarative continuous deployment for Kubernetes"
+arch=('x86_64')
+url='https://argo-cd.readthedocs.io/en/stable/'
+license=('Apache')
+makedepends=('go' 'python' 'yarn')
+depends=('glibc')
+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.patch")
+sha512sums=('a35da0d1ff31fcc645ebd9ddd083d07f18b81267bf079822d8c2d531561b4ed7ecf44e112a0e4b9497bfa74de42ab3120bdb0f8937606a0be23645e127ac58b7'
+ '58c214f3d7d84bc3869bc9568bc4353f552948479d75ac58878577b1fc6a2f776e2cba2715b9af41c15edb64d8ec04309ffb29eaaa81402fd0277b9dbf3638df'
+ '6f3e80ba70c1777d52d908abb3ca8f3d37b6a73fdcb669d9a0afd97eddf9362159b67f05b0721cdc2e74493e913a4399406d12733ab0dc177f5b2713b7b30b79')
+
+prepare() {
+ cd "argo-cd-$pkgver"
+
+ patch -p0 -i ../argo-ui.patch
+}
+
+build() {
+ cd "argo-cd-$pkgver"
+
+ (
+ cd ui
+ yarn install --cache-folder "${srcdir}/yarn-cache"
+ ARGO_VERSION="$pkgver" NODE_ENV='production' NODE_ONLINE_ENV='online' yarn build
+ )
+
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ go build -o argocd \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-X github.com/argoproj/argo-cd/v2/common.version=${pkgver} \
+ -X github.com/argoproj/argo-cd/v2/common.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \
+ -X github.com/argoproj/argo-cd/v2/common.gitTag=${pkgver} \
+ -linkmode=external \
+ -extldflags \"${LDFLAGS}\"" \
+ ./cmd
+
+ ./argocd completion bash > argocd.bash
+ ./argocd completion zsh > argocd.zsh
+}
+
+package() {
+ cd "argo-cd-$pkgver"
+
+ install -D argocd "$pkgdir/usr/bin/argocd"
+ ln -s argocd "$pkgdir/usr/bin/argocd-server"
+ 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-dex"
+
+ install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
+ install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
+}
Deleted: argo-ui.patch
===================================================================
--- argo-ui.patch 2022-03-03 22:07:20 UTC (rev 1141285)
+++ argo-ui.patch 2022-03-03 22:07:36 UTC (rev 1141286)
@@ -1,11 +0,0 @@
---- ui/package.json 2021-12-16 00:00:00.000000000 +1100
-+++ ui/package.json 2021-12-16 00:00:00.000000000 +1100
-@@ -28,7 +28,7 @@
- "@types/react-router-dom": "^4.2.3",
- "@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",
- "classnames": "^2.2.5",
- "color": "^3.1.0",
- "cookie": "^0.3.1",
Copied: argocd/repos/community-x86_64/argo-ui.patch (from rev 1141285, argocd/trunk/argo-ui.patch)
===================================================================
--- argo-ui.patch (rev 0)
+++ argo-ui.patch 2022-03-03 22:07:36 UTC (rev 1141286)
@@ -0,0 +1,11 @@
+--- ui/package.json 2021-12-16 00:00:00.000000000 +1100
++++ ui/package.json 2021-12-16 00:00:00.000000000 +1100
+@@ -28,7 +28,7 @@
+ "@types/react-router-dom": "^4.2.3",
+ "@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",
+ "classnames": "^2.2.5",
+ "color": "^3.1.0",
+ "cookie": "^0.3.1",
More information about the arch-commits
mailing list