From b71cdda2db520cec91840cd060a7a57050dc4898 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 08:27:42 -0400 Subject: [PATCH 01/15] link checker --- .travis.yml | 18 +++++++++++------- Makefile | 3 +++ hack/check-hugo-links.sh | 13 +++++++++++++ 3 files changed, 27 insertions(+), 7 deletions(-) create mode 100755 hack/check-hugo-links.sh diff --git a/.travis.yml b/.travis.yml index bc0639f885..8d42b10138 100644 --- a/.travis.yml +++ b/.travis.yml @@ -104,16 +104,20 @@ jobs: ## Project check stage jobs ## # Run the sanity tests - - stage: check - name: Sanity Tests - script: - - make test-sanity - + # - stage: check + # name: Sanity Tests + # script: + # - make test-sanity + # + # # Run the markdown link checker + # - name: Markdown Tests + # script: + # - make test-markdown + # # Run the markdown link checker - name: Markdown Tests script: - - make test-markdown - + - make test-links ## Operator test stage jobs ## # Build and test ansible and test ansible using molecule diff --git a/Makefile b/Makefile index fa14c59aa4..09a338e8f0 100644 --- a/Makefile +++ b/Makefile @@ -216,6 +216,9 @@ test: test-unit ## Run the tests test-markdown: ./hack/check-markdown.sh +test-links: + ./hack/check-hugo-links.sh + test-sanity: tidy build/operator-sdk lint ./hack/tests/sanity-check.sh diff --git a/hack/check-hugo-links.sh b/hack/check-hugo-links.sh new file mode 100755 index 0000000000..83bbe631ed --- /dev/null +++ b/hack/check-hugo-links.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -e + +source ./hack/lib/common.sh + +header_text "Building html and checking links" + +pushd website +npm install postcss-cli autoprefixer +hugo +liche -d public -r -c 50 public +popd From 48f870014ce2593aac687ab3da8c466818b9bcf5 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 08:41:54 -0400 Subject: [PATCH 02/15] use klakegg image to build site --- .travis.yml | 9 ++++++++- hack/check-hugo-links.sh | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d42b10138..0811f5009c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -116,8 +116,15 @@ jobs: # # Run the markdown link checker - name: Markdown Tests + before_script: + - docker run --rm -i \ + -v $(pwd)/website:/src \ + -v $(pwd)/website/public:/target \ + klakegg/hugo:0.69.2-ext-ubuntu + - go get -u github.com/raviqqe/liche script: - - make test-links + - liche -d public -r -c 50 public + ## Operator test stage jobs ## # Build and test ansible and test ansible using molecule diff --git a/hack/check-hugo-links.sh b/hack/check-hugo-links.sh index 83bbe631ed..8ee938d938 100755 --- a/hack/check-hugo-links.sh +++ b/hack/check-hugo-links.sh @@ -6,8 +6,9 @@ source ./hack/lib/common.sh header_text "Building html and checking links" +klakegg/hugo:0.69.2-ext-ubuntu + pushd website npm install postcss-cli autoprefixer hugo -liche -d public -r -c 50 public popd From 62bb8a8303f0009113e418b0492ac31b22de56a6 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 09:29:19 -0400 Subject: [PATCH 03/15] adjust paths --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0811f5009c..fe9c1e1e3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -118,12 +118,13 @@ jobs: - name: Markdown Tests before_script: - docker run --rm -i \ - -v $(pwd)/website:/src \ - -v $(pwd)/website/public:/target \ + -v $TRAVIS_BUILD_DIR:/src \ + -v $TRAVIS_BUILD_DIR/_public:/target \ klakegg/hugo:0.69.2-ext-ubuntu + -s website - go get -u github.com/raviqqe/liche script: - - liche -d public -r -c 50 public + - liche -d $TRAVIS_BUILD_DIR/_public -r -c 50 $TRAVS_BUILD_DIR/_public ## Operator test stage jobs ## From 275cd315e2e3e4d3a5a617dedf0498e9b62a6d66 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 09:36:13 -0400 Subject: [PATCH 04/15] idk man --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fe9c1e1e3a..9f602854cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,7 +120,7 @@ jobs: - docker run --rm -i \ -v $TRAVIS_BUILD_DIR:/src \ -v $TRAVIS_BUILD_DIR/_public:/target \ - klakegg/hugo:0.69.2-ext-ubuntu + klakegg/hugo:0.69.2-ext-ubuntu \ -s website - go get -u github.com/raviqqe/liche script: From bc2b4429b1f7776a0f6ed8b3b960dcde8773425f Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 09:39:56 -0400 Subject: [PATCH 05/15] exploratory --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9f602854cd..2d3f6ca9a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -117,6 +117,9 @@ jobs: # Run the markdown link checker - name: Markdown Tests before_script: + - echo $TRAVIS_BUILD_DIR + - echo $(pwd) + - echo $(TRAVIS_BUILD_DIR) - docker run --rm -i \ -v $TRAVIS_BUILD_DIR:/src \ -v $TRAVIS_BUILD_DIR/_public:/target \ @@ -124,7 +127,7 @@ jobs: -s website - go get -u github.com/raviqqe/liche script: - - liche -d $TRAVIS_BUILD_DIR/_public -r -c 50 $TRAVS_BUILD_DIR/_public + - liche -d $TRAVIS_BUILD_DIR/_public -r -c 50 $TRAVIS_BUILD_DIR/_public ## Operator test stage jobs ## From b64d1ecd2acbb6ba8d4d8b53594e57f4bf6c3dc9 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 09:47:24 -0400 Subject: [PATCH 06/15] more --- .travis.yml | 300 ++++++++++++++++++++++++++-------------------------- 1 file changed, 150 insertions(+), 150 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d3f6ca9a8..360b177434 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,8 +121,8 @@ jobs: - echo $(pwd) - echo $(TRAVIS_BUILD_DIR) - docker run --rm -i \ - -v $TRAVIS_BUILD_DIR:/src \ - -v $TRAVIS_BUILD_DIR/_public:/target \ + -v ${TRAVIS_BUILD_DIR}:/src \ + -v ${TRAVIS_BUILD_DIR}/_public:/target \ klakegg/hugo:0.69.2-ext-ubuntu \ -s website - go get -u github.com/raviqqe/liche @@ -132,151 +132,151 @@ jobs: ## Operator test stage jobs ## # Build and test ansible and test ansible using molecule - - stage: test - <<: *test - name: Ansible on Kubernetes - before_script: - - pip3 install --upgrade setuptools pip - - pip install --user ansible - script: - - make test-e2e-ansible - - make test-e2e-ansible-molecule - - # Test subcommands - - <<: *test - name: Subcommands on Kubernetes - script: make test-subcommand - - # Build and test go - - <<: *test - name: Go on Kubernetes - before_script: - - (cd / && go get github.com/mattn/goveralls) - script: - - make test-unit - - $GOPATH/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken=$COVERALLS_TOKEN - - make test-e2e-go - - make test-integration - - # Build and test helm - - <<: *test - name: Helm on Kubernetes - script: make test-e2e-helm - - ## Image deploy/push stage jobs ## - - # Build and deploy arm64 ansible-operator docker image - - stage: deploy - <<: *deploy - name: Docker image for ansible-operator (arm64) - arch: arm64 - script: - - make image-build-ansible - - make image-push-ansible - - # Build and deploy amd64 ansible-operator docker image - - <<: *deploy - name: Docker image for ansible-operator (amd64) - arch: amd64 - script: - - make image-build-ansible - - make image-push-ansible - - # Build and deploy ppc64le ansible-operator docker image - - <<: *deploy - name: Docker image for ansible-operator (ppc64le) - arch: ppc64le - script: - - make image-build-ansible - - make image-push-ansible - - # Build and deploy s390x ansible-operator docker image - - <<: *deploy - name: Docker image for ansible-operator (s390x) - arch: s390x - script: - - make image-build-ansible - - make image-push-ansible - - # Build and deploy arm64 helm-operator docker image - - <<: *deploy - name: Docker image for helm-operator (arm64) - arch: arm64 - script: - - make image-build-helm - - make image-push-helm - - # Build and deploy amd64 helm-operator docker image - - <<: *deploy - name: Docker image for helm-operator (amd64) - arch: amd64 - script: - - make image-build-helm - - make image-push-helm - - # Build and deploy ppc64le helm-operator docker image - - <<: *deploy - name: Docker image for helm-operator (ppc64le) - arch: ppc64le - script: - - make image-build-helm - - make image-push-helm - - # Build and deploy s390x helm-operator docker image - - <<: *deploy - name: Docker image for helm-operator (s390x) - arch: s390x - script: - - make image-build-helm - - make image-push-helm - - # Build and deploy arm64 scorecard-proxy docker image - - <<: *deploy - name: Docker image for scorecard-proxy (arm64) - arch: arm64 - script: - - make image-build-scorecard-proxy - - make image-push-scorecard-proxy - - # Build and deploy amd64 scorecard-proxy docker image - - <<: *deploy - name: Docker image for scorecard-proxy (amd64) - arch: amd64 - script: - - make image-build-scorecard-proxy - - make image-push-scorecard-proxy - - # Build and deploy ppc64le scorecard-proxy docker image - - <<: *deploy - name: Docker image for scorecard-proxy (ppc64le) - arch: ppc64le - script: - - make image-build-scorecard-proxy - - make image-push-scorecard-proxy - - # Build and deploy s390x scorecard-proxy docker image - - <<: *deploy - name: Docker image for scorecard-proxy (s390x) - arch: s390x - script: - - make image-build-scorecard-proxy - - make image-push-scorecard-proxy - - # Build and deploy ansible multi-arch manifest list - - stage: deploy-manifest-multiarch - <<: *manifest-deploy - name: Manifest list for ansible-operator - script: - - make image-push-ansible-multiarch - - # Build and deploy helm multi-arch manifest list - - <<: *manifest-deploy - name: Manifest list for helm-operator - script: - - make image-push-helm-multiarch - - # Build and deploy scorecard-proxy multi-arch manifest list - - <<: *manifest-deploy - name: Manifest list for scorecard-proxy - script: - - make image-push-scorecard-proxy-multiarch + # - stage: test + # <<: *test + # name: Ansible on Kubernetes + # before_script: + # - pip3 install --upgrade setuptools pip + # - pip install --user ansible + # script: + # - make test-e2e-ansible + # - make test-e2e-ansible-molecule + # + # # Test subcommands + # - <<: *test + # name: Subcommands on Kubernetes + # script: make test-subcommand + # + # # Build and test go + # - <<: *test + # name: Go on Kubernetes + # before_script: + # - (cd / && go get github.com/mattn/goveralls) + # script: + # - make test-unit + # - $GOPATH/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken=$COVERALLS_TOKEN + # - make test-e2e-go + # - make test-integration + # + # # Build and test helm + # - <<: *test + # name: Helm on Kubernetes + # script: make test-e2e-helm + # + # ## Image deploy/push stage jobs ## + # + # # Build and deploy arm64 ansible-operator docker image + # - stage: deploy + # <<: *deploy + # name: Docker image for ansible-operator (arm64) + # arch: arm64 + # script: + # - make image-build-ansible + # - make image-push-ansible + # + # # Build and deploy amd64 ansible-operator docker image + # - <<: *deploy + # name: Docker image for ansible-operator (amd64) + # arch: amd64 + # script: + # - make image-build-ansible + # - make image-push-ansible + # + # # Build and deploy ppc64le ansible-operator docker image + # - <<: *deploy + # name: Docker image for ansible-operator (ppc64le) + # arch: ppc64le + # script: + # - make image-build-ansible + # - make image-push-ansible + # + # # Build and deploy s390x ansible-operator docker image + # - <<: *deploy + # name: Docker image for ansible-operator (s390x) + # arch: s390x + # script: + # - make image-build-ansible + # - make image-push-ansible + # + # # Build and deploy arm64 helm-operator docker image + # - <<: *deploy + # name: Docker image for helm-operator (arm64) + # arch: arm64 + # script: + # - make image-build-helm + # - make image-push-helm + # + # # Build and deploy amd64 helm-operator docker image + # - <<: *deploy + # name: Docker image for helm-operator (amd64) + # arch: amd64 + # script: + # - make image-build-helm + # - make image-push-helm + # + # # Build and deploy ppc64le helm-operator docker image + # - <<: *deploy + # name: Docker image for helm-operator (ppc64le) + # arch: ppc64le + # script: + # - make image-build-helm + # - make image-push-helm + # + # # Build and deploy s390x helm-operator docker image + # - <<: *deploy + # name: Docker image for helm-operator (s390x) + # arch: s390x + # script: + # - make image-build-helm + # - make image-push-helm + # + # # Build and deploy arm64 scorecard-proxy docker image + # - <<: *deploy + # name: Docker image for scorecard-proxy (arm64) + # arch: arm64 + # script: + # - make image-build-scorecard-proxy + # - make image-push-scorecard-proxy + # + # # Build and deploy amd64 scorecard-proxy docker image + # - <<: *deploy + # name: Docker image for scorecard-proxy (amd64) + # arch: amd64 + # script: + # - make image-build-scorecard-proxy + # - make image-push-scorecard-proxy + # + # # Build and deploy ppc64le scorecard-proxy docker image + # - <<: *deploy + # name: Docker image for scorecard-proxy (ppc64le) + # arch: ppc64le + # script: + # - make image-build-scorecard-proxy + # - make image-push-scorecard-proxy + # + # # Build and deploy s390x scorecard-proxy docker image + # - <<: *deploy + # name: Docker image for scorecard-proxy (s390x) + # arch: s390x + # script: + # - make image-build-scorecard-proxy + # - make image-push-scorecard-proxy + # + # # Build and deploy ansible multi-arch manifest list + # - stage: deploy-manifest-multiarch + # <<: *manifest-deploy + # name: Manifest list for ansible-operator + # script: + # - make image-push-ansible-multiarch + # + # # Build and deploy helm multi-arch manifest list + # - <<: *manifest-deploy + # name: Manifest list for helm-operator + # script: + # - make image-push-helm-multiarch + # + # # Build and deploy scorecard-proxy multi-arch manifest list + # - <<: *manifest-deploy + # name: Manifest list for scorecard-proxy + # script: + # - make image-push-scorecard-proxy-multiarch From 22e25f8f795c65b1005c33ba1ff357fdff48adf8 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 09:51:31 -0400 Subject: [PATCH 07/15] quote the image --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 360b177434..b8752b7ec7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,7 +123,7 @@ jobs: - docker run --rm -i \ -v ${TRAVIS_BUILD_DIR}:/src \ -v ${TRAVIS_BUILD_DIR}/_public:/target \ - klakegg/hugo:0.69.2-ext-ubuntu \ + "klakegg/hugo:0.69.2-ext-ubuntu" \ -s website - go get -u github.com/raviqqe/liche script: From dd18ea1b879b75c62950b3bbb5e8f35c5509b0f0 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 09:53:13 -0400 Subject: [PATCH 08/15] quote build string --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b8752b7ec7..e4bb362721 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,9 +121,9 @@ jobs: - echo $(pwd) - echo $(TRAVIS_BUILD_DIR) - docker run --rm -i \ - -v ${TRAVIS_BUILD_DIR}:/src \ - -v ${TRAVIS_BUILD_DIR}/_public:/target \ - "klakegg/hugo:0.69.2-ext-ubuntu" \ + -v "${TRAVIS_BUILD_DIR}":/src \ + -v "${TRAVIS_BUILD_DIR}"/_public:/target \ + klakegg/hugo:0.69.2-ext-ubuntu \ -s website - go get -u github.com/raviqqe/liche script: From 1b3e0ec88468cbbacf70e76cb16987e036c07a6d Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 09:55:43 -0400 Subject: [PATCH 09/15] quote whole path --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e4bb362721..783aab9429 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,8 +121,8 @@ jobs: - echo $(pwd) - echo $(TRAVIS_BUILD_DIR) - docker run --rm -i \ - -v "${TRAVIS_BUILD_DIR}":/src \ - -v "${TRAVIS_BUILD_DIR}"/_public:/target \ + -v "$TRAVIS_BUILD_DIR:/src" \ + -v "$TRAVIS_BUILD_DIR}/_public:/target" \ klakegg/hugo:0.69.2-ext-ubuntu \ -s website - go get -u github.com/raviqqe/liche From 2ec8f1bd5990cecb4dbce300faa603a59ea12367 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 10:00:09 -0400 Subject: [PATCH 10/15] on one line --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 783aab9429..51592b5a2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,11 +120,7 @@ jobs: - echo $TRAVIS_BUILD_DIR - echo $(pwd) - echo $(TRAVIS_BUILD_DIR) - - docker run --rm -i \ - -v "$TRAVIS_BUILD_DIR:/src" \ - -v "$TRAVIS_BUILD_DIR}/_public:/target" \ - klakegg/hugo:0.69.2-ext-ubuntu \ - -s website + - docker run --rm -i -v "$TRAVIS_BUILD_DIR:/src" -v "$TRAVIS_BUILD_DIR/_public:/target" klakegg/hugo:0.69.2-ext-ubuntu -s website - go get -u github.com/raviqqe/liche script: - liche -d $TRAVIS_BUILD_DIR/_public -r -c 50 $TRAVIS_BUILD_DIR/_public From c100309c7c190233d76773d7e83068667dede974 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 10:26:53 -0400 Subject: [PATCH 11/15] Link fixing --- website/content/en/docs/ansible/reference/finalizers.md | 6 +++++- website/content/en/docs/faq.md | 2 +- website/content/en/docs/golang/references/client.md | 2 +- website/content/en/docs/golang/references/markers.md | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/website/content/en/docs/ansible/reference/finalizers.md b/website/content/en/docs/ansible/reference/finalizers.md index eb7746e13d..4a74ca564c 100644 --- a/website/content/en/docs/ansible/reference/finalizers.md +++ b/website/content/en/docs/ansible/reference/finalizers.md @@ -20,6 +20,9 @@ define the mapping from your finalizer to a playbook or role by simply setting t your top-level playbook or role with different variables set. The `watches.yaml` finalizer configuration accepts the following options: +See [Ansible watches documentation][ansible-watches] for more +information. + #### name `name` is required. @@ -45,7 +48,6 @@ One of `playbook`, `role`, or `vars` must be provided. If `role` is not provided will default to the role specified at the top level of the `watches.yaml` entry. This field is identical to the top-level `role` field. -https://github.com/operator-framework/operator-sdk/blob/master/doc/ansible/user-guide.md#watches-file #### vars @@ -165,3 +167,5 @@ let the operator remove our finalizer and allow the resource to be deleted. ## Further reading • [Kubernetes finalizers](https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#finalizers) + +[ansible-watches]:/docs/ansible/reference/watches/ diff --git a/website/content/en/docs/faq.md b/website/content/en/docs/faq.md index 1c1aafd75e..7f28210306 100644 --- a/website/content/en/docs/faq.md +++ b/website/content/en/docs/faq.md @@ -125,7 +125,7 @@ func (r *ReconcileMemcached) Reconcile(request reconcile.Request) (reconcile.Res [kube-apiserver_options]: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/#options [controller-runtime_faq]: https://github.com/kubernetes-sigs/controller-runtime/blob/master/FAQ.md#q-how-do-i-have-different-logic-in-my-reconciler-for-different-types-of-events-eg-create-update-delete -[finalizer]: https://github.com/operator-framework/operator-sdk/blob/master/doc/user-guide.md#handle-cleanup-on-deletion +[finalizer]: /docs/golang/quickstart/#handle-cleanup-on-deletion [gc-metrics]:/docs/golang/monitoring/prometheus/#garbage-collection [cr-faq]:https://github.com/kubernetes-sigs/controller-runtime/blob/master/FAQ.md [client.Reader]:https://godoc.org/sigs.k8s.io/controller-runtime/pkg/client#Reader diff --git a/website/content/en/docs/golang/references/client.md b/website/content/en/docs/golang/references/client.md index 14c63a04d9..afbbc5cc88 100644 --- a/website/content/en/docs/golang/references/client.md +++ b/website/content/en/docs/golang/references/client.md @@ -565,6 +565,6 @@ func labelsForApp(name string) map[string]string { [code-scheme-default]:https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/client/client.go#L51 [doc-k8s-core]:https://godoc.org/k8s.io/api/core/v1 [doc-reconcile-reconciler]:https://godoc.org/github.com/kubernetes-sigs/controller-runtime/pkg/reconcile#Reconciler -[doc-osdk-handle]:https://github.com/operator-framework/operator-sdk/blob/master/doc/design/milestone-0.0.2/action-api.md#handler +[doc-osdk-handle]:https://github.com/operator-framework/operator-sdk/blob/master/design/milestone-0.0.2/action-api.md [doc-types-nsname]:https://godoc.org/k8s.io/apimachinery/pkg/types#NamespacedName [cr-status-subresource]:https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#status-subresource diff --git a/website/content/en/docs/golang/references/markers.md b/website/content/en/docs/golang/references/markers.md index 58e4c86bdf..bb1035e0e8 100644 --- a/website/content/en/docs/golang/references/markers.md +++ b/website/content/en/docs/golang/references/markers.md @@ -202,7 +202,7 @@ customresourcedefinitions: ``` [markers]:https://pkg.go.dev/sigs.k8s.io/controller-tools/pkg/markers -[code-markers-design]:https://github.com/operator-framework/operator-sdk/blob/master/doc/proposals/sdk-code-annotations.md +[code-markers-design]:https://github.com/operator-framework/operator-sdk/blob/master/proposals/sdk-code-annotations.md [generate-csv-cli]:/docs/cli/operator-sdk_generate_csv [csv-x-desc]:https://github.com/openshift/console/blob/feabd61/frontend/packages/operator-lifecycle-manager/src/components/descriptors/types.ts#L3-L39 [csv-spec]:https://github.com/operator-framework/operator-lifecycle-manager/blob/e0eea22/doc/design/building-your-csv.md From 35aa6fec65c7db44b7c704c86e24a68985f83d4f Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 10:27:36 -0400 Subject: [PATCH 12/15] reduce concurrent requests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 51592b5a2a..baaabf5a61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -123,7 +123,7 @@ jobs: - docker run --rm -i -v "$TRAVIS_BUILD_DIR:/src" -v "$TRAVIS_BUILD_DIR/_public:/target" klakegg/hugo:0.69.2-ext-ubuntu -s website - go get -u github.com/raviqqe/liche script: - - liche -d $TRAVIS_BUILD_DIR/_public -r -c 50 $TRAVIS_BUILD_DIR/_public + - liche -d $TRAVIS_BUILD_DIR/_public -r -c 2 $TRAVIS_BUILD_DIR/_public ## Operator test stage jobs ## From 8895d55f672bc8ae5a850f4ea7515fffc098d8b7 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 12:05:15 -0400 Subject: [PATCH 13/15] allow failure --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index baaabf5a61..534da0d3f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -99,7 +99,7 @@ stages: if: type != pull_request AND ( tag IS present OR branch = master OR commit_message =~ /\[travis deploy\]/ ) jobs: - include: + allow_failures: ## Project check stage jobs ## From 8377457e719edc0064357b9f78949727856e98a3 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 12:10:14 -0400 Subject: [PATCH 14/15] uh --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 534da0d3f6..b4b6e8c8a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -99,21 +99,21 @@ stages: if: type != pull_request AND ( tag IS present OR branch = master OR commit_message =~ /\[travis deploy\]/ ) jobs: - allow_failures: - + include: ## Project check stage jobs ## # Run the sanity tests - # - stage: check - # name: Sanity Tests - # script: - # - make test-sanity + - stage: check + name: Sanity Tests + script: + - make test-sanity # # # Run the markdown link checker # - name: Markdown Tests # script: # - make test-markdown # + allow_failures: # Run the markdown link checker - name: Markdown Tests before_script: From a765a24f9bd44fdf2737357d34ebdde2198e466e Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 7 May 2020 12:11:48 -0400 Subject: [PATCH 15/15] include and allow failure --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b4b6e8c8a0..91f2caeb43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,17 +103,16 @@ jobs: ## Project check stage jobs ## # Run the sanity tests - - stage: check - name: Sanity Tests - script: - - make test-sanity + # - stage: check + # name: Sanity Tests + # script: + # - make test-sanity # # # Run the markdown link checker # - name: Markdown Tests # script: # - make test-markdown # - allow_failures: # Run the markdown link checker - name: Markdown Tests before_script: @@ -124,6 +123,8 @@ jobs: - go get -u github.com/raviqqe/liche script: - liche -d $TRAVIS_BUILD_DIR/_public -r -c 2 $TRAVIS_BUILD_DIR/_public + allow_failures: + - name: Markdown Tests ## Operator test stage jobs ##