Skip to content

Commit

Permalink
cleanup tests, redirect to Makefile target
Browse files Browse the repository at this point in the history
  • Loading branch information
jkyros committed Dec 17, 2023
1 parent 139bcdf commit a46a1cd
Show file tree
Hide file tree
Showing 2 changed files with 444 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
base_images:
base:
name: "4.16"
namespace: ocp
tag: base
build_root:
from_repository: true
images:
- build_args:
- name: GIT_COMMIT
value: dummy-ci-commit-value
from: base
to: custom-metrics-autoscaler
- build_args:
- name: GIT_COMMIT
value: dummy-ci-commit-value
dockerfile_path: Dockerfile.webhooks
to: custom-metrics-autoscaler-webhooks
- build_args:
- name: GIT_COMMIT
value: dummy-ci-commit-value
dockerfile_path: Dockerfile.adapter
to: custom-metrics-autoscaler-adapter
- dockerfile_path: Dockerfile.tests
to: custom-metrics-autoscaler-tests
releases:
initial:
integration:
name: "4.16"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.16"
namespace: ocp
resources:
'*':
requests:
cpu: 100m
memory: 200Mi
tests:
- as: gofmt
commands: env && GOFLAGS="" make fmt
container:
from: src
- as: govet
commands: env && GOFLAGS="" make vet
container:
from: src
- as: cma-verify-history
commands: env && GOFLAGS="" hack/cma-verify-history.sh
container:
from: src
- as: clientset-verify
commands: mkdir /tmp/codecopy && cp -a * /tmp/codecopy && cd /tmp/codecopy && make
clientset-generate
container:
from: src
- as: keda-e2e-aws-ovn
skip_if_only_changed: \.md$|^\.github|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|PROJECT|LICENSE)$
steps:
cluster_profile: aws
pre:
- chain: ipi-aws-pre
test:
- as: test-setup
cli: latest
commands: make e2e-test-openshift-setup
dependencies:
- env: IMAGE_CONTROLLER
name: custom-metrics-autoscaler
- env: IMAGE_ADAPTER
name: custom-metrics-autoscaler-adapter
- env: IMAGE_WEBHOOKS
name: custom-metrics-autoscaler-webhooks
from: custom-metrics-autoscaler-tests
resources:
requests:
cpu: 100m
- as: test
cli: latest
commands: make e2e-test-openshift
from: custom-metrics-autoscaler-tests
resources:
requests:
cpu: 100m
- as: test-clean
cli: latest
commands: make e2e-test-openshift-clean
from: custom-metrics-autoscaler-tests
resources:
requests:
cpu: 100m
workflow: ipi-aws
zz_generated_metadata:
branch: e2e-makefile-target
org: jkyros
repo: keda
Loading

0 comments on commit a46a1cd

Please sign in to comment.