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 /worker
ADD Gemfile* /worker/

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-error
./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-error
FUNCAPI=YOUR_FUNCTIONS_ADDRESS
```
### Running with IronFunctions
### Running with Oracle Functions
With this command we are going to create an application with name `error`.
@@ -70,7 +70,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 '{"input": "yoooo"}' http://$FUNCAPI/r/error/error

View File

@@ -1,4 +1,4 @@
#!/bin/bash
set -ex
docker build -t iron/func-error .
docker build -t username/func-error .

View File

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

View File

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