Skip to content

Commit

Permalink
Add SPI configurations for the standalone mode (#5476)
Browse files Browse the repository at this point in the history
* Add SPI configurations for the standalone mode

* Remove disabling scheduler
  • Loading branch information
style95 authored Apr 16, 2024
1 parent c11fa85 commit 7863e27
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 114 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/4-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ jobs:
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Check free space
run: df -h
- name: Disable the scheduler
run: "./tools/github/disable-scheduler.sh"
- id: tests
name: Run Tests
run: "./tools/github/run${{ env.TEST_SUITE }}Tests.sh"
Expand Down
5 changes: 5 additions & 0 deletions core/standalone/src/main/resources/standalone-kcf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ whisk {
spi {
ContainerFactoryProvider = "org.apache.openwhisk.core.containerpool.kubernetes.KubernetesContainerFactoryProvider"
LogStoreProvider = "org.apache.openwhisk.core.containerpool.logging.DockerToActivationLogStoreProvider"
LoadBalancerProvider = "org.apache.openwhisk.core.loadBalancer.LeanBalancer"
EntitlementSpiProvider = "org.apache.openwhisk.core.entitlement.LocalEntitlementProvider"
InvokerProvider = "org.apache.openwhisk.core.invoker.InvokerReactive"
InvokerServerProvider = "org.apache.openwhisk.core.invoker.DefaultInvokerServer"
DurationCheckerProvider = "org.apache.openwhisk.core.scheduler.queue.NoopDurationCheckerProvider"
}
kubernetes {
timeouts {
Expand Down
4 changes: 4 additions & 0 deletions core/standalone/src/main/resources/standalone.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ whisk {
# and does not require root user access
LogStoreProvider = "org.apache.openwhisk.core.containerpool.docker.DockerCliLogStoreProvider"
ContainerFactoryProvider = "org.apache.openwhisk.core.containerpool.docker.StandaloneDockerContainerFactoryProvider"
EntitlementSpiProvider = "org.apache.openwhisk.core.entitlement.LocalEntitlementProvider"
InvokerProvider = "org.apache.openwhisk.core.invoker.InvokerReactive"
InvokerServerProvider = "org.apache.openwhisk.core.invoker.DefaultInvokerServer"
DurationCheckerProvider = "org.apache.openwhisk.core.scheduler.queue.NoopDurationCheckerProvider"
}

info {
Expand Down
112 changes: 0 additions & 112 deletions tools/github/disable-scheduler.sh

This file was deleted.

0 comments on commit 7863e27

Please sign in to comment.