Migrate from alexellis org to openfaas

Note, not all `alexellis/github` references should be changed, there are
a number of repos which are not part of the openfaas org, this commit
excludes those.

Signed-off-by: John McCabe <john@johnmccabe.net>
This commit is contained in:
John McCabe
2017-09-26 00:27:54 +01:00
committed by Alex Ellis
parent eed9641254
commit 89878f0c8a
81 changed files with 161 additions and 166 deletions

View File

@ -1,6 +1,6 @@
FROM alpine:latest
ADD https://github.com/alexellis/faas/releases/download/0.6.5/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.6.5/fwatchdog /usr/bin
# COPY ./fwatchdog /usr/bin/
RUN chmod +x /usr/bin/fwatchdog

View File

@ -1,6 +1,6 @@
FROM arm32v6/alpine:3.6
ADD https://github.com/alexellis/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
# Populate example here

View File

@ -6,7 +6,7 @@ EXPOSE 8080
ENV http_proxy ""
ENV https_proxy ""
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
# COPY fwatchdog /usr/bin/
RUN chmod +x /usr/bin/fwatchdog

View File

@ -7,7 +7,7 @@ import (
"net/http"
"os"
"github.com/alexellis/faas/watchdog/types"
"github.com/openfaas/faas/watchdog/types"
)
func handle(header http.Header, body []byte) {

View File

@ -1,6 +1,6 @@
FROM artemklevtsov/r-alpine:latest
ADD https://github.com/alexellis/faas/releases/download/0.6.1/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.6.1/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -15,7 +15,7 @@ Use this FaaS function using R.
* Option 1 - click *Create a new function* on the FaaS UI
* Option 2 - use the [faas-cli](https://github.com/alexellis/faas-cli/) (experimental)
* Option 2 - use the [faas-cli](https://github.com/openfaas/faas-cli/) (experimental)
```
# curl -sSL https://get.openfaas.com | sudo sh

View File

@ -9,7 +9,7 @@ Use this FaaS function using R.
- Option 1 - click *Create a new function* on the FaaS UI
- Option 2 - use the [faas-cli](https://github.com/alexellis/faas-cli/) (experimental)
- Option 2 - use the [faas-cli](https://github.com/openfaas/faas-cli/) (experimental)
<!-- -->

View File

@ -1,6 +1,6 @@
FROM toricls/gnucobol:latest
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -1,6 +1,6 @@
FROM node:6.9.1-alpine
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -1,6 +1,6 @@
FROM microsoft/dotnet:sdk
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV DOTNET_CLI_TELEMETRY_OPTOUT 1

View File

@ -3,12 +3,12 @@ FROM golang:1.7.5-alpine
MAINTAINER alexellis2@gmail.com
ENTRYPOINT []
WORKDIR /go/src/github.com/alexellis/faas/sample-functions/golang
COPY . /go/src/github.com/alexellis/faas/sample-functions/golang
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/golang
COPY . /go/src/github.com/openfaas/faas/sample-functions/golang
RUN go install
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess "/go/bin/golang"

View File

@ -2,8 +2,8 @@ FROM golang:1.7.5-windowsservercore
MAINTAINER alexellis2@gmail.com
ENTRYPOINT []
WORKDIR /go/src/github.com/alexellis/faas/sample-functions/golang
COPY . /go/src/github.com/alexellis/faas/sample-functions/golang
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/golang
COPY . /go/src/github.com/openfaas/faas/sample-functions/golang
RUN go build
ADD ./watchdog.exe /

View File

@ -4,7 +4,7 @@ BaseFunction for Golang
You will find a Dockerfile for Linux and one for Windows so that you can run serverless functions in a mixed-OS swarm.
Dockerfile for Windows
* [Dockerfile.win](https://github.com/alexellis/faas/blob/master/sample-functions/BaseFunctions/golang/Dockerfile.win)
* [Dockerfile.win](https://github.com/openfaas/faas/blob/master/sample-functions/BaseFunctions/golang/Dockerfile.win)
This function reads STDIN then prints it back - you can use it to create an "echo service" or as a basis to write your own function.

View File

@ -1,6 +1,6 @@
FROM openjdk:8u121-jdk-alpine
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -1,6 +1,6 @@
FROM node:6.9.1-alpine
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -1,6 +1,6 @@
FROM python:2.7-alpine
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -1,6 +1,6 @@
FROM alpine:3.6 as builder
RUN apk add --no-cache curl \
&& curl -SL https://github.com/alexellis/faas/releases/download/0.6.4/fwatchdog > /usr/bin/fwatchdog \
&& curl -SL https://github.com/openfaas/faas/releases/download/0.6.4/fwatchdog > /usr/bin/fwatchdog \
&& chmod +x /usr/bin/fwatchdog \
&& apk --no-cache del curl

View File

@ -1,7 +1,7 @@
FROM alpine:latest
RUN apk --update add nodejs nodejs-npm
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
COPY package.json .

View File

@ -1,7 +1,7 @@
FROM alpine:latest
RUN apk --update add nodejs nodejs-npm
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
#COPY ./fwatchdog /usr/bin/
RUN chmod +x /usr/bin/fwatchdog

View File

@ -3,12 +3,12 @@ MAINTAINER alexellis2@gmail.com
ENTRYPOINT []
RUN apk --no-cache add make
WORKDIR /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
COPY . /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
RUN make
ADD https://github.com/alexellis/faas/releases/download/0.6.0/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess "/go/bin/DockerHubStats"

View File

@ -4,8 +4,8 @@ MAINTAINER alexellis2@gmail.com
ENTRYPOINT []
RUN apk --no-cache add make
WORKDIR /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
COPY . /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
RUN make

View File

@ -1,7 +1,7 @@
FROM alpine:latest
RUN apk --update add nodejs nodejs-npm
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
COPY package.json .

View File

@ -6,7 +6,7 @@ EXPOSE 8080
ENV http_proxy ""
ENV https_proxy ""
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
# COPY fwatchdog /usr/bin/

View File

@ -1,6 +1,6 @@
FROM arm32v6/alpine:3.6
ADD https://github.com/alexellis/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -1,7 +1,7 @@
FROM alpine:latest
RUN apk --update add nodejs nodejs-npm
ADD https://github.com/alexellis/faas/releases/download/0.6.0/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
COPY package.json .

View File

@ -1,7 +1,7 @@
FROM arm32v6/alpine:latest
RUN apk --no-cache add nodejs nodejs-npm
ADD https://github.com/alexellis/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
COPY package.json .

View File

@ -1,6 +1,6 @@
FROM alexellis2/phantomjs-docker:latest
ADD https://github.com/alexellis/faas/releases/download/0.5.6-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.6-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess="phantomjs /dev/stdin"

View File

@ -32,7 +32,7 @@ real 0m8.729s
This script visits the front page of CNN and once it is fully loaded - scrapes the title.
See [cnn.js](https://github.com/alexellis/faas/tree/master/sample-functions/Phantomjs/cnn.js) as an example of a Phantomjs script.
See [cnn.js](https://github.com/openfaas/faas/tree/master/sample-functions/Phantomjs/cnn.js) as an example of a Phantomjs script.
Another example script [feedly_subscribers.js](https://github.com/alexellis/faas/tree/master/sample-functions/Phantomjs/feedly_subscribers.js) gives the count of subscribers for an RSS Feed registered on Feedly.
Another example script [feedly_subscribers.js](https://github.com/openfaas/faas/tree/master/sample-functions/Phantomjs/feedly_subscribers.js) gives the count of subscribers for an RSS Feed registered on Feedly.

View File

@ -2,7 +2,7 @@
For examples of hello-world in different programming languages see inside the BaseFunctions folder:
* [Base Functions](https://github.com/alexellis/faas/tree/master/sample-functions/BaseFunctions)
* [Base Functions](https://github.com/openfaas/faas/tree/master/sample-functions/BaseFunctions)
## Demo functions from closing keynote @ Dockercon
@ -11,7 +11,7 @@ For examples of hello-world in different programming languages see inside the Ba
## Sample functions from the FaaS stack
> Also see the [community page](https://github.com/alexellis/faas/blob/master/community.md) for functions created by FaaS users and contributors.
> Also see the [community page](https://github.com/openfaas/faas/blob/master/community.md) for functions created by FaaS users and contributors.
Here is a list of the sample functions included this repository.

View File

@ -1,6 +1,6 @@
FROM v4tech/imagemagick
ADD https://github.com/alexellis/faas/releases/download/0.5.2-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.2-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess "convert - -resize 50% fd:1"

View File

@ -2,7 +2,7 @@ FROM arm32v6/alpine:3.6
RUN apk --no-cache add imagemagick
ADD https://github.com/alexellis/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess "convert - -resize 50% fd:1"

View File

@ -1,6 +1,6 @@
## functions/resizer
![](https://github.com/alexellis/faas/blob/master/sample-functions/ResizeImageMagick/gordon.png)
![](https://github.com/openfaas/faas/blob/master/sample-functions/ResizeImageMagick/gordon.png)
Use this FaaS function to resize an image with ImageMagick.
@ -10,7 +10,7 @@ Use this FaaS function to resize an image with ImageMagick.
* Option 1 - click *Create a new function* on the FaaS UI
* Option 2 - use the [faas-cli](https://github.com/alexellis/faas-cli/) (experimental)
* Option 2 - use the [faas-cli](https://github.com/openfaas/faas-cli/) (experimental)
```
# curl -sSL https://get.openfaas.com | sudo sh

View File

@ -3,7 +3,7 @@ FROM python:2.7-alpine
RUN pip install textblob && \
python -m textblob.download_corpora
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -3,7 +3,7 @@ FROM arm32v7/python:2.7-slim
RUN pip install textblob && \
python -m textblob.download_corpora
ADD https://github.com/alexellis/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
WORKDIR /root/

View File

@ -6,7 +6,7 @@ EXPOSE 8080
ENV http_proxy ""
ENV https_proxy ""
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
# COPY fwatchdog /usr/bin/

View File

@ -1,7 +1,7 @@
FROM alpine:latest
ENTRYPOINT []
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess "/bin/cat"

View File

@ -1,7 +1,7 @@
FROM alpine:3.6
RUN apk --no-cache add ffmpeg gifsicle curl \
&& curl -LS https://github.com/alexellis/faas/releases/download/0.5.6-alpha/fwatchdog > /usr/bin/fwatchdog \
&& curl -LS https://github.com/openfaas/faas/releases/download/0.5.6-alpha/fwatchdog > /usr/bin/fwatchdog \
&& chmod +x /usr/bin/fwatchdog \
&& apk del curl
WORKDIR /root/