Skip to content

Commit 17baf3e

Browse files
.travis.yml to build the image (#8)
update to rust 1.34 and setup travis for CI testing and image publish Co-authored-by: Michele Sciabarra <msciabarra@apache.org> Co-authored-by: Carlos Santana <csantanapr@apache.org>
1 parent b6d9599 commit 17baf3e

File tree

20 files changed

+109
-47
lines changed

20 files changed

+109
-47
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ node_modules
2626
# Vagrant
2727
.vagrant*
2828

29+
# Eclipse
30+
tests/bin/
31+
**/.project
32+
.settings/
33+
.classpath
34+
.cache-main
35+
.cache-tests
36+
2937
# IntelliJ
3038
.idea
3139
*.class

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
2+
# license agreements; and to You under the Apache License, Version 2.0.
3+
4+
sudo: required
5+
services:
6+
- docker
7+
notifications:
8+
webhooks:
9+
urls:
10+
# travis2slack webhook to enable DMs on openwhisk-team.slack.com to PR authors with TravisCI results
11+
secure: "pbZEezFpR0lM2xakTVWEd0Lkx4QMBSdcrZBrvpXSVc55rmWTghOvzz0Rie4zlRO8M1QH5vSwGHxwbkGSog0i4DF7rSIY9yIRd4wDb3r2V4zNEhgWHwUznkxUsH/nNgnpB8MVegezOldWCmct2KC+eg/K/zGyzYXX+ZhVR8niu+FZsWYgC/K/TblldNzdKEk3PzeYFgHmxBVOeIOXkXyTnqpBzPotgFQ+pLAeUgghVtGnOii2z6PYLj0OHS0Si6sq5BfZ19FFGOIBbqbyiSCp4bvCn04r979ZgTJENF+4F/r7zN5B+FDk03bBsqr5XnWT7L7E35RqWYWK1jkbi4VFLJ5gc9tzIKhzU4xHlsuF8ZvH29NqAvRWoGflKyCBMaXV6RaSlfWUmQ8tBXLXa4ORcJHpzB8JPiADWjy47gfxlK9kz/T+yN9FsYTU9uaKnb82c8Re0x+7gxLyvcVFEBrvfgb7nAblEzjGIptPh+SkroWpWrwPKVYZXTvrqpZZL+aqN3q6x7ynt81qYA0BK6Z2GMvuLJKraTQGxFi3JyCvoiXrd72unK53borxkFWWhG2YCwnduMJIfek9AbVYAFI9DRDFL8kPP1tnACoDo5OMxofDQnP9iBnWpKwHNVLDqOwfOY97iYDhp/cyCQYELtFweV3doSTVGnl8goWCFWNmmyA="
12+
13+
before_install:
14+
- "./tools/travis/setup.sh"
15+
install: true
16+
script:
17+
- "./tools/travis/scan.sh && ./tools/travis/build.sh && ./tools/travis/test.sh"
18+
deploy:
19+
- provider: script
20+
skip_cleanup: true
21+
script: "./tools/travis/publish.sh openwhisk ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"
22+
on:
23+
tags: true
24+
all_branches: true
25+
repo: apache/incubator-openwhisk-runtime-rust
26+
- provider: script
27+
skip_cleanup: true
28+
script: "./tools/travis/publish.sh openwhisk rust1.34 latest"
29+
on:
30+
branch: master
31+
repo: apache/incubator-openwhisk-runtime-rust
32+
env:
33+
global:
34+
- secure: 0Zk7istlUWhzCAMQvNSYEewgQmOF4uexJH/yh+35sifvX60tM2Hpq2ieZCgvTNgLhHPZmEJnRxldAgWGnwax4ROQyzJR+Qbu481KatwPEw5j+PpBP1rFUA5evYJC7gCG1INffliji0yd6WyoUMlwasMEyeyaqfRmdw3W4wMUXF/z1ya6cgAR9HxKegiOxtp4qjeFGk5PcyfxY5PoWroLeE3gpr5mjb7KoW6UzkkSlhJEsI9iMHyoUTln9ZTsLmBiGCmWC1cp6vaKq/K0t1p4bFm5Hg0vJMbb230jcdP9NyvLJJd9UX2eH0G/ER+QzkSM94OQwhQjTzPppC6YAluxUg5ZYr+Ik5ASHXc4WJXag4MRIrur24d60YI0iwodZe05c8ZA/Ksj41RscrbMBv3tIxDalJtY8DNfdfSL3qP3vZEFPyyAIs9jpUm36nY+VYlW0rP2AiEQNcv7rNNGCLqKVQnlbVR4ccCYbQovcjghzpkuL2A2zFqD4XScU2uj4bJF8HxB/LQCYrSXYUUh11+PE05idTH9X4+JE03Yal2qoX2Tn+a5HO3mkwSEjJ+M8QTuiB1kPLn7CnfPYJNsC28ZFP4HpfhpygWfAIFQmTQoqDGi6q4zi81LcYFeWnz+0wE+XqqoB6C4OwsTA6gM+bTR67mpibOPLSQ2paIRJdl+Gnk=
35+
- secure: wwxICr/9NXNF1xTijUW2187d/EuHsjN6QhFW0wkF8hoJALl5MYvJ5FAfInPHchcZaiqt8p9fAgcnNaUiQ4jDmDomDVDQUzxw/Vkr3jOPleM/qeL7RJUHWXnBgKbEU2R89HWPSBCc2KUcyGihJcjPGs9banx41heiTDteXIq/P/+bmOjn3DW4wuazTum3fpZD3r/GE/1zhJN3WvGGJoei2BypSI41FXVdrl5kdkQGWU/XFPhV6ER6G8Y2OIPx/9iOpy8mvhKBDR5HKelDz5xTDUYn5c8V7/Mi5IyXWVzDPFovurlN3pf9Mkqyf0Pc5uGgy9UU+Lkq/PsA/jXaRKq3tJm5idD2VuAAGQpyPh0RHKdckX2xM551q1sWr4UVgFPBtCumguRi8jXBRQh4BkxJWm5UaHJh/i6eN634d/qUGJKw0sktWYFOkoY2mebkMMfFhu1a0dPzBB2D8uqRv/7oLDgx16RI4eGCmSIydBm27L+qQ11mS1chmORpoH/1MQM13zntIcZkBhRvZ63GgehABGGUHnYyGZAhhbsWXiW1Yipc+hZ4KJG+99KY5lZRbaCOKR+4u8xfsXr03JL+dELlQDDJkpWoY12Nyq6HdCovAFa8Y/hxut77UUQw71hOrg20AfzRX8tPI5ogb2m/LnTIxJ/nM13Lt02M2VEs+Oqm5hg=

README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
<!--
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
-->
119
# incubator-openwhisk-runtime-rust
220

321
Work in Progress! Do not use yet...
@@ -6,15 +24,3 @@ It will be awesome.
624
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
725
[![Build Status](https://travis-ci.org/apache/incubator-openwhisk-runtime-rust.svg?branch=master)](https://travis-ci.org/apache/incubator-openwhisk-runtime-rust)
826

9-
# Work Done
10-
11-
- implemented the actionloop
12-
- implemented the Docker image
13-
- implemented the action compiler
14-
- refactored to a more rustacean form
15-
16-
# Work to do
17-
18-
- Add the gradle build
19-
- Implement the mandatory scala tests
20-
- Submit and add to the list of supported runtimes

rust1.32/Dockerfile renamed to rust1.34/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM actionloop/actionloop-v2:latest as builder
18-
FROM rust:1.32
17+
FROM openwhisk/actionloop-v2:4376fee as builder
18+
FROM rust:1.34
1919
COPY --from=builder /bin/proxy /bin/proxy
20-
RUN mkdir -p /action
20+
RUN mkdir -p /action
2121
ADD compile /bin/compile
2222
ADD src /usr/src
2323
RUN cd /usr/src ; cargo build
File renamed without changes.

rust1.32/build.gradle renamed to rust1.34/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
* limitations under the License.
1616
*/
1717

18-
ext.dockerImageName = 'actionloop-rust-v1.23'
18+
ext.dockerImageName = 'actionloop-rust-v1.34'
1919
apply from: '../gradle/docker.gradle'
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)