Sanket Sudake and GitHub
d69bcbc025
Update Go dependencies ( #3081 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-12-08 12:59:56 +05:30
Sanket Sudake and GitHub
fbb9075622
Skip CI for dependabot PR and remove manual dispatch ( #3080 )
...
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-12-08 12:06:17 +05:30
fe3504d08d
Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 ( #3070 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/aaa42aa0628b4ae2578232a66b541047968fac86...971e284b6050e8a5849b72094c50ab08da042db8 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-08 11:21:01 +05:30
5cda254ba0
Bump codecov/codecov-action from 4.5.0 to 5.1.1 ( #3071 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.5.0 to 5.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/e28ff129e5465c2c0dcc6f003fc735cb6ae0c673...7f8b4b4bde536c465e797be725718b88c5d95e0e )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-08 11:20:38 +05:30
924427cc0b
Bump sigstore/cosign-installer from 3.6.0 to 3.7.0 ( #3072 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](https://github.com/sigstore/cosign-installer/compare/4959ce089c160fddf62f7b42464195ba1a56d382...dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-08 11:20:11 +05:30
6fd26a53fc
Bump actions/upload-artifact from 4.4.0 to 4.4.3 ( #3073 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.4.0...b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-08 11:19:46 +05:30
4261bd19da
Bump actions/setup-go from 5.0.2 to 5.1.0 ( #3074 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32...41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-08 11:19:16 +05:30
e48d2c5928
Apply best security practices for OpenSSF ( #3069 )
...
* [StepSecurity] Apply security best practices
* Keep needed check in precommit
---------
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
Co-authored-by: StepSecurity Bot <bot@stepsecurity.io >
2024-12-08 11:07:14 +05:30
Sanket Sudake and GitHub
a3e9fc8431
Add OpenSSF scorecard badge ( #3067 )
...
* Add OpenSSF scorecard badge
* Run CodeQL on all commits
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-12-08 09:30:53 +05:30
Sanket Sudake and GitHub
80746c899f
Add OpenSSF Scorecard action ( #3066 )
2024-12-08 09:01:44 +05:30
Sanket Sudake and GitHub
7125268bbf
Add path safety fixes ( #3061 )
...
* Add path safety fixes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* minor changes
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
* revert test_huge_response test
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
---------
Signed-off-by: Sanket Sudake <sanketsudake@gmail.com >
2024-11-18 12:19:34 +05:30
378d503702
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 ( #3056 )
...
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 11:06:42 +05:30
soharab-ic and GitHub
d6edf341d8
Remove unreachable code from fission-cli ( #3039 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-11 13:01:36 +05:30
soharab-ic and GitHub
abf2a59ee2
Update K8s version for envtest to 1.30.x ( #3038 )
...
* Update K8s version for envtest to 1.30.x
* Minor change to trigger tests
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-10 11:47:36 +05:30
soharab-ic and GitHub
42983ee3d7
Add podSpec to generated environment manifest ( #3033 )
...
* Use builder and container names when creating environment K8s object instead of keeping it empty.
Add skeleton for podSpec field to give user an idea of how to use podSpec field.
* Add a positive test for env podSpec
* Add the test to CI tests
* Remove duplicate wait_for_builder function
* Fix CI tests failure
* Fix CI tests failure
* Add a negative test for env podSpec
* Fix issues with negative test
* Removing negative test as it may break executor which will affect other tests
* Rebase with main as executor issue is fixed.
Add the negative test.
* Fix negative test
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-09 11:11:19 +05:30
soharab-ic and GitHub
61ead3b076
Fix cleanup in executortype poolmgr on invalid manifest ( #3034 )
...
The bug breaks the poolmgr service which stops the deletion and creation of new environments.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-08 19:10:08 +05:30
soharab-ic and GitHub
922daefea9
Updated app version and chart version to v1.20.5 ( #3032 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-04 13:03:02 +05:30
soharab-ic and GitHub
43d8949b9c
Use os.RemoveAll to ignore path does not exist error ( #3031 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-01 22:27:41 +05:30
soharab-ic and GitHub
bee6c77a3e
Update Keda-connectors version and go packages ( #3029 )
...
* Update keda-connectors version
* Update github actions
* Fix github workflow lint issues
* Updated following go packages
```
* dario.cat/mergo: v1.0.0 -> v1.0.1
* github.com/IBM/sarama: v1.43.2 -> v1.43.3
* github.com/influxdata/influxdb: v1.11.5 -> v1.11.6
* github.com/prometheus/client_golang: v1.19.1 -> v1.20.4
* github.com/prometheus/common: v0.55.0 -> v0.59.1
* go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.53.0 -> v0.55.0
* go.opentelemetry.io/contrib/propagators/autoprop: v0.51.0 -> v0.55.0
* go.opentelemetry.io/otel: v1.28.0 -> v1.30.0
* go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.28.0 -> v1.30.0
* go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.27.0 -> v1.30.0
* go.opentelemetry.io/otel/sdk: v1.28.0 -> v1.30.0
* go.opentelemetry.io/otel/trace: v1.28.0 -> v1.30.0
* golang.org/x/net: v0.28.0 -> v0.29.0
* google.golang.org/grpc: v1.65.0 -> v1.67.1
```
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* The `set-output` command is deprecated.
Fix typos in release workflow.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-10-01 14:12:51 +05:30
Sanket Sudake and GitHub
ee577a99fb
Use typed rate limiting queue ( #3028 )
...
* Use typed rate limiting queue
* update skaffold version
* Update code-generator to 1.31
---------
Signed-off-by: Sanket <sanketsudake@gmail.com >
2024-10-01 12:05:55 +05:30
soharab-ic and GitHub
fa014acafd
Upgraded to Go latest version 1.23.1 ( #3027 )
...
* Upgraded to latest go version 1.23.1
* Fix lint failure
* Fix lint failures
* Remove unnecessary formatting
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-30 19:33:10 +05:30
soharab-ic and GitHub
688d537aaf
Warning: Deprecation warning for cross namespace parameters ( #3026 )
...
* Deprecation warning for cross namespace parameters `builderNamespace`, `functionNamespace`
and `disableOwnerReference` flag.
* Do not mention the version
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-30 16:42:19 +05:30
Sanket Sudake and GitHub
640e9d3ac9
Update codeql action version to 3.26.9 ( #3025 )
...
* Update codeql action version to 3.26.9
* Update checkout and setup-go version
2024-09-30 11:25:45 +05:30
cui fliter and GitHub
d2baff5022
Fix slice init length ( #3018 )
...
Signed-off-by: cuishuang <imcusg@gmail.com >
2024-09-30 10:13:12 +05:30
soharab-ic and GitHub
639ab21200
Fixed: Allow to disable owner references for cross namespace access with builder and function namespace ( #3024 )
...
* Add DISABLE_OWNER_REFERENCES env variable to executor and buildermgr deployment.
Use this env var to decide adding ownerReferences to K8s resources created by fission CRD.
* Resolve review comments
* Fix lint failure
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-27 15:11:07 +05:30
waitstory and GitHub
b2de14f8dd
Fixed: Print pod log error when response status is 404 returned by te… ( #3021 )
...
* Fixed: Print pod log error when response status is 404 returned by test function
* Update util.go
---------
Signed-off-by: waitstory <waitstory@163.com >
2024-09-26 13:21:50 +05:30
soharab-ic and GitHub
7988ffb64f
Add method and subpath flags to timetrigger object for triggering a function ( #3017 )
...
* Update timetrigger crd and add method and subpath fields in spec.
Update fission-cli to accept user input for method and subpath fields.
Update publisher package to utilize these fields for triggering a function.
Update timer controller to use method and subpath fields for publishing a request.
Add a new test TestPublisherSubpath in pulisher package.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Use kubebuilder default annotation.
Update test for fission-cli timetrigger create, update command to support method and subpath flags.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-16 17:15:54 +05:30
faa5bbede3
Fix the error printing in error handling ( #3013 )
...
* 去除environment创建操作中的注释及更新过程中存在的冗余代码
* Remove redundant code and simplify input parsing during HTTPTrigger creation
* Fix error handling in package update logic implementation
* Fix the error printing in error handling
---------
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-09-13 10:43:41 +05:30
7670fd15ac
Fix error handling in package update logic implementation ( #3012 )
...
* 去除environment创建操作中的注释及更新过程中存在的冗余代码
* Remove redundant code and simplify input parsing during HTTPTrigger creation
* Fix error handling in package update logic implementation
---------
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-09-11 13:38:31 +05:30
waitstory and GitHub
738c580bc1
The function is updated without an "envNamespace" argument, so we need to remove that logic ( #3010 )
...
Signed-off-by: waitstory <waitstory@163.com >
2024-09-11 13:37:09 +05:30
ce178281eb
Bump github.com/opencontainers/runc from 1.1.12 to 1.1.14 ( #3008 )
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.12...v1.1.14 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-04 08:33:35 +05:30
soharab-ic and GitHub
4463c730c5
Update chart version and app version to v1.20.4 ( #3006 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-09-02 12:14:23 +05:30
363422cf7a
Configure user ID for logger container's securityContext using helm values.yaml ( #3005 )
...
* Run logger as root to allow access to log files from host
* Add to connect part of yaml
* Change fission folder to allow non-root to write
into folder instead
* Configure user ID for logger from helm values.yaml
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
Co-authored-by: Mark Retallack <mark.retallack@yunextraffic.com >
2024-09-02 11:06:55 +05:30
waitstory and GitHub
843f6dd513
Fixed time unit loss problem after converting time ( #3004 )
...
The time unit of 'function.Spec.FunctionTimeout' is second, but after conversion from the function time.Duration, the unit becomes nanosecond. So it needs to be repaired.
Signed-off-by: waitstory <waitstory@163.com >
2024-08-30 16:54:41 +05:30
markretallack and GitHub
d060af3a3d
Add resource namespace to logger ( #2999 )
...
* Add fission resource namespace to logger pod
* Corrected indent
* Fix formating
2024-08-30 16:53:57 +05:30
soharab-ic and GitHub
19a3c15b0e
Use in-cluster config when kubeconfig file is not found ( #2996 )
...
* Use in-cluster config if KUBECONFIG env is not set.
Or when kubeconfig file is not found in user's home directory.
* Fixed e2e cli tests failure
* Resolve review comments
* Join kubeconfig not found and failed to load in-cluster config errors
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-24 09:01:27 +05:30
soharab-ic and GitHub
da56bcde6a
Fix: Message queue trigger update ( #2991 )
...
* Handle mqt update
* Update scalemanager to support mqtkind update
* Short circuit evalution may fail metadata update
* Updated mqtmanager test
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-16 11:33:36 +05:30
soharab-ic and GitHub
fee35235b8
Fix storagesvc url in archive ( #2982 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-14 18:02:05 +05:30
35e3c9282a
Remove redundant code and simplify input parsing during HTTPTrigger creation ( #2990 )
...
* 去除environment创建操作中的注释及更新过程中存在的冗余代码
* Remove redundant code and simplify input parsing during HTTPTrigger creation
---------
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-08-14 18:00:22 +05:30
soharab-ic and GitHub
4480a6bd81
Use typed client from Keda instead of unstructured ( #2989 )
...
* Use typed client for Keda
* Downgraded apimachinery version to v0.30.0 because of compilation error
* Upgrade golanggci-lint version to v1.57.0
* Skip cache for golanggci-lint-action
* grpc.WithBlock is deprecated
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-14 16:52:31 +05:30
53cea404ba
Code cleanup from Fission CLI ( #2983 )
...
Co-authored-by: yufu huang <yufu.huang@gientech.com >
2024-08-12 19:11:56 +05:30
soharab-ic and GitHub
d04cf333af
Creating large number of MQTs takes time ( #2984 )
...
* Implementing workqueue for MessageQueueTriggers
* Fixing some issues with informers and deleteQueue
* Fixing fission_mqt_created metrics
* Rebase with main
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-12 18:00:41 +05:30
soharab-ic and GitHub
8a4e30ab77
Removed armv7 references from goreleaser file ( #2988 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-12 12:08:49 +05:30
soharab-ic and GitHub
120dace61d
Update chart version to v1.20.3 ( #2987 )
...
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-09 13:38:40 +05:30
soharab-ic and GitHub
e8dc8dfeef
Fixed mqtrigger scaling issue ( #2986 )
...
* Fixed mqtrigger scaling issue
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Resolve review comments
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Set goreleaser version to v1
Remove armv7 references from goreleaser file
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-08-09 11:58:44 +05:30
Boluwatife Victor and GitHub
dbca6d60f8
Update README.md ( #2738 )
...
I added more context to the introduction section
2024-07-20 10:36:16 +05:30
soharab-ic and GitHub
c649c6a4d8
Fix: Storage leak in Builder and Fetcher ( #2979 )
...
* Fix storage leak in builder
```
builder pod keeps old src and deployment packages irrespective of build status.
delete src package after every build request is completed.
delete deployment package after package is uploaded.
```
* Optimized src/deploy cleanup pkg code
* Fix high severity security issue
* Add a test for builder's Clean API
* Resolve review comments
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-07-15 18:28:42 +05:30
1af0341fd2
Bump golang.org/x/image from 0.10.0 to 0.18.0 ( #2972 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.10.0 to 0.18.0.
- [Commits](https://github.com/golang/image/compare/v0.10.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 19:23:12 +05:30
soharab-ic and GitHub
3b8bc03ba1
Show warning that --yolo, --concurrency and --rpp fields are valid for executortype poolmgr only ( #2971 )
...
* yolo, concurrency and rpp are specifically introduced for executortype poolmgr
```
Show warning if these fields are used with other executortype.
Update CLI with this information.
```
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Add warning for fn update too
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Show warning while updating `--yolo`, `--con` and `--rpp` to an already created newdeploy function.
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Fixed a minor bug
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Optmize and increase code readability
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
* Rename function to checkExecutorPoolManager
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
---------
Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io >
2024-07-08 12:04:43 +05:30
ecbd5ad600
Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 ( #2970 )
...
Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp ) from 0.7.5 to 0.7.7.
- [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-retryablehttp/compare/v0.7.5...v0.7.7 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-retryablehttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 12:26:51 +05:30