Skip to content

Commit c523dea

Browse files
authored
Adapt to new apache/openwhisk commit. (ibm-functions#149)
Due to the removal of version 12.6.0 of the azure-storage-blob module on maven central openwhisk was updated to 12.7.0. Because of this we also needed to update to this new commit of openwhisk.
1 parent 4b6953e commit c523dea

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

ansible/environments/local/group_vars/all

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,3 @@ runtimes_manifest:
5757
deprecated: false
5858
blackboxes:
5959
- name: "dockerskeleton"
60-
61-
controller_protocol: "http"

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ gradle.ext.openwhisk = [
1111

1212
gradle.ext.scala = [
1313
version: '2.12.7',
14+
depVersion : '2.12',
1415
compileFlags: ['-feature', '-unchecked', '-deprecation', '-Xfatal-warnings', '-Ywarn-unused-import']
1516
]
1617

1718
gradle.ext.scalafmt = [
1819
version: '1.5.0',
1920
config: new File(rootProject.projectDir, '.scalafmt.conf')
2021
]
22+
23+
gradle.ext.akka = [version : '2.6.12']
24+
gradle.ext.akka_http = [version : '10.2.4']

tests/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ dependencies {
3333
compile "org.scala-lang:scala-library:${gradle.scala.version}"
3434
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:tests"
3535
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:test-sources"
36+
implementation group: 'com.typesafe.akka', name: "akka-http2-support_${gradle.scala.depVersion}", version: "${gradle.akka_http.version}"
37+
implementation group: 'com.typesafe.akka', name: "akka-http-xml_${gradle.scala.depVersion}", version: "${gradle.akka_http.version}"
38+
implementation group: 'com.typesafe.akka', name: "akka-discovery_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
39+
implementation group: 'com.typesafe.akka', name: "akka-protobuf_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
40+
implementation group: 'com.typesafe.akka', name: "akka-remote_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
41+
implementation group: 'com.typesafe.akka', name: "akka-cluster_${gradle.scala.depVersion}", version: "${gradle.akka.version}"
3642
}
3743

3844
tasks.withType(ScalaCompile) {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# For the runtime tests we use the same application.conf that is used
3+
# in the tests for the openwhisk environment itself.
4+
5+
include file("../../openwhisk/tests/src/test/resources/application.conf")

tools/travis/setup.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ HOMEDIR="$SCRIPTDIR/../../../"
99

1010
# clone openWhisk
1111
cd $HOMEDIR
12-
# git clone --depth=1 https://github.com/apache/openwhisk.git openwhisk
13-
git clone https://github.com/apache/openwhisk.git openwhisk
12+
13+
# Clone and setup openwhisk to have a local test environment.
14+
git clone https://github.com/apache/incubator-openwhisk.git openwhisk
1415
cd openwhisk
1516
# Use a fixed commit to run the tests, to explicitly control when changes are consumed.
16-
# Commit: Update the notice year (#5122)
17-
git checkout ecb2a980659f28d0adbd9ef837afaf4cb2b695bf
18-
17+
# Commit: minor version bump of azure-storage-blob to fix builds (#5150)
18+
git checkout 3e6138d088fbd502a69c31314ad7c0089c5f5283
1919

2020
# setup the openwhisk environment
2121
./tools/travis/setup.sh

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy