Commit Graph

1404 Commits

Author SHA1 Message Date
CI
49de1ac6ca fn tool: 0.3.49 release [skip ci] fn-0.3.49 2017-08-08 16:16:11 +00:00
CI
bc2db9a64b functions: 0.3.50 release [skip ci] 0.3.50 2017-08-08 16:14:36 +00:00
oracloud
c0dddca679 Merge pull request #184 from fnproject/cli-logs
Display call ID for sync/async calls in CLI
2017-08-08 18:05:37 +02:00
CI
a7ed30a55f fnlb: 0.0.25 release [skip ci] 0.0.25 2017-08-08 13:22:42 +00:00
CI
a990306cac fn tool: 0.3.48 release [skip ci] fn-0.3.48 2017-08-08 13:21:47 +00:00
CI
65fed1a2bf functions: 0.3.49 release [skip ci] 0.3.49 2017-08-08 13:20:11 +00:00
Denis Makogon
0ca12b9bb2 Merge pull request #206 from fnproject/fix-async-ram
plumb all config fields into task
2017-08-08 16:11:00 +03:00
CI
7758e4a76a fnlb: 0.0.24 release [skip ci] 0.0.24 2017-08-07 19:06:57 +00:00
CI
ae62f7469d fn tool: 0.3.47 release [skip ci] fn-0.3.47 2017-08-07 19:05:59 +00:00
CI
2940727082 functions: 0.3.48 release [skip ci] 0.3.48 2017-08-07 19:04:21 +00:00
Reed Allman
efe9027b8a Merge pull request #204 from fnproject/private-lb
kubernetes: add instructions for private services
2017-08-07 11:54:17 -07:00
CI
0a8ed020b2 fnlb: 0.0.23 release [skip ci] 0.0.23 2017-08-07 18:09:13 +00:00
CI
7afcad9992 fn tool: 0.3.46 release [skip ci] fn-0.3.46 2017-08-07 18:08:16 +00:00
CI
d70f27b870 functions: 0.3.47 release [skip ci] 0.3.47 2017-08-07 18:06:39 +00:00
Reed Allman
10c99abd46 Merge pull request #203 from fnproject/update-swagger
Update swagger
2017-08-07 10:56:41 -07:00
CI
3a38928386 fn tool: 0.3.45 release [skip ci] fn-0.3.45 2017-08-07 17:56:03 +00:00
CI
995619f077 functions: 0.3.46 release [skip ci] 0.3.46 2017-08-07 17:54:26 +00:00
Reed Allman
f7345e8080 Merge pull request #191 from fnproject/fix-memory-limits
fix task memory
2017-08-07 10:44:23 -07:00
Denis Makogon
fcb41c89a7 Update swagger
removing backslash that causes HTTP 301 Redirect

[GIN-debug] redirecting request 301: /v1/apps/testapp/calls/ --> /v1/apps/testapp/calls
2017-08-07 14:08:19 +03:00
CI
15ada7f17f fnlb: 0.0.22 release [skip ci] 0.0.22 2017-08-05 04:49:46 +00:00
CI
064c946c42 fn tool: 0.3.44 release [skip ci] fn-0.3.44 2017-08-05 04:48:49 +00:00
CI
b3b243bb56 functions: 0.3.45 release [skip ci] 0.3.45 2017-08-05 04:47:13 +00:00
Reed Allman
8d526bbeb8 Merge pull request #198 from fnproject/bumpies
update bump script to be slightly less brittle, all perl syntax
2017-08-04 21:31:13 -07:00
Brandon Philips
c4af465ccc kubernetes: add instructions for private services 2017-08-03 18:33:08 -07:00
CI
0322d2623e fnlb: 0.0.21 release [skip ci] 0.0.21 2017-08-03 22:42:43 +00:00
CI
9fae8d6853 fn tool: 0.3.43 release [skip ci] fn-0.3.43 2017-08-03 22:41:41 +00:00
CI
159db07817 functions: 0.3.44 release [skip ci] 0.3.44 2017-08-03 22:40:00 +00:00
Reed Allman
ccea601028 Merge pull request #163 from fnproject/hot-env-changes
change hot containers when route/app vars change
2017-08-03 15:29:41 -07:00
CI
b1f41f60bb fnlb: 0.0.20 release [skip ci] 0.0.20 2017-08-03 21:15:57 +00:00
CI
faac8734a8 fn tool: 0.3.42 release [skip ci] fn-0.3.42 2017-08-03 21:14:59 +00:00
CI
e2bb0b1965 functions: 0.3.43 release [skip ci] 0.3.43 2017-08-03 21:13:23 +00:00
Reed Allman
10e41c331f Merge pull request #190 from fnproject/update-deps
Update CLI deps
2017-08-03 14:04:22 -07:00
Travis Reeder
2d96f8350c Update deps 2017-08-03 13:36:48 -07:00
Denis Makogon
3af069ca5e Addressing comments 2017-08-03 23:29:04 +03:00
Denis Makogon
ab8134cbbb Apply opposite logic call ID CLI flag
use --ignore-call-id flag to mute call ID
 call id now goes to STDERR
