Reed Allman
0f50e4b7fc
fix neg content length
2017-09-08 01:59:54 -07:00
CI
893edfcd63
functions: 0.3.104 release [skip ci]
2017-09-15 17:36:21 +00:00
Reed Allman
58ead3f7b6
Merge pull request #327 from fnproject/loggyloo
...
add id to all call invocation logs
2017-09-15 10:26:03 -07:00
CI
1a8a878e9f
functions: 0.3.103 release [skip ci]
2017-09-15 00:18:17 +00:00
CI
02571220c3
functions: 0.3.102 release [skip ci]
2017-09-14 18:18:21 +00:00
CI
67d0b9cb9f
functions: 0.3.101 release [skip ci]
2017-09-14 18:07:38 +00:00
CI
4a4849b5e2
functions: 0.3.100 release [skip ci]
2017-09-14 17:19:19 +00:00
Reed Allman
1d0a63ca99
add id to all call invocation logs
2017-09-07 18:37:22 -07:00
Reed Allman
700078ccb9
bubble up some docker errors to user
...
currently:
* container ran out of memory (code 137)
* container exited with other code != 0
* unable to pull image (auth/404)
there may be others but this is a good start (the most common). notably, for
both hot and cold these should bubble up (if deterministic, which hub isn't
always), and these are useful for users to use in debugging why things aren't
working.
added tests to make sure that these behaviors are working.
also changed the behavior such that when the container exits we return a 502
instead of a 503, just to be able to distinguish the fact that fn is working
as expected but the container is acting funky (400 is weird here, so idk).
removed references to old IsUserVisible crap and slightly changed the
interface for RunResult for plumbing reasons (to get the error type,
specifically).
fixed an issue where if ~/.docker/config.json exists sometimes pulling images
wouldn't work deterministically (should be more inline w/ expectations now)
closes #275
2017-09-07 11:55:50 -07:00
CI
d395c4edda
functions: 0.3.99 release [skip ci]
2017-09-13 18:28:45 +00:00
Denis Makogon
5683d01603
Fix error handling
2017-09-13 21:03:53 +03:00
CI
95aa5aa190
functions: 0.3.98 release [skip ci]
2017-09-13 17:24:11 +00:00
Reed Allman
cb11749a67
Merge pull request #321 from fnproject/uncap-slice
...
oops, try to pre-allocate slice of useful size but if not allow expan…
2017-09-13 10:12:30 -07:00
Reed Allman
3707935f56
Merge pull request #314 from fnproject/302
...
Implementing force delete for apps
2017-09-13 10:01:59 -07:00
Denis Makogon
b2ca5ebc64
Run all statements in one transaction
2017-09-12 23:39:18 +03:00
Denis Makogon
93d4a5730b
Running deletes in single transaction
2017-09-12 23:30:31 +03:00
Denis Makogon
0b47c8c40c
Fix sql statements
2017-09-12 20:42:52 +03:00
Denis Makogon
bdb7e7fd7b
Addressing more comments
2017-09-12 20:09:22 +03:00
Denis Makogon
4052a7d428
Addressing review comments
2017-09-12 20:07:40 +03:00
Denis Makogon
8c9e7443cb
Removing no longer valid tests
2017-09-11 23:38:19 +03:00
Denis Makogon
6b7accd3c6
Simplifying app delete per review comments
2017-09-11 23:15:01 +03:00
Reed Allman
f032ce0556
info line this ( #316 )
2017-09-11 13:05:49 -07:00
CI
6aeca53b5a
functions: 0.3.97 release [skip ci]
2017-09-11 18:43:29 +00:00
Reed Allman
c71c170ac8
Merge pull request #299 from fnproject/fn-the-things
...
FN_ prefix env vars
2017-09-11 11:33:43 -07:00
Chad Arimura
d0901c104f
Update ping.go
...
updating ping
2017-09-11 11:16:17 -07:00
Denis Makogon
78f2d51bfa
Implementing force delete for apps
...
Deployment-Impact: DB schema changed
API Impact: HTTP DELETE /apps/{app} accepts query parameters: /apps/{app}?force=True
Closes : #302
2017-09-11 17:32:35 +03:00
Denis Makogon
3e190342fb
Implementing batch deletes for calls, logs and routes
...
Partially-Closes: #302
2017-09-11 11:41:27 +03:00
Denis Makogon
774d53662f
Making logs app-bound
...
Partially-Closes: #302
2017-09-11 11:04:54 +03:00
CI
bb43437050
functions: 0.3.96 release [skip ci]
2017-09-10 17:59:54 +00:00
CI
28a5e5f392
functions: 0.3.95 release [skip ci]
2017-09-08 19:10:17 +00:00
CI
d92253376a
functions: 0.3.94 release [skip ci]
2017-09-08 17:09:26 +00:00
CI
92ea1bd9d1
functions: 0.3.93 release [skip ci]
2017-09-08 16:58:15 +00:00
CI
aa4b61cc4f
functions: 0.3.92 release [skip ci]
2017-09-08 16:46:55 +00:00
CI
9275a592a8
functions: 0.3.91 release [skip ci]
2017-09-08 16:39:16 +00:00
CI
c5c4f83476
functions: 0.3.90 release [skip ci]
2017-09-08 16:35:49 +00:00
Reed Allman
59d95d660a
push app/route cache down to datastore ( #303 )
...
cache now implements models.Datastore by just embedding one and then changing
GetApp and GetRoute to have the cache inside. this makes it really flexible
for things like testing, so now the agent doesn't automagically do caching,
now it must be passed a datastore that was wrapped with a cache datastore.
the datastore in the server can remain separate and not use the cache still,
and then now the agent when running fn 'for real' is configured with the cache
baked in. this seems a lot cleaner than what we had and gets the cache out of
the way and it's easier to swap in / out / extend.
2017-09-08 09:18:36 -07:00
CI
0902bbfb67
functions: 0.3.89 release [skip ci]
2017-09-07 17:16:56 +00:00
Denis Makogon
8a337e744b
Addresing new comments
2017-09-07 15:17:39 +03:00
Reed Allman
f068a4c6df
oops, try to pre-allocate slice of useful size but if not allow expansion
2017-09-07 04:44:07 -07:00
Denis Makogon
57a577dfc9
Wiring new context with initial span
2017-09-06 21:55:52 +03:00
Denis Makogon
9a89366d1b
Addressing review comments
...
reverting query string caching in favour of Go 1.9 sqlx features
moving context definition out of call.End to upper level
2017-09-06 21:48:29 +03:00
Denis Makogon
6a541139a9
Make call.End more solid
2017-09-06 21:48:29 +03:00
Denis Makogon
d91d0fe79b
Use appropriate query for route updating
2017-09-06 21:48:28 +03:00
Denis Makogon
6ac579f296
Formatting issues
...
Aren't we running go-fmt.sh in CI?
2017-09-06 21:48:28 +03:00
Denis Makogon
9066dca750
Use context-bound SQL methods
...
Changes:
Exec -> ExecContext
Query -> QueryContext
QueryRow -> QueryRowContext
Rebind and store all possible queries before using them
Closes : #276
2017-09-06 21:48:28 +03:00
CI
5244b2db90
functions: 0.3.88 release [skip ci]
2017-09-06 18:37:17 +00:00
CI
837f9b86ad
functions: 0.3.87 release [skip ci]
2017-09-06 18:30:29 +00:00
Reed Allman
875300dcd1
Merge pull request #292 from fnproject/get-body
...
stop forcing GET bodies through ?payload
2017-09-06 11:26:23 -07:00
Reed Allman
3d7e7c5ce7
Merge pull request #294 from fnproject/fixDefaultHeadersMissing
...
Add headers to env for default functions
2017-09-06 11:20:08 -07:00
CI
c2b6d67a2f
functions: 0.3.86 release [skip ci]
2017-09-06 15:34:46 +00:00