Commit Graph
81 Commits
Author SHA1 Message Date
VishalandGitHub a8483825ef Java env builder with Maven (#783)
Java environment builder with support for Maven builds. Default build comman runs `mvn clean package` and picks up target/*with-dependencies.jar for function.
2018-07-24 15:16:21 +05:30
Ta-Ching ChenandGitHub b7ca113ee0 Add go environment vendor directory support (#781)
* Add go environment vendor directory support
* Use symbolink instead of copying files to gopath
* Add go vendor example package & test
2018-07-13 13:16:22 +08:00
Ta-Ching ChenandGitHub 92186969df Delete namespace in background to reduce build time (#791)
* Delete namespace in background
* TPR is no longer exists
2018-07-12 11:00:19 +08:00
Ta-Ching ChenandGitHub b28ab0c2c9 Fix spec command overrides existing archive's url of a package (#764) 2018-07-11 13:03:45 +08:00
Ta-Ching ChenandGitHub 6cffe7b727 Fix go env panic “plugin: not implemented” (#784) 2018-07-06 12:24:46 +08:00
Ta-Ching ChenandGitHub 58ee3541db Change flag name to KeepArchive for backward compatibility (#787) 2018-07-06 03:13:07 +08:00
Erwin van EykandTa-Ching Chen 9ccd8601b0 Support annotations in environment specs (#733)
* Added annotations to runtime and builder environment specs
* Use crd annotations for env pod
2018-06-30 05:38:22 +08:00
VishalandGitHub ea213209b8 Java env alpha (#656)
This change adds support for JVM based environment for running Java functions. This is alpha release of JVM environment and might undergo changes.
2018-06-27 21:39:24 +05:30
Nafisa ShaziaandTa-Ching Chen 24ba1cdfcd Push error messages to error topic when NATS mqtrigger fail (#724) 2018-06-27 00:27:57 +08:00
VishalandGitHub 12ff472528 Disable caching of connections from router to function pods (#742)
A temporary fix for #723 which needs to be optimized in future. Disables caching of connections from the router to function pod/service.
2018-06-21 12:45:11 +05:30
VishalandSoam Vasani ccb28745b0 Temporarily disabling the tests so that other PRs can be worked on, will enable after closure on #723 (#737) 2018-06-08 15:07:50 -07:00
smruthi2187andGitHub 6278df340c pre-upgrade job to verify function references and restricted privileges for fetcher and builder SA (#717)
It is mandatory (from this release onwards) for function to refer to secrets, config-maps and packages in its own namespace to ensure isolation of users sharing the same cluster.
This change runs a pre-upgrade job to verify function references for all functions created prior to this release and fails the upgrade by printing a list of functions that violate this restriction.
2018-06-04 19:30:27 -07:00
VishalandGitHub b8c303b20a Ingress integration (#688)
Ingress integration to allow the optional creation of ingress for a given route. The ingress controller needs to be set up by the user separately so that ingress path is accessible outside the cluster.
2018-05-31 11:27:55 +05:30
smruthi2187andGitHub 2444e673ef Enabling multi-tenancy for fission objects. (#655)
This feature allows creation of fission objects in different namespaces, in addition to retaining the existing behavior of creating fission objects in default namespace if user doesnt provide one. 
It also removes cluster admin roles for fission-fetcher and fission-builder Service Accounts and grants them only those privileges that they need.
2018-05-23 13:22:46 -07:00
Ta-Ching ChenandGitHub 58260d3f1f Add benchmark script (#666) 2018-05-05 12:42:16 +08:00
smruthi2187andTa-Ching Chen 08c7f1ca25 Meaningful error message when fetch request is received for a package when build is not successful. (#661) 2018-05-03 22:51:48 +08:00
VishalandTa-Ching Chen a11d1504d3 Fixes the issue with fn test and adds relevant test cases, fixes #650 (#651)
* Fixes the issue with fn test and adds relevant test cases, fixes #650
* Checking log size for invalid function
* Testing the invalid function logs a few time beforr quitting
* Disabling the test for now, linked to issue #653
2018-04-30 14:14:46 +08:00
Ta-Ching ChenandGitHub 7353d4e9c8 Fix test cases occasional failure (#647) 2018-04-26 14:39:16 +08:00
VishalandGitHub 4d697470d3 Fission upgrade tests (#605)
Tests for upgrading Fission from the last version to current branch and testing. Currently test is very simple and more tests can be added in future
2018-04-24 12:51:17 +05:30
smruthi2187andGitHub e44436fba3 Remove port forward in tests for router, controller and nats pods (#611) 2018-04-20 19:00:22 -07:00
smruthi2187andGitHub 602cbf12b9 Invalidate stale router cache entry with podIP's for deleted pods. (#546)
The router's cache entry for a function might become stale if the pod that had the function specialized gets deleted somehow. In such a case, we'd retry getting a new service for the function from executor and retry forwarding the user request to the newly created service.
2018-04-05 13:47:47 -07:00
Soam VasaniandGitHub e58c63e7d2 E2E test for NATS-streaming trigger (#338)
E2E test for NATS-streaming trigger: move ad-hoc shell script into CI tests.
2018-04-05 10:07:00 -07:00
VishalandGitHub f6fc7ce9ca Tests for function update (#550)
Tests for updates to a function of new deployment executor type. Tests check for changes in the environment, scale, secrets etc. Also checks conversion of function executor type from new deployment to pool manager and vice versa
2018-03-28 20:32:04 +05:30
Erwin van EykandSoam Vasani 564a2e4400 Add Container object to environment build and runtime specs (#413)
Environment Specs so far had only an image URL to specify a container image.

This was fine for public images but fell short in a few of cases:
(a) Using private image registries
(b) Specifying environment variables (this is needed for workflows helm install)
(c) Setting a SecurityContext for the container

This change adds the Container object to both build and runtime Environments. 

Compatibility is preserved -- the existing ImageURL field is still used.  See the comments in types.go for the overriding rules in the case that both Container and ImageURL are specified.
2018-03-22 00:13:02 -07:00
Ta-Ching ChenandGitHub dd4dc593d4 Fix executor tries to create a new deployment when a function is updated (#524)
Newdeploy manager now checks the existence of function service cache by function UID before trying to create a new deployment. And return the cached fsvc directly if the cache exists.
2018-03-08 02:52:36 +08:00
smruthi2187andGitHub 7cf2494567 Delete healthz log (#525)
Silencing the healthz logs.
2018-03-02 15:50:48 -08:00
VishalandGitHub fdf20bd839 Update Fn: Executor New Deployment (#504)
Enables updating functions of executor type new deployment and switching between executor types for a function.
2018-02-28 16:33:39 +05:30
Ta-Ching ChenandGitHub b6430a258b Fix CLI not update function's secret/configmap correctly (#512)
This PR addressed some issues introduced in PR399. Also, now env builders and function pods can mount shared secret/configmap volumes correctly.
2018-02-28 05:28:05 +08:00
prithvirameshandsmruthi2187 8e02bc03ea Service type ClusterIP - Controller port forward through CLI (#431)
setting serviceType to ClusterIP as default for fission controller and corresponding changes in fission cli to be able to port-forward the controller pod.
2018-02-27 08:22:57 -08:00
smruthi2187 1943daf6f5 Addressing review comments. 2018-02-09 14:26:32 -08:00
smruthi2187 fc35e4831f Refining some stuff. 2018-02-08 13:58:44 -08:00
smruthi2187 96766c01e7 Reduce verbosity of docker build, gofmt and uncommenting helm uninstall 2018-02-08 13:58:44 -08:00
smruthi2187 cba752e452 exporting echo_log and adding a debug in controller for stackTrace 2018-02-08 13:58:44 -08:00
smruthi2187 7594b19368 Added describe pods in case of integration test failures. 2018-02-08 13:58:44 -08:00
smruthi2187 e8a8195a28 Added sigHandler to print stackTrace, modified probe params 2018-02-08 13:58:44 -08:00
smruthi2187 3479c2eaa7 We dont need these. 2018-02-08 13:58:44 -08:00
smruthi2187 abd8f2145f Rebuilding images. 2018-02-08 13:58:44 -08:00
smruthi2187 f4e83e89f5 Deleting ns and adding a sleep. 2018-02-08 13:58:44 -08:00
smruthi2187 640ffe6926 Uninstalling prev release. 2018-02-08 13:58:44 -08:00
smruthi2187 87f904926a fixing typo. 2018-02-08 13:58:44 -08:00
smruthi2187 9211b0aa57 Commenting out uninstall fission from install fission function. 2018-02-08 13:58:44 -08:00
smruthi2187 71aeb1a989 Prevent docker rebuild for new CIs. 2018-02-08 13:58:44 -08:00
smruthi2187 29a5fa6bb6 Removing tstamp 2018-02-08 13:58:44 -08:00
smruthi2187 d018210e8b wrapping all echo statements with timestamp. 2018-02-08 13:58:44 -08:00
smruthi2187 1413e21d16 Adding readiness, liveness probe for storagesvc. 2018-02-08 13:58:44 -08:00
smruthi2187 3362296094 commenting out helm installation. 2018-02-08 13:58:44 -08:00
smruthi2187 2aa4e84029 Re-organizing some functions. 2018-02-08 13:58:44 -08:00
smruthi2187 dc1a6fe1a0 exporting two functions. 2018-02-08 13:58:44 -08:00
smruthi2187 b2d552be91 Fixing tiller pod logs and ports for probes. 2018-02-08 13:58:44 -08:00
smruthi2187 b08782ee2a Fixing indentation errors in yaml 2018-02-08 13:58:44 -08:00