-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Remove legacy CLI, code, and scaffold templates #3385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3e79f63
67bc3ae
1fbd318
3786848
63a806f
2bfe739
ee7c754
412cada
a33d669
588b954
23d3fb5
38d3e26
099df04
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,9 +51,9 @@ x_base_steps: | |
- make setup-k8s | ||
- export KUBECONFIG="$(kind get kubeconfig-path --name="kind")" | ||
after_success: | ||
- echo "Build succeeded, operator was generated, memcached operator is running on $CLUSTER, and unit/integration tests pass" | ||
- echo "Tests passed" | ||
after_failure: | ||
- echo "Build failed, operator failed to generate, memcached operator is not running on $CLUSTER, or unit/integration tests failed" | ||
- echo "Tests failed" | ||
- kubectl get all --all-namespaces | ||
- kubectl get events --all-namespaces --field-selector=type=Warning | ||
services: | ||
|
@@ -132,9 +132,9 @@ jobs: | |
name: Subcommands on Kubernetes | ||
script: make test-subcommand | ||
|
||
# Build and test go for legacy project layouts | ||
# Build and test go | ||
- <<: *test | ||
name: Go for legacy project layouts on Kubernetes | ||
name: Go on Kubernetes | ||
before_script: | ||
- (cd / && go get github.com/mattn/goveralls) | ||
script: | ||
|
@@ -144,31 +144,13 @@ jobs: | |
after_success: | ||
- $GOPATH/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken=$COVERALLS_TOKEN | ||
|
||
# Build and test go for new project layouts | ||
- name: Go e2e tests for new project layouts | ||
before_install: | ||
# hack/ci/check-doc-only-update.sh needs to be sourced so | ||
# that it can properly exit the test early with success | ||
- source hack/ci/check-doc-only-update.sh | ||
script: | ||
- make test-e2e-go-new | ||
after_success: | ||
- echo "E2E tests passed" | ||
after_failure: | ||
- echo "E2E tests failed" | ||
- kubectl get all --all-namespaces | ||
- kubectl get events --all-namespaces --field-selector=type=Warning | ||
services: | ||
- docker | ||
|
||
# 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 | ||
|
@@ -234,38 +216,6 @@ jobs: | |
- 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 | ||
|
||
Comment on lines
-237
to
-268
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❤️ That's one less set of images to fail during a build :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but do you not need these images? Pinging @jmccormick2001 who is their father just for we sure if it is fine. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the scorecard-proxy is not used in the new scorecard so its fine to remove. |
||
# Build and deploy arm64 scorecard-test docker image | ||
- <<: *deploy | ||
name: Docker image for scorecard-test (arm64) | ||
|
@@ -319,12 +269,6 @@ jobs: | |
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 | ||
|
||
# Build and deploy scorecard-test multi-arch manifest list | ||
- <<: *manifest-deploy | ||
name: Manifest list for scorecard-test | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great 👍