Commit Graph

25 Commits

Author SHA1 Message Date
David Simansky c9cdfad8d7
chore: Refactor cluster allocation script to use latest Knative bits (#2197) 2024-03-04 09:44:47 +00:00
David Simansky 50818214a7
Update setup E2E to match latest Knative release (#2189) 2024-02-28 15:38:47 +00:00
Matthias Wessendorf d258a19cda
Adding podman as command, instead of docker (like openshift/release repo does it) (#2066)
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2023-11-02 17:17:19 +00:00
Matthias Wessendorf ad38c17888
Differenciate between podman and docker for local registry connection (#2063)
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2023-11-01 17:08:51 +00:00
Jefferson Ramos 3641bfe5d0
test improvements remove deprecates avoid nils, bump go version 1.20.x (#2032)
* test: improvements on e2e extended test: remove deprecates, avoid nils and improve match conditions

* update go version on ci to 1.20.x
2023-10-18 17:28:26 +00:00
Matej Vasek 5ffdf756ae
chore: parallelize cluster allocate script (#1992)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-09-27 12:06:29 +00:00
Matej Vasek 452ff50418
chore: use local registry in test (#1976)
* test: use custom buildah image in tests

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* refactor: rename

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: use internal registry in on cluster tests

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* chore: more verbose output

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix: use fake ctx until fixing termination properly

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-09-18 19:18:33 +00:00
Matej Vasek df97bd79e7
chore: use current func image in tests (#1974)
Use a different approach to pass current func image to the tests, this
approach does not require modification of task yaml nor access
to outer internet (ttl.sh).

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-09-14 15:42:42 +00:00
Luke Kingland 512ef230e6
chore: test cluster versions update (#1819)
* test cluster versions update

Updates versions used for the test clutser, and includes a change
to use a specific kind node version rather than the kubernetes version per
Kind's docs.

- knative_serving v1.10.1
- knative_eventing v1.10.1
- contour v1.10.0
- kubectl v1.27.2
- dapr v1.10.0
- helm v3.12.0
- kind v0.19.0
- kind_node v1.27.1

* remove dapr dashboard patch

* dapr init flags resuscitation
2023-06-21 15:30:34 +00:00
Matej Vasek 83bc889b6c
src: use ghcr.io for dapr components in GH Action (#1809)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-06-12 16:21:45 +00:00
Matej Vasek 6b97fb5a3c
test: integration test for tekton on cluster build (#1789)
* test: integration tests for Tekton builds

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: disable s2i integration test for now

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-06-07 21:47:57 +00:00
Matej Vasek 4e743684e1
Pipeline as Code integration for GitLab (#1769)
* feat: PaC for Gitlab

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: different approach to hostname resolution

Resolve '[*.]127.0.0.1.sslip.io' to cluster node IP.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: error handling

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: added TODO

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: small refactor

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-06-05 19:48:26 +00:00
Matej Vasek bc39a1aec2
Use Contour Ingress instead of Kourier (#1752)
* Use Contour Ingress instead of Kourier

Contour can be used to expose resources other that ksvc
(e.g. PaC controller).

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: use defined version of contour

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: shellcheck

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Use LoadBalancer instead of NodePort in test

This makes services available on port 80 on both localhos and in docker
network, before these ports differed.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-05-24 20:26:23 +00:00
Luke Kingland 10c9948a12
feat: preliminary dapr runtime support (#1518)
* Dapr runtime support

- installs Dapr cli in CI
- installs Dapr runtime on allocation of test cluster
- annotates services to enable dapr sidecar integration
- installs redis via helm, enabling state store, pub/sub and distributed
  lock
- integration test added for local invocation
- integration test added for service-to-service invocation via the
  sidecar

Note that Dapr runs metrics on port 9002 so as not to collide with
Knative metrics.

* create constants for knative service labels

* extract dapr annotations and use labels
2023-02-02 16:01:31 +00:00
Jefferson Ramos a1b9bcff08
upgrade ci resources version (kubectl, knative, kind, tekton) (#1377) 2022-10-21 22:17:13 +00:00
Lance Ball 4ffb1f9cba
chore: update allocate script with latest knative (#965)
Use the latest Knative release in the hack/allocate.sh script.
In addition, there is a small change to how the munged yaml files
are piped through `yq`, adding a final pass through `yq` itself
essentially sanitizing the data.

Signed-off-by: Lance Ball <lball@redhat.com>
2022-04-14 10:53:10 +00:00
Luke Kingland 6649a71f4d
fix: local cluster name collision (#779) 2022-01-24 10:30:30 -08:00
Luke Kingland ce938122d8
src: remove need for hosts entry for local clusters (#742) 2022-01-18 12:58:33 -08:00
Matej Vasek 07062c144a
fix: revert hostname alias (#712)
The localhost alias was causing problems with new approach for registry access.
The new access is done directly not via daemon.
This renders any insecure registry exception in daemon config irrelevant.
The library facilitating registry access seems to allow insecure registry on localhost only.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-12-08 18:38:34 -08:00
Luke Kingland f63af0d34e
fix: move integration port to unregistered range (#701)
* fix: move registry port to unregistered range

Moves the integration testing port into the unregistered range (above
49151) to minimized potential conflicts.

* update e2e and podman with named registry
2021-12-07 15:05:38 -08:00
Luke Kingland c257de807d
src: Makefile developer accessibility (#428)
* ci: increase dns update max retries

* src: Makefile accessibility

Restructures the Makefile for better readibility
Separates core unit tests from template unit tests
Adds a `help` target highlighting core targets
Removes unused 'cluser' and 'release' targets
Removes unused targets
2021-07-21 00:45:38 -07:00
Luke Kingland b1d840ad60
ci: move to inbuilt cluster config (#419)
Restructures repository cluster setup and configuration scripts
to be used both for local testing as well as in CI.  Adds a
CI-specific ci.sh script for the differences.  Additionally:
- Upgrades to knative v0.23.0
- Upgrades eventing from v1beta1 API to v1
- Adds binary installation script (linux)
- Serializes Build, Int Test, e2e test steps
- Installs Broker and Channel to support Knative Quickstart tutorial.
- Runs a test echo server during installation
- Adds event-based waits in place of most blind time-based waits
- Adds explicit Kubernetes version for KinD
- Replaces a NodePort patched Koourier with an explicit ingress
- Adds retries while activator webhook becomes available
- Merges allocate and configure
2021-07-15 07:45:32 -07:00
Zbynek Roubalik 553dfa83f6
chore: e2e tests should run against Knative 0.22.0 (#372)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-06-02 13:51:12 -04:00
Luke Kingland 4f2f577a82
ci: run integration tests with on-demand cluster 2021-03-10 19:35:27 +09:00
Luke Kingland 9c499b69c4
feat: local cluster allocation, configuration and teardown 2021-03-10 19:35:26 +09:00