[arch-commits] Commit in argocd/repos/community-x86_64 (4 files)
Daurnimator
daurnimator at gemini.archlinux.org
Fri Dec 17 10:26:34 UTC 2021
Date: Friday, December 17, 2021 @ 10:26:33
Author: daurnimator
Revision: 1075998
archrelease: copy trunk to community-x86_64
Added:
argocd/repos/community-x86_64/PKGBUILD
(from rev 1075997, argocd/trunk/PKGBUILD)
argocd/repos/community-x86_64/argo-ui.patch
(from rev 1075997, 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 2021-12-17 10:26:17 UTC (rev 1075997)
+++ PKGBUILD 2021-12-17 10:26:33 UTC (rev 1075998)
@@ -1,67 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=argocd
-pkgver=2.2.0
-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-eeac356bff8c4eda585549c38ee9a21be3a88b9c.tar.gz::https://github.com/argoproj/argo-ui/archive/eeac356bff8c4eda585549c38ee9a21be3a88b9c.tar.gz"
- "argo-ui.patch")
-sha512sums=('16cfaf80adfbe964f82c4965e658ca71bd51275580c5bce0d863409407079a39180dee7a4e11b2ad54c503b439cb3246d95455dca8e3c98fc79503298f82bb56'
- 'fc43c0143b2d26cacd690d43ce858f8d975f03fd9d88648c00232ba6089ac643b13c25aa0198f3ce4fc8541dfccad9b099f71411406a3faea4bb1fe6aec6374e'
- '70cd2ceab93ee989d53926b3041c883a68417cd846ca692a9d30aa70c59353b210513d8cde9e12c94a40e0454f3f73c894f9eaeeb2f8c7f22ced29b223750c24')
-
-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 1075997, argocd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-17 10:26:33 UTC (rev 1075998)
@@ -0,0 +1,67 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=argocd
+pkgver=2.2.1
+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-eeac356bff8c4eda585549c38ee9a21be3a88b9c.tar.gz::https://github.com/argoproj/argo-ui/archive/eeac356bff8c4eda585549c38ee9a21be3a88b9c.tar.gz"
+ "argo-ui.patch")
+sha512sums=('507ccf52f2325978281937bf1597e89018e288275f94aebea6844b4ac65d3cecdc8972ccc21eeb924812cf5fab5f3fb015875143dbe49c14ab4d7ca68d0052ea'
+ 'fc43c0143b2d26cacd690d43ce858f8d975f03fd9d88648c00232ba6089ac643b13c25aa0198f3ce4fc8541dfccad9b099f71411406a3faea4bb1fe6aec6374e'
+ '70cd2ceab93ee989d53926b3041c883a68417cd846ca692a9d30aa70c59353b210513d8cde9e12c94a40e0454f3f73c894f9eaeeb2f8c7f22ced29b223750c24')
+
+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 2021-12-17 10:26:17 UTC (rev 1075997)
+++ argo-ui.patch 2021-12-17 10:26:33 UTC (rev 1075998)
@@ -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-eeac356bff8c4eda585549c38ee9a21be3a88b9c",
- "classnames": "^2.2.5",
- "color": "^3.1.0",
- "cookie": "^0.3.1",
Copied: argocd/repos/community-x86_64/argo-ui.patch (from rev 1075997, argocd/trunk/argo-ui.patch)
===================================================================
--- argo-ui.patch (rev 0)
+++ argo-ui.patch 2021-12-17 10:26:33 UTC (rev 1075998)
@@ -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-eeac356bff8c4eda585549c38ee9a21be3a88b9c",
+ "classnames": "^2.2.5",
+ "color": "^3.1.0",
+ "cookie": "^0.3.1",
More information about the arch-commits
mailing list