Eng Zer Jun and GitHub
2f4ec4b2b9
refactor: move from io/ioutil to io and os package ( #2236 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2021-10-23 17:14:12 +05:30
Sanket Sudake and GitHub
9b26befcba
Allow disabling preupgrade checks flag ( #2229 )
...
Added options to allow disabling of pre-upgrade checks,
also providing options to mention image and image tag
for pre-upgrade.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-10-21 09:27:12 +05:30
Sanket Sudake and GitHub
1347d73b04
fix: Goreleaser for build and release ( #2189 )
...
* Add goreleaser for building binaries
* Update CONTRIBUTING.md
* Break release scripts for goreleaser
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-09-21 15:29:40 +05:30
Sanket Sudake and GitHub
0c8d7c26c5
Use latest env in spec-archive test ( #2170 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-19 20:48:37 +05:30
Sanket Sudake and GitHub
c4585c8394
Update go version to 1.16 and kubernetes dev dependencies to 1.21 ( #2168 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-19 20:30:27 +05:30
Sanket Sudake and GitHub
0f8b5e51a4
Reduce logs in image pull and system prune for tests ( #2163 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-08-16 12:17:20 +05:30
Sanket Sudake and GitHub
ca161690da
Disable analytics in upgrade tests and use latest node env in integration tests ( #2128 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-27 11:24:01 +05:30
Sanket Sudake and GitHub
f86fde81e6
Shared informers ( #2092 )
...
* Use shared informers across executor for fission CRs
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add informer for configmap and secrets
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Use shared informers in router
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add shared informer for canary config
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add sharedinformer for ready pod check
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Refer informer instead of store in resolver
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Run informers before executors
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add missing canary config handler calls
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Enable websocket test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Run dump collection always
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-05 20:28:26 +05:30
Sanket Sudake and GitHub
43814450e5
Increase timeout for kubectl test ( #2100 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-07-05 14:57:11 +05:30
Sanket Sudake and GitHub
2cf2c6979e
Use latest release for upgrade tests ( #2097 )
...
Fix upgrade CI flow and added checks at places required
2021-07-02 15:48:02 +05:30
Sanket Sudake and GitHub
72c89268ec
Ignore errors from zap logger Sync ( #2086 )
...
Added golang CI lint
Reference issue: https://github.com/uber-go/zap/issues/880
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-21 11:58:48 +05:30
Sanket Sudake and GitHub
3f99b483cb
Correct release name in release script for non helm install ( #2084 )
...
* Correct release name in release script for non helm install
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Increase test timeout to 20 minutes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Enable codeql for master only
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-20 21:38:48 +05:30
Harsh Thakur and GitHub
6facdac464
Fix golang lint errors ( #2068 )
...
* Fix golang lint errors
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Typo for fields
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Multi error fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Multi error fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add nolint to logtostderr errcheck
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-06-15 15:03:42 +05:30
aa45703a99
Enable prefix based routing ( #2047 )
...
* Enable prefix based routing
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Optimize checking condition
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Disable few tests
* disable router modification for now
* run code generator
* Collect fission dump in CI
* Enable all tests back
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Remove unwanted code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add prefix support at more places and couple of todo's
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Few more changes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Improve function trim support
* Support for prefix based urls in fission function test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* multi route for fission function test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Improve validations in trigger creations
* Adjust leading / in url from fission
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Change suburl to subpath for function test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-10 13:54:49 +05:30
Harsh Thakur and GitHub
f01de5c802
Add websocket test ( #2053 )
...
* Add websocket test
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use trap for exit code
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove readme
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Format, go version fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update image name
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use spec dir
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change directory before running file
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Use
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
2021-06-10 12:27:20 +05:30
5b1883802e
Added fission upgrade workflow ( #2050 )
...
* Adding upgrade workflow file
* Update upgrade_test.yaml
* Update push_pr.yaml
* Update upgrade_test.yaml
* adding kube A
* Update upgrade_test.yaml
* adding script for upgrade testing
* adding fission cli from soource
* changing order
* correcting typo
* adding fission fn
* restructirung upgrade test scripts
* restructirung upgrade test scripts
* adding fission cli build
* script arrangment
* script arrangment
* changing job name
* adding supporting scripts
* adding supporting scripts
* adding supporting scripts
* script re-ordered
* script re-ordered
* script modifcation
* moved scripts under /test
* separated function test blocks
* added a sleep
* reverting main workflow changes
* added stable version installation step
* added stable version installation step
* stable fn test
* adding latest version build
* adding latest version build
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new tests
* adding new stable release
* adding new stable release
* disabling skaffold build and using docker build
* disabling skaffold build and using docker build
* disabling skaffold build and using docker build
* disabling skaffold build and using docker build
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* fission upgrade using helm
* adding helm upgrade with dependency update
* cleanup scripts
* added crd deletion step before helm upgrade
* added crd deletion step before helm upgrade
* added crd deletion step before helm upgrade
* adding run tests
* added test apache deployment
* change in repo name
* helm list added
* changed pullpolicy
* troubleshooting
* troubleshooting
* troubleshooting
* troubleshooting
* troubleshooting
* troubleshooting
* removed hardcoded enteries from helm charts
* fixing alignment
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* removed temp files [cleanup]
* removed timeout
* adding preupgradechecks image build
* adding fission object creation after upgrade
* removing fissin object creation after upgrading...
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* workflow step split-up
* clean-up
* clean-up
* output formatting
* added a sleep to re-create resources
* added a sleep to re-create resources
* added a sleep to re-create resources
* excluded examples from upgrade work flow
* removed helm stable update step from workflow
* removed helm stable update step from workflow
* added pr corrections
* typo correction
* troubleshooting
* troubleshooting
* troubleshooting
* pr corrections
* pr corrections
* pr corrections
* removed sleep after helm upgrade
* fixing typo
* remvoed sleep after fn creation
* clean-up
* clean-up
* added workflow_dispatch
* added workflow_dispatch
* added workflow_dispatch
* added workflow_dispatch
Co-authored-by: Jithindevasia <jithindevasia@Infraclouds-MacBook-Pro.local >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-07 21:20:06 +05:30
Sanket Sudake and GitHub
c2f455ec1b
Capture timestamp whenever cleanup is triggered in tests ( #2054 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-03 14:31:40 +05:30
Sanket Sudake and GitHub
3a8af97eb9
Wait for small time to avoid timeout in specs tests ( #2052 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-03 10:57:10 +05:30
Sanket Sudake and GitHub
e6c13057ce
Change container name for runtime container to environment name in newdeploy ( #2044 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-06-02 16:23:53 +05:30
1e0baf5f6c
Crds update ( #2033 )
...
* Add code generated using latest code-generator
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update client-go and respective dependencies to v0.19.2
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Upgrading CRD version
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Minor changes
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Resolved client-go calls as per new generated code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Function validations fix
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix environment and package validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Add basic validation to all CRDs
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Remove CRD installation related code
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Modify GHA for CRD installation
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix Package and HTTPTrigger validations
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Change Go version in CI to 1.15
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Style: kubebuilder marker change
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Fix test with deprecated fields
Signed-off-by: Harsh Thakur <harshthakur9030@gmail.com >
* Update kind node image to v1.16.15 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Update kind node image to v1.19.11 in CI
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Replace context Background with TODO for future implementation
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Optimize initial CRD check code
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Use Get call only to check CRDs
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* Add kustomize for CRD apply
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-26 15:07:03 +05:30
Sanket Sudake and GitHub
42c22a7bbb
Change examples references to examples repostiory ( #2038 )
...
Since we recently migrated all fission examples to fission/examples repository, we need to change
respective references.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-24 13:25:32 +05:30
Sanket Sudake and GitHub
ee4feb17c4
Handle SIGTERM signal in mqtrigger subscriber ( #2029 )
...
In test_mqtrigger.sh and test_mqtrigger_error.sh tests, we timeout program
if not received right output. Ensuring we capture timeout signal and do program
cleanup accordingly. Also printing due to which signal program failed.
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2021-05-18 16:26:44 +05:30
Sanket Sudake and GitHub
2a014e56b0
Add Google Analytics reporting in place of existing custom reporting ( #2015 )
...
Replacing the older analytics with a new Google Analytics based mechanism.
2021-05-12 12:24:27 +05:30
Vishal and GitHub
ca6bc12cfc
Restoring one example as it is used in many places including Helm charts ( #2011 )
...
Some tests were pointing to examples directory which has been moved out. Also kept one node.js examples as it is widely used in Helm charts etc.
2021-05-09 23:36:39 +05:30
19adf0cd7e
Fixing issue of pulling docker image twice in CI ( #1903 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2021-02-02 12:25:03 +05:30
a68f3edcd4
Github Actions Workflows ( #1876 )
...
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
Co-authored-by: sahil-lakhwani <sahilakhwani@gmail.com >
Co-authored-by: agiwalpooja20
Co-authored-by: abhisheks-infracloud
2020-12-17 19:00:44 +05:30
Rahul Bhati and GitHub
d975534bf7
Added field to preserve fields during CRD validation ( #1818 )
2020-10-13 12:38:24 +05:30
f3fe3123b3
Adding Concurrency in Pool Manager ( #1698 )
...
Concurrency in the pool manager allows specializing pods concurrently based on a specified limit.
Co-authored-by: Vishal <vishal-biyani@users.noreply.github.com >
2020-09-16 18:48:08 +05:30
Vishal and GitHub
c1ac7fcd38
Bumping up release of Helm for release script ( #1715 )
...
Upgrading to Helm3 for all CI testing
2020-09-16 16:07:48 +05:30
Sahil Lakhwani and GitHub
54b384efec
jvm-jersey-env ( #1677 )
...
A new Jersey framework based JVM environment which is lightweight and simpler.
2020-09-08 21:24:25 +05:30
1755d3a017
Adding NodeJS version 12 env ( #1683 )
...
Co-authored-by: Rahul Bhati <rjbhati009@gmail.com >
2020-08-28 10:24:22 +05:30
Rahul Bhati and GitHub
8e0571c7c9
Fission MQT integration with keda ( #1657 )
...
Fission MQT integration based on Keda with Kafka connector
2020-07-14 21:35:48 +05:30
Ta-Ching Chen and GitHub
735f9abef7
Update NATS-Streaming dependencies version ( #1533 )
2020-02-12 20:35:20 +08:00
Ta-Ching Chen and GitHub
e770c619e5
Revert "Temporarily disable building JVM image during CI builds" ( #1525 )
...
This reverts commit 3687602508 .
2020-02-03 15:02:48 +08:00
Ta-Ching Chen and GitHub
dd07c68201
Set package initial status if its empty ( #1522 )
...
If the user applies package YAML file has no status field,
the package won't be able to be compiled or deployed due
to lack of status. This PR aims to add a check at buildermgr
to set initial package status to those packages.
2020-02-02 00:39:02 +08:00
Ta-Ching Chen and GitHub
e651433727
CI build steps optimize to reduce waiting time ( #1508 )
2020-01-27 21:05:17 +08:00
Ta-Ching Chen
3687602508
Temporarily disable building JVM image during CI builds
2020-01-24 01:33:19 +08:00
Ta-Ching Chen
49ec161c5e
Let unit tests run in different namespaces to avoid resource conflict
2020-01-24 01:33:12 +08:00
Ta-Ching Chen and GitHub
4923708836
Move to new CI cluster ( #1500 )
...
* Move to new CI cluster
* Regenerate test id before creating a new HTTP trigger
2020-01-23 13:35:26 +08:00
Ta-Ching Chen and GitHub
b96ca0735d
Add config for fetcher resource requests & limits ( #1489 )
...
This PR adds fetcher resource requests&limits chart setting
and remove unreasonable limits value from the charts.
2020-01-15 11:21:48 +08:00
Ta-Ching Chen and GitHub
eb1f971d52
Not to exclude hidden file when creating archive ( #1458 )
...
Some of configs are hidden files like .babelrc, we should not ignore them.
2019-12-05 01:54:05 +08:00
Ta-Ching Chen and GitHub
4b3f48b537
Fix spec shows source archive is not used ( #1448 )
2019-12-01 16:51:13 +08:00
Ta-Ching Chen and GitHub
6301a78814
Ignore hidden file when creating archive file ( #1450 )
2019-12-01 09:58:16 +08:00
Ta-Ching Chen and GitHub
1ad7ac2dcf
Adopt existing orphan kubernetes resources when executor starts up ( #1443 )
...
Previously, once the executor is deleted for reasons (like upgrade or cluster scale-in),
the new executor deletes all existing resources created by the old executor and creates
new one. This mechanism becomes a problem when there are requests connecting to the
existing pods. Also in the worst case, the cluster may not have enough resources to create
new pods and cause service downtime.
This PR let each executor type adopts existing resources before starting the executor
API services, and so the alive connections won't experience failure. However, the requests
send to the function that doesn't have alive function pods will still fail due to the
executor is in bootstrapping.
2019-11-27 23:08:45 +08:00
Ta-Ching Chen and GitHub
86446c8879
Revert "Try to fix flaky canary test ( #1441 )" ( #1442 )
...
This reverts commit df857e3194 .
Looks like there are some problems when running the test against GKE, so revert it.
2019-11-27 16:19:33 +08:00
Ta-Ching Chen and GitHub
df857e3194
Try to fix flaky canary test ( #1441 )
2019-11-27 02:57:22 +08:00
Ta-Ching Chen and GitHub
7e8e968013
Fix poolmanager sets 0 timeout for function specialization ( #1439 )
2019-11-26 19:22:49 +08:00
Ta-Ching Chen and GitHub
e38baeec36
Add huge response body test ( #1437 )
2019-11-26 12:50:41 +08:00
Ta-Ching Chen and GitHub
51b264e8ca
Fix poolmanager terminates running function pod periodically ( #1435 )
...
The pool manager keeps terminating function pod periodically even there are
traffic to the function. The root cause is that executor, poolmgr, newdeploy
manage their own functionServiceCache separately. And when router taps a
function, executor updates the access time of the function service entry in its
own cache without notifying executor types to do the update as well. Hence,
the access time of function service entry in poolmanager cache never gets updated.
Due to the access time never gets updated, the idle pod reaper in poolmanager
then thinks the function pod is in idle state and recycle it.
This PR removes the cache in executor itself, and when router tries to tap a function,
executor will call executor type to tap the function and update access time.
2019-11-26 01:16:30 +08:00
Ta-Ching Chen and GitHub
5c2f0c5f4a
Add checksum and insecure flag for user to skip checksum generation ( #1430 )
2019-11-24 01:35:01 +08:00