2017-08-03 23:29:04 +03:00
Denis Makogon
e4bade376a Adding CLI bool flag --display-call-id
Change affects:
  fn call
  fn routes call
2017-08-03 23:29:04 +03:00
Denis Makogon
6a78a0f477 Addressing comments 2017-08-03 23:29:04 +03:00
Denis Makogon
86b2cc4056 Addressing comments 2017-08-03 23:29:04 +03:00
Denis Makogon
baf9406ad7 Check API errors along with call ID 2017-08-03 23:29:03 +03:00
Denis Makogon
6fcc16fe3b Display call ID for sync/async calls in CLI 2017-08-03 23:29:03 +03:00
CI
e47ab56ff0 fnlb: 0.0.19 release [skip ci] 0.0.19 2017-08-03 18:18:32 +00:00
CI
104924dea5 fn tool: 0.3.41 release [skip ci] fn-0.3.41 2017-08-03 18:17:36 +00:00
CI
7ad81ebeb5 functions: 0.3.42 release [skip ci] 0.3.42 2017-08-03 18:15:58 +00:00
Reed Allman
36af7513ac Merge pull request #175 from fnproject/fn-tests
Tests cli for all quickstart commands
2017-08-03 11:06:35 -07:00
Travis Reeder
95dc8bc4ed docker login earlier 2017-08-03 10:12:29 -07:00
Travis Reeder
8f81ff7b56 Updated circle 2017-08-03 08:09:44 -07:00
Reed Allman
6a7973e6b6 plumb all config fields into task
the mqs are storing a models.Task, which was not incorporating all the fields
that are in a task.Config. I would very much like to merge these two things,
but expect to do this in a future restructuring as both are used widely and
not cordoned off properly (Config has a channel, stdin, stdout, stderr -- and
isn't just a 'config', so to speak, as Task is).

Since a task.Config is what is used to actually run a container, the result of
the aforementioned deficiency was #193 where tasks are improperly configured
and ran (namely, memory wrong).

async tasks can still not be hot, they will be reverted to default format.
would also like to fix this (also part of restructuring). I actually started
doing this, hence the changes to those files (the surface area of the change
is small and discourages improper future use, so I've left what I've done).

this will:

closes #193
closes #195
closes #154

removes many unused fields in models.Task, since we have not implemented
retries. priority & delay are left, even though they are not used either,
the main goal of this is to resolve #193 and both these fields are strongly
plumbed into all the mqs, so punting on those two.
2017-08-03 06:33:30 -07:00
Reed Allman
c0edde7abe update bump script to be slightly less brittle, all perl syntax 2017-08-02 21:16:24 -07:00
Reed Allman
910f6a4b09 fix memory setting in cli, remove MEMORY_MB for now 2017-08-02 20:24:58 -07:00
Reed Allman
3ff28163db fix task memory
prior to this patch we were allowing 256MB for every function run, just
because that was the default for the docker driver and we were not using the
memory field on any given route configuration. this fixes that, now docker
containers will get the correct memory limit passed into the container from
the route. the default is still 128.

there is also an env var now, `MEMORY_MB` that is set on each function call,
see the linked issue below for rationale.

closes #186

ran the given function code from #186, and now i only see allocations up to
32MB before the function is killed. yay.

notes:

there is no max for memory. for open source fn i'm not sure we want to
cap it, really. in the services repo we probably should add a cap before prod.
since we don't know any given fn server's ram, we can't try to make sure the
setting on any given route is something that can even be run.

remove envconfig & bytefmt

this updates the glide.yaml file to remove the unused deps, but trying to
install fresh is broken atm so i couldn't remove from vendor/, going to fix
separately (next update we just won't get these). also changed the skip dir to
be the cli dir now that its name has changed (related to brokenness).

fix how ram slots were being allocated. integer division is significantly
slower than subtraction.
2017-08-02 19:09:16 -07:00