Commit Graph

1145 Commits

Author SHA1 Message Date
Luke Kingland 91c95a711e
fix: repo add skips root (#1577) 2023-02-21 20:40:27 +00:00
Zbynek Roubalik 726b566f83
fix: deploy annotations & labels correctly (#1574)
* fix: deploy annotations & labels correctly

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

* increase timeout

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

---------

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-02-21 15:24:26 +00:00
Luke Kingland 03c5df4337
fix: missing map initializations (#1575)
The helper Function constructor which uses a passed function as defaults
was missing map initializations.  This could lead to nil pointer
exceptions as it is used by client.Init.
2023-02-21 10:11:26 +00:00
Luke Kingland 9961c43b35
rm testData (#1576) 2023-02-21 09:15:26 +00:00
Lance Ball c20c887cd2
chore: update faas-js-runtime to 0.10.0 (#1570)
* chore: update faas-js-runtime to 0.10.0

Fixes: https://github.com/nodeshift/faas-js-runtime/issues/120

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: try ignoring package-lock.json files in linter

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: actually add package-lock.json

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: better globbing

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: best globbing

Signed-off-by: Lance Ball <lball@redhat.com>

---------

Signed-off-by: Lance Ball <lball@redhat.com>
2023-02-20 20:32:25 +00:00
David Hadas e6e27d6e66
fix initialization of service.Spec.Template.ObjectMeta.Annotations (#1569)
Signed-off-by: David Hadas <david.hadas@gmail.com>
2023-02-20 18:31:25 +00:00
knative-automation df819d13d8
upgrade to latest dependencies (#1565)
bumping knative.dev/client badd909...8a2ed4c:
  > 8a2ed4c Fixing errors related to Go 1.20 (# 1779)
  > 954720d Update community files (# 1778)
bumping knative.dev/eventing f022034...5f24569:
  > 5f24569 [main] Upgrade to latest dependencies (# 6744)
  > dac6b8b [main] Update community files (# 6756)
  > 2b517b6 Deprecate `test/rekt/resources/svc` (# 6742)
  > bbbd425 Deprecate `test/rekt/resources/deployment` (# 6748)
bumping knative.dev/pkg 2f55fe0...f306c13:
  > f306c13 upgrade to latest dependencies (# 2684)
bumping knative.dev/networking 195809a...1bd50a5:
  > 1bd50a5 Update community files (# 764)
  > 6a15e7d upgrade to latest dependencies (# 765)
  > 9373ba6 upgrade to latest dependencies (# 762)
bumping knative.dev/serving 08812b3...7aeb55d:
  > 7aeb55d Update net-gateway-api nightly (# 13716)
  > aa4149f Update net-certmanager nightly (# 13715)
  > 04da752 upgrade to latest dependencies (# 13713)
  > dfd39ca Update support rotation (# 13714)
  > 8c282ba Update net-certmanager nightly (# 13697)
  > 7ed2869 Update support rotation contacts (# 13703)
  > 0ec0ecf Update net-gateway-api nightly (# 13699)
  > 060a49a Update net-contour nightly (# 13705)
  > 53e91c9 Fix G112: Potential Slowloris Attacks lint errs (# 13702)
  > a99a936 upgrade to latest dependencies (# 13709)
bumping knative.dev/hack d71d569...f2f3107:
  > f2f3107 Update community files (# 273)
  > f41894d Find checksums file works with ARTIFACTS_TO_PUBLISH variable (# 275)

Signed-off-by: Knative Automation <automation@knative.team>
2023-02-20 18:02:26 +00:00
Matej Vasek 138d1e46c5
fix: ban podman 4.3 for pack build (#1563)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-02-20 17:16:25 +00:00
Matej Vasek 6d4565158b
feat: enabled s2i for python (#1562)
* feat: enable s2i for python

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

* fixup: update zz_filesystem_generated.go

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

* fixup: test

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

* fixup: test

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

* fixup: test

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

* fixup: script

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

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-02-20 16:45:26 +00:00
Luke Kingland 902eaecd57
global config member accessors (#1559) 2023-02-16 20:07:52 +00:00
knative-automation b02956b7e5
Update community files (#1556)
Signed-off-by: Knative Automation <automation@knative.team>
2023-02-16 13:45:51 +00:00
Lance Ball 4e8ef492ab
chore: add tekton artifacts to release (#1557)
Signed-off-by: Lance Ball <lball@redhat.com>
2023-02-16 11:34:51 +00:00
Zbynek Roubalik b26a1c29b3
chore: `testData` -> `testdata` (#1560)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-02-16 11:05:51 +00:00
Luke Kingland 2a9a744501
chore: build and deploy test suite cleanup (#1437)
Ensures all tests which apply to both build and deploy commands are
invoked.  Test implementations are kept on deploy command, as it is the
primary command and build is a derivitave. Slight logical and
alphabetical reordering.
2023-02-16 08:42:51 +00:00
knative-automation ec6c698244
upgrade to latest dependencies (#1534)
bumping knative.dev/eventing 4d6e1fc...f022034:
  > f022034 Update dependencies (# 6753)
  > fdffabe Deprecate `test/rekt/resources/pod` package (# 6747)
  > dfd095f Remove event flaker since eventshub offers an equivalent feature (# 6750)
  > 0ab29eb  Remove unused event-library (# 6751)
  > 82324b9 [main] Update community files (# 6743)
  > 452cd49 Adds apiVersion as an extension to api source events (# 6696)
  > b96d2fb Migrate from `knative.dev/reconciler-test/resources/svc` to `knative.dev/reconciler-test/pkg/resources/service` (# 6741)
  > f9ceb4f [main] Upgrade to latest dependencies (# 6715)
  > 37fa6e0 Extract scheduler config in a dedicate struct instead of many parameters (# 6736)
  > 4911986 Add function to check if a broker resource is `NotReady` (# 6737)
  > 2f98e55 Improve scheduler logging for state and pending vpods (# 6729)
  > 1092472 Scheduler doesn't reschedule vpods that are scheduled on unscehdulable pods (# 6726)
  > 40517be Added Broker class in `kubectl get -o wide` (# 6723)
  > e609459 [main] Update community files (# 6727)
  > 47a793b Revert "Change subscription patch logic to ensure resource version (# 6670) (# 6724)
  > 8b7551c Removing one more deprecated, unused func (# 6718)
  > 228eda3 Removing deprecated and unused func (# 6716)
  > ffc8fe0 Default a subscriptions subscriber and reply in webhook (# 6701)
  > 8d62a06  Adds link to the Knative CNCF Slack Channel  (# 6711)
  > 91a1991 Install source at requirement phase in conformance tests (# 6712)
  > 983189d Set scheduler logging to debug (# 6705)
  > c3364e4 Remove UNUSED and deprecated test helpers (# 6710)
  > 9b8c4d6 Port BrokerWorkFlowWithTranformation test to rekt and code cleanup (# 6709)
  > 45e7a24 Do not overwrite existing imagePullSecrets in CopySecret (# 6707)
  > efba019 [main] Format Go code (# 6702)
bumping k8s.io/kube-openapi 67bda5d...172d655:
  > 172d655 Merge pull request # 319 from alexzielenski/json_next
  > 829ce0c fix json unmarshal bug when extension used with Responses (# 320)
  > 8d49439 add JSONRoundTripTestCase and add a Test*RoundTrip for every spec.* type which needs it
  > b7a9e6f Merge pull request # 318 from dims/add-go.mod-for-integration-tests
  > 3b3bb66 add jsonv2 roundtrip fuzz tests and benchmarks
  > a70c9af Merge pull request # 307 from apelisse/test-required-job
  > b856c89 Add a go.mod for integration test
  > 395774f add jsonv2 implementation
  > c6e407d Add required job that depends on matrix jobs
  > c601e50 add go-json-experiment/json to pkg/internal/third_party
  > 5ca72f5 gofmt changes
bumping knative.dev/hack c7cfcb0...d71d569:
  > d71d569 🐛 Location-agnostic sign release (# 268)
  > b674d64 Update community files (# 270)
  > 549c360 Cleanup: remove ioutil for new go version (# 265)
  > 5814be5 Update community files (# 267)
bumping knative.dev/networking db2bcbe...195809a:
  > 195809a Update community files (# 761)
  > c3510af upgrade to latest dependencies (# 760)
  > 2473e65 Update community files (# 759)
  > f6585dc update OWNERS file (# 758)
  > 89f3990 Assert all the expected DNSNames are part of the HTTP01 challenge (# 756)
  > 4ccbe60 adjust domain validation in kcert (# 754)
bumping knative.dev/serving 484e848...08812b3:
  > 08812b3 Update net-istio nightly (# 13706)
  > 368994b Update community files (# 13707)
  > d68797e Bumping 'github.com/google/go-containerregistry' dependency (# 13701)
  > 9b9a951 upgrade to latest dependencies (# 13689)
  > e2add5d fix curl invocation (# 13683)
  > 6334ffe Update net-contour nightly (# 13676)
  > d7959af Update net-certmanager nightly (# 13686)
  > 4db2ada Update net-istio nightly (# 13687)
  > 7f2264d Update community files (# 13685)
  > baa6292 Update net-gateway-api nightly (# 13672)
  > 83d2dd7 Update net-kourier nightly (# 13673)
  > 2fc2a12 fix route reconciler test flakes (# 13684)
  > 729eb6d Update net-istio nightly (# 13674)
  > 30a2b0c Add k8s 1.26 for kind (# 13682)
  > 3764762 use GITHUB_TOKEN when querying net-istio releases (# 13681)
  > 485f2a9 upgrade to latest dependencies (# 13680)
  > 0639c5f Update community files (# 13678)
  > b4d7a28 clean up OWNER files (# 13668)
  > 68e128b Update net-contour nightly (# 13667)
  > f6ab591 Adds slack links to CNCF Knative slack channel (# 13655)
  > 53b3c92 Add serving-internal docs about Knative encryption support (# 13662)
  > 3b8d6cb Update net-contour nightly (# 13656)
  > b9b4c57 Update net-gateway-api nightly (# 13654)
  > 63832e2 Update net-contour nightly (# 13650)
  > 908edaf Update net-istio nightly (# 13649)
  > 06add5f Update net-kourier nightly (# 13648)
bumping knative.dev/pkg 247510c...2f55fe0:
  > 2f55fe0 Fix potential slowloris attack (# 2682)
  > 8d1efe1 Update community files (# 2683)
  > 4a80605 Add health checks (# 2671)
  > 33e6b88 fix: `reconcilerImpl.updateStatus` calculates state difference in debug mode only (# 2678)
  > c889c5b upgrade to latest dependencies (# 2679)
  > fb44e94 Update community files (# 2676)
  > decc1cc Update community files (# 2674)
  > 8532ae0 update OWNERS files to use teams with active members (# 2672)
  > 408ad07 Make SetDefaults of Destination duck type nil safer (# 2670)
bumping github.com/google/go-containerregistry 76ae819...1e09daa:
  > 1e09daa clarify crane download readme (# 1533)
  > 8e08d51 Revert "Hack around DockerHub plugin scope handling" (# 1531)
  > 5ad0a76 crane: support --full-ref for crane ls (# 1525)
  > b063f6a Hack around DockerHub plugin scope handling (# 1527)
  > e797859 crane: add digest --full (# 1524)
  > 3986cf4 test: use `T.TempDir` to create temporary test directory (# 1522)
  > 9db616f FIX mutate.Time not respecting history (# 1520)
  > 8048663 Race http fallback ping (# 1521)
  > e64ff3a Bump actions/stale from 6 to 7 (# 1519)
  > 9bd8237 Bump goreleaser/goreleaser-action from 3.2.0 to 4.1.0 (# 1511)
  > ffc14a0 Treat empty registry config as anonymous (# 1512)
  > 23d895d Fix missing doc comment (# 1509)
  > 6ba20c8 Fix various lints (# 1507)
  > 4270e04 Update Arch Linux install instructions (# 1508)
  > 37bf5df Revert "docs: pull latest instead of debug (# 1497)" (# 1504)
  > 47f0933 Use the default retry predicate in transport (# 1502)
  > c7270c2 Make unit tests substantially faster (# 1498)
  > a35805d Make credential warning slightly more accurate (# 1499)
  > 37b993a docs: pull latest instead of debug (# 1497)
  > cd77615 Add support for zstd compression (# 1487)
  > c412593 Fix calculating tarball size when duplicated layers exist (# 1495)
  > bdc946f add source archive checksum into the checksums.txt (# 1492)
  > 781782a Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (# 1491)
  > 9e939fb Features: Allow eliding `serviceaccount` lookups. (# 1490)
  > 3e4f490 Bump slsa-framework/slsa-github-generator to 1.2.2 (# 1489)

Signed-off-by: Knative Automation <automation@knative.team>
2023-02-16 08:24:51 +00:00
Lance Ball ab194d421d
feat(templates): remove liveness and readiness from defaults (#1555)
* feat(templates): remove liveness and readiness from defaults

The liveness and readiness URLs are defined in code as defaulting to
`/health/liveness` and `/health/readiness` respectively. The deploy
command handles these defaults without requiring them to exist in the
`func.yaml` file. Existing tests for defaults and overrides already
exist, so this change does not require additional tests to be included.

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: remove default endpoints from repository.go

Signed-off-by: Lance Ball <lball@redhat.com>

---------

Signed-off-by: Lance Ball <lball@redhat.com>
2023-02-16 08:23:51 +00:00
Lance Ball 44bb13f803
feat: adds refspec support for `func repo add` (#1558)
* add option 'branch' to command 'repository add'

* Format go code (#1407)

Signed-off-by: Knative Automation <automation@knative.team>

* chore: refactor repository layout (#1554)

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

* fixup: removes --branch tag from repo commands

Removes the currently in-flight work on the `--branch` tag, simply
supporting a `refspec` on the repository URI. For example,
https://github.com/knative-sandbox/func-tastic#metacontroller will pull
the `func-tastic` repo, and set the currently active HEAD to the
`metacontroller` branch. Adds support for displaying this with the
command `func repo list -v`.

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: add example to `func repo add` documentation

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: adjust test output expectations

Signed-off-by: Lance Ball <lball@redhat.com>

---------

Signed-off-by: Knative Automation <automation@knative.team>
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: Lance Ball <lball@redhat.com>
Co-authored-by: Yingchun Guo <yingchun.guo@intel.com>
Co-authored-by: knative-automation <automation@knative.team>
Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-02-16 04:05:51 +00:00
Zbynek Roubalik 5a4803bf95
chore: refactor repository layout (#1554)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-02-15 08:46:52 +00:00
Jefferson Ramos e6618c0c2b
test: e2e on cluster test in verbose mode (#1537) 2023-02-14 17:14:51 +00:00
Matej Vasek 6bedc4aeed
Use current (as in PR) func image in integration tests (#1548)
* cleanup: style

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

* fix: use current func image for in cluster tests

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

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-02-14 16:29:50 +00:00
Jefferson Ramos 30b72dab53
fix: oncluster builds registry mismatch error (#1542) 2023-02-14 15:36:51 +00:00
knative-automation 826c312777
Update community files (#1540)
Signed-off-by: Knative Automation <automation@knative.team>
2023-02-10 17:59:49 +00:00
Jefferson Ramos 8e62148538
fix: func deploy with explicity `--build=false` bypass isBuilt check (#1539) 2023-02-09 16:24:48 +00:00
github-actions[bot] 34fed117bc
chore: update Quarkus platform version to 2.16.2.Final (#1538)
Co-authored-by: Knative Automation <automation@knative.team>
2023-02-08 20:29:46 +00:00
knative-automation bb7a9f209d
Update community files (#1533)
Signed-off-by: Knative Automation <automation@knative.team>
2023-02-08 01:35:46 +00:00
github-actions[bot] 6a5655ef91
chore: update Quarkus platform version to 2.16.1.Final (#1531)
Co-authored-by: Knative Automation <automation@knative.team>
2023-02-07 21:31:47 +00:00
my-git9 705cbcd8ac
Cleanup: remove ioutil for new go version (#1532) 2023-02-06 09:43:35 +00:00
Luke Kingland 958429c2f3
feat: deploy command global config with function context (#1434)
* feat: deploy command global config function context

* fix static check errors

* fix test

* fix remote persists test

* env opaque box test

* use keyed fields (govet)

* mock deployer expansion

* ClearEnvs now in shared testing pkg

* effectivePath now uses plfags

* list directly uses config for default namespace

* Improved Namespace calculation and Caching

- Built() now a client package function
- Namespace evaluation delegeate to implementations
  This enables the func.yaml to avert dirtiness checks on rebuilds
  (caching)
- Build and Deploy update build stamp on completion
  Enables dirtiness checks to be unaffects, leading to better caching.
- CLI Namespace checks no longer require k8s env evaluation for default
- Fixed missing condition check in TestDeploy_Namespace
- Fixes some minor linter and spelling errors
- Global config does not directly set namespace - it is corrected to be
  deferred evaluation used by implementations.
- Skips writing func.yaml on f.Write if there were no modifications,
  which leads to better caching (no timestamp update means Built ==
  true)
- HasImage removed in favor of a corrected fn.Built

* linting, misspellings and docs rebuild

* warn user if git settings exist on a non-remote build

* lint error fix

* test flag unsetting persists

* allow unknown flags in preparsing of flags

* pre-submit cleanup

* update cmd to use client.Init
2023-02-06 08:43:35 +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
Luke Kingland 6a539e40df
return route from client methods (#1530)
Client methods which result in an updated remote function instance look
up and return the new (or possible changed) primary function route.
2023-02-02 09:06:31 +00:00
Luke Kingland f9d17b0c9a
add apply and update client methods (#1529)
Adds two meta-commands, 'Apply' and 'Update', to the client.
Renames 'Create' to 'Init' to avoid confusion with 'Update' (and to be more
linguistically similar to git commands), and adds it as an alias to the
create CLI command.
2023-02-01 08:37:29 +00:00
Lance Ball 3edf2dd355
chore(ci): update java version (#1527)
Signed-off-by: Lance Ball <lball@redhat.com>
2023-01-27 18:41:40 +00:00
github-actions[bot] 53339454f3
chore: update Quarkus platform version to 2.16.0.Final (#1521)
Co-authored-by: Knative Automation <automation@knative.team>
2023-01-27 17:47:40 +00:00
knative-automation 396669d270
upgrade to latest dependencies (#1523)
bumping knative.dev/eventing bd67450...4d6e1fc:
  > 4d6e1fc Change subscription patch logic to ensure resource version (# 6670)
  > 74e165a APIServerSource with selector to target namespaces (# 6665)
  > 1f9f4d3 Log stream from system namespace in upgrade tests (# 6699)
  > 466d123 Fix reconciler-tests Prow job (# 6694)
bumping knative.dev/client 2a124bd...df40f5a:
  > df40f5a upgrade to latest dependencies (# 1770)
bumping knative.dev/serving 2215dfe...484e848:
  > 484e848 upgrade to latest dependencies (# 13646)
  > 1e27b7a Update net-contour nightly (# 13643)
  > 43af7f1 Update net-istio nightly (# 13644)
  > eb96c59 Update net-kourier nightly (# 13641)
  > 412cf1c Update net-certmanager nightly (# 13640)

Signed-off-by: Knative Automation <automation@knative.team>
2023-01-27 15:13:41 +00:00
Luke Kingland 0f5b93fa96
e2e tests log stdout and stderr (#1524)
* fix: e2e tests logs on error

Commands now print stdout buffer on failure.  In particular, they now
print the stdout buffer, the stderr buffer, and the final returned error text.

* use combined output throughout oncluster tests

* e2e set TestInvoke verbosity on
2023-01-27 10:11:41 +00:00
Thomas Risberg d090d5dd5e
Update springboot templates to Spring Boot 3.0.2 (#1509)
- add needed buildEnv properties
- add class to register runtime hints for MessageUtils.MessageStructureWithCaseInsensitiveHeaderKeys
- update README files
- update unit tests to use Java 17

Signed-off-by: Thomas Risberg <trisberg@pivotal.io>

Signed-off-by: Thomas Risberg <trisberg@pivotal.io>
2023-01-24 15:16:38 +00:00
knative-automation c3c5d32d7c
upgrade to latest dependencies (#1520)
bumping knative.dev/eventing 7e899fd...bd67450:
  > bd67450 Populate a Subscriptions subscriber and reply namespace only if not set already (# 6671)
bumping knative.dev/networking e9d3a55...db2bcbe:
  > db2bcbe Assert all the expected DNSNames are part of the HTTP01 challenge (# 757)
bumping knative.dev/client 982711e...2a124bd:
  > 2a124bd upgrade to latest dependencies (# 1769)
bumping knative.dev/serving 8b28d41...2215dfe:
  > 2215dfe Update net-gateway-api nightly (# 13642)
  > 0360850 Add secure-pod-defaults flag to default Pods to 'restricted' profile by default (# 13398)
  > 897b61a Change HTTP01 test DNS entry to *.{custom-domain} (# 13636)
  > 9004443 Allow challenges for hosts that don't match the route's host (# 13637)
  > 188dc1a Update net-certmanager nightly (# 13631)
  > 09bc85c Update net-kourier nightly (# 13634)
  > 87f5b62 Update net-contour nightly (# 13635)
  > 760b2f7 Update net-istio nightly (# 13632)

Signed-off-by: Knative Automation <automation@knative.team>

Signed-off-by: Knative Automation <automation@knative.team>
2023-01-24 14:12:39 +00:00
Luke Kingland be2e9ee970
rebuild docs (#1517) 2023-01-24 12:59:38 +00:00
Luke Kingland 218cc15d03
fix: --path flag parsing (#1519) 2023-01-24 12:58:38 +00:00
knative-automation 154dd138e2
upgrade to latest dependencies (#1516)
bumping knative.dev/serving 5b59ae0...8b28d41:
  > 8b28d41 Update net-gateway-api nightly (# 13633)
  > 550a6f5 Clean up `go_run` functions (# 13628)
  > d2d5723 Don't explicitly require a service account key for autotls dns tests (# 13627)
  > 6906c92 Refactor autoscaler TestContext (# 13618)
  > 8722a63 Update net-contour nightly (# 13624)
  > e05aa3a Add validation to warn about insecure SecurityContext defaults (# 13399)
  > 4a339c6 Update net-kourier nightly (# 13626)
  > b10db15 Update net-gateway-api nightly (# 13623)

Signed-off-by: Knative Automation <automation@knative.team>

Signed-off-by: Knative Automation <automation@knative.team>
2023-01-24 00:24:38 +00:00
Zbynek Roubalik 3d52283a35
fix: on cluster build - fix url in the output msg (#1514)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>

Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-01-20 19:12:02 +00:00
Matej Vasek 2c3cca0deb
fix: envvar parsing for pack tekton task (#1512)
Signed-off-by: Matej Vasek <mvasek@redhat.com>

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-01-20 17:30:03 +00:00
knative-automation f77971b7bb
upgrade to latest dependencies (#1507)
bumping knative.dev/client bd8493f...982711e:
  > 982711e [main] Upgrade to latest dependencies (# 1763)
  > b72e964 Update actions (# 1768)
bumping knative.dev/networking fe0ac7d...e9d3a55:
  > e9d3a55 adjust domain validation in kcert (# 755)
  > dd05ffd upgrade to latest dependencies (# 753)
  > 3ad2fdc Update actions (# 752)
bumping knative.dev/serving 162b8fb...5b59ae0:
  > 5b59ae0 Update net-certmanager nightly (# 13625)
  > 04df00a DomainMapping: Set Certificate.Spec.Domain (# 13620)
  > 94d23ac Set 'Domain' in kcert (# 13569)
  > a4fcb9d Update net-certmanager nightly (# 13619)
  > 6b7e09a upgrade to latest dependencies (# 13616)
  > 2338826 Don't default Revision values when BYO name is unchanged. (# 13565)
  > f2147ef Stream logs from system and test namespace in upgrade tests (# 13587)
  > b989439 Ensure the autoscaler only has a single elector (# 13585)
  > 873eb5c Advance pvc e2e test to beta (# 13535)
  > 5cb43ab Update net-gateway-api nightly (# 13615)
  > 8064f6b Update net-gateway-api nightly (# 13614)
  > 52e79f7 show an error when curling the istio release (# 13612)
  > a5d0384 Update net-contour nightly (# 13613)
  > 2c117e8 Update net-gateway-api nightly (# 13607)
  > 06f59e3 Update net-kourier nightly (# 13608)
  > aa744ae Update net-certmanager nightly (# 13606)
  > cd2ad0c Update actions (# 13604)
bumping knative.dev/eventing 694f824...7e899fd:
  > 7e899fd Reduce log noise in upgrade tests (# 6693)
  > 9417125 [main] Update actions (# 6680)
  > 82d36e0 [main] Upgrade to latest dependencies (# 6681)
bumping knative.dev/pkg 876c59d...247510c:
  > 247510c upgrade to latest dependencies (# 2668)

Signed-off-by: Knative Automation <automation@knative.team>

Signed-off-by: Knative Automation <automation@knative.team>
2023-01-20 16:38:03 +00:00
Luke Kingland ed7592cd6b
chore: re-bump springboot template versions (#1511) 2023-01-20 09:57:02 +00:00
Luke Kingland 554e74a309
chore: remove underscore prefix from test packages (#1503)
* remove underscore prefix from test packages

* springboot patch attempt
2023-01-20 09:01:02 +00:00
Lance Ball 2b1ab1be43
fix: improve error message for missing registry name (#1510)
When a user attempts to build, run or deploy a function and it has not
been previously built, the `--registry` flag or `FUNC_REGISTRY` environment
variable must be set so that the image name can be calculated. The
current error message, `registry required` is not very helpful, and
requires the user to divine what needs to happen next to fix the
problem. This change updates the error message text to indicate that the
user should set the `--registry` flag or `FUNC_REGISTRY` environment
variable.

Fixes: https://github.com/knative/func/issues/1504

Signed-off-by: Lance Ball <lball@redhat.com>

Signed-off-by: Lance Ball <lball@redhat.com>
2023-01-20 08:54:03 +00:00
Matej Vasek 132d0492ad
chore: update pack (#1506)
Signed-off-by: Matej Vasek <mvasek@redhat.com>

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-01-19 07:08:00 +00:00
Thomas Risberg 63aab77884
Update Spring Boot to 2.7.7 (#1502)
* Update Spring Boot to 2.7.7

- also add function-template springboot.md doc

Signed-off-by: Thomas Risberg <trisberg@pivotal.io>

* Fix lint errors

Signed-off-by: Thomas Risberg <trisberg@pivotal.io>
2023-01-18 19:30:03 +00:00
Luke Kingland 1dec136e74
fix: create command help text (#1500) 2023-01-17 20:12:56 +00:00
Lance Ball d3d3233825
docs: update language pack docs for builderImages (#1497)
Includes guidance for Language Pack authors creating templates that use
runtimes other than those that are built in to the CLI.

Signed-off-by: Lance Ball <lball@redhat.com>

Signed-off-by: Lance Ball <lball@redhat.com>
2023-01-16 21:01:04 +00:00