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>
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
include:
|
||||
- broadcast.js
|
||||
kind: ArchiveUploadSpec
|
||||
name: broadcast-js-LHtQ
|
||||
|
||||
---
|
||||
apiVersion: fission.io/v1
|
||||
kind: Package
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: bs-7baf1b6f-f876-436f-a2b2-ae1a3e3af8b7
|
||||
namespace: default
|
||||
spec:
|
||||
deployment:
|
||||
checksum: {}
|
||||
type: url
|
||||
url: archive://broadcast-js-LHtQ
|
||||
environment:
|
||||
name: nodejs
|
||||
namespace: default
|
||||
source:
|
||||
checksum: {}
|
||||
status:
|
||||
buildstatus: none
|
||||
lastUpdateTimestamp: "2021-04-07T10:13:22Z"
|
||||
|
||||
---
|
||||
apiVersion: fission.io/v1
|
||||
kind: Function
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: bs
|
||||
namespace: default
|
||||
spec:
|
||||
InvokeStrategy:
|
||||
ExecutionStrategy:
|
||||
ExecutorType: poolmgr
|
||||
MaxScale: 0
|
||||
MinScale: 0
|
||||
SpecializationTimeout: 120
|
||||
TargetCPUPercent: 0
|
||||
StrategyType: execution
|
||||
concurrency: 5
|
||||
configmaps: null
|
||||
environment:
|
||||
name: nodejs
|
||||
namespace: default
|
||||
functionTimeout: 60
|
||||
idletimeout: 120
|
||||
package:
|
||||
packageref:
|
||||
name: bs-7baf1b6f-f876-436f-a2b2-ae1a3e3af8b7
|
||||
namespace: default
|
||||
requestsPerPod: 5
|
||||
resources: {}
|
||||
secrets: null
|
||||
Reference in New Issue
Block a user