mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 01:17:16 +00:00
* feat: add applicationset cli commands Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * squashed commits and rebased with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * addressed comments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix lint errors Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Retrigger CI pipeline Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Retrigger CI pipeline Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * feat: add applicationset cli commands Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * addressed comments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix lint errors Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Retrigger CI pipeline Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Retrigger CI pipeline Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Addressed PR comments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * removed duplicate imports Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix CI errors Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * address PR comments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add k8s RBAC, docs tweaks Signed-off-by: CI <michael@crenshaw.dev> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * rebase master branch Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Addressed PR coments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * remove unnecessary fields, add docs Signed-off-by: CI <michael@crenshaw.dev> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix unit test Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Signed-off-by: CI <michael@crenshaw.dev> Co-authored-by: CI <michael@crenshaw.dev>
24 lines
647 B
Bash
Executable file
24 lines
647 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -x
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
|
|
PROJECT_ROOT=$(cd $(dirname "$0")/.. ; pwd)
|
|
PATH="${PROJECT_ROOT}/dist:${PATH}"
|
|
VERSION="v1alpha1"
|
|
|
|
[ -e ./v2 ] || ln -s . v2
|
|
openapi-gen \
|
|
--go-header-file ${PROJECT_ROOT}/hack/custom-boilerplate.go.txt \
|
|
--input-dirs github.com/argoproj/argo-cd/v2/pkg/apis/application/${VERSION} \
|
|
--output-package github.com/argoproj/argo-cd/v2/pkg/apis/application/${VERSION} \
|
|
--report-filename pkg/apis/api-rules/violation_exceptions.list \
|
|
$@
|
|
[ -e ./v2 ] && rm -rf v2
|
|
|
|
export GO111MODULE=on
|
|
go build -o ./dist/gen-crd-spec ${PROJECT_ROOT}/hack/gen-crd-spec
|
|
./dist/gen-crd-spec
|
|
|