Renamed a bunch of images to use fnproject org. (#239)

* Renamed a bunch of images to use fnproject org.

* Multi-stage build for Docker.

* Added tmp vendor dirs to gitignore.

* Run docker-build at beginning of test.
This commit is contained in:
Travis Reeder
2017-08-23 12:43:53 -07:00
committed by Denis Makogon
parent f90879b751
commit f559acd7ed
56 changed files with 126 additions and 203 deletions

View File

@@ -52,7 +52,7 @@ func CallAsync(t *testing.T, u url.URL, content io.Reader) string {
func TestRouteExecutions(t *testing.T) {
newRouteType := "async"
t.Run("run-sync-funcy/hello-no-input", func(t *testing.T) {
t.Run("run-sync-fnproject/hello-no-input", func(t *testing.T) {
t.Parallel()
s := SetupDefaultSuite()
CreateApp(t, s.Context, s.Client, s.AppName, map[string]string{})
@@ -79,7 +79,7 @@ func TestRouteExecutions(t *testing.T) {
DeleteApp(t, s.Context, s.Client, s.AppName)
})
t.Run("run-sync-funcy/hello-with-input", func(t *testing.T) {
t.Run("run-sync-fnproject/hello-with-input", func(t *testing.T) {
t.Parallel()
s := SetupDefaultSuite()
CreateApp(t, s.Context, s.Client, s.AppName, map[string]string{})
@@ -110,7 +110,7 @@ func TestRouteExecutions(t *testing.T) {
})
t.Run("run-async-funcy/hello", func(t *testing.T) {
t.Run("run-async-fnproject/hello", func(t *testing.T) {
t.Parallel()
s := SetupDefaultSuite()
CreateApp(t, s.Context, s.Client, s.AppName, map[string]string{})
@@ -136,7 +136,7 @@ func TestRouteExecutions(t *testing.T) {
DeleteApp(t, s.Context, s.Client, s.AppName)
})
t.Run("run-async-funcy/hello-with-status-check", func(t *testing.T) {
t.Run("run-async-fnproject/hello-with-status-check", func(t *testing.T) {
t.Parallel()
s := SetupDefaultSuite()
CreateApp(t, s.Context, s.Client, s.AppName, map[string]string{})

View File

@@ -127,7 +127,7 @@ func SetupDefaultSuite() *SuiteSetup {
Client: APIClient(),
AppName: "fnintegrationtestapp" + RandStringBytes(10),
RoutePath: "/fnintegrationtestroute" + RandStringBytes(10),
Image: "funcy/hello",
Image: "fnproject/hello",
Format: "default",
RouteType: "async",
RouteConfig: map[string]string{},