Remove iron...

This commit is contained in:
Travis Reeder
2017-05-18 18:59:34 +00:00
committed by Reed Allman
parent 521df8c1ff
commit 9cc12b4b12
146 changed files with 406 additions and 1050 deletions

View File

@@ -1,4 +1,4 @@
FROM iron/ruby:dev
FROM funcy/ruby:dev
WORKDIR /function
ADD Gemfile /function/

View File

@@ -4,7 +4,7 @@ This images compares the payload info with the header.
## Requirements
- IronFunctions API
- Oracle Functions API
## Development
@@ -35,7 +35,7 @@ docker push $USERNAME/func-checker
./test.sh
```
## Running it on IronFunctions
## Running it on Oracle Functions
### Let's define some environment variables
@@ -45,7 +45,7 @@ docker push $USERNAME/func-checker
FUNCAPI=YOUR_FUNCTIONS_ADDRESS
```
### Running with IronFunctions
### Running with Oracle Functions
With this command we are going to create an application with name `checker`.
@@ -71,7 +71,7 @@ curl -X POST --data '{
#### Testing function
Now that we created our IronFunction route, let's test our new route
Now that we created our Oracle Functions route, let's test our new route
```
curl -X POST --data '{ "env_vars": { "test": "1" } }' http://$FUNCAPI/r/checker/check

View File

@@ -2,4 +2,4 @@
set -ex
# build image
docker build -t iron/func-checker .
docker build -t username/func-checker .

View File

@@ -1,3 +1,3 @@
name: iron/func-checker
name: username/func-checker
build:
- ./build.sh

View File

@@ -6,4 +6,4 @@ set -x
PAYLOAD='{"env_vars": {"FOO": "bar"}}'
# test it
echo $PAYLOAD | docker run --rm -i -e TEST=1 -e FOO=bar iron/func-checker
echo $PAYLOAD | docker run --rm -i -e TEST=1 -e FOO=bar username/func-checker