2020-11-21 10:43:22 UTC - Rob Allen: Morning all
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605955402301200
----
2020-11-21 10:43:41 UTC - Rob Allen: Which version of Java do I need to run 
`gradlew` ?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605955421301700
----
2020-11-21 10:49:53 UTC - Rob Allen: nm - worked out how to use jenv
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605955793302000
----
2020-11-21 11:55:37 UTC - Rob Allen: ok - next problem. How do I get a local 
built runtime to be used by the OW installed using `make quick-start` ?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605959737302500?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 12:03:46 UTC - Rob Allen: `wsk action update myAction myAction.php 
--docker $user_prefix/action-php-v7.4` seems to require me to push and pull 
from docker. I have `whisk/action-php-v7.4` already, so it’d be handy if my 
local OW just used that one.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605960226303400?thread_ts=1605960226.303400&cid=C3TPCAQG1
----
2020-11-21 13:53:26 UTC - Rodric Rabbah: Did you figure this out?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605966806303700?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 13:54:10 UTC - Rodric Rabbah: There’s a flag to skip the docker 
pull. I don’t recall the name offhand but can look it up shortly. 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605966850304900?thread_ts=1605960226.303400&cid=C3TPCAQG1
----
2020-11-21 14:01:47 UTC - Rodric Rabbah: 
<https://github.com/apache/openwhisk/blob/4babe39fd2dbcc900ccedb5a5e9561d301361205/ansible/group_vars/all#L66|https://github.com/apache/openwhisk/blob/4babe39fd2dbcc900ccedb5a5e9561d301361205/ansible/group_vars/all#L66>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605967307305200?thread_ts=1605960226.303400&cid=C3TPCAQG1
----
2020-11-21 14:06:17 UTC - Rob Allen: Nope
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605967577305400?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 14:06:32 UTC - Rob Allen: I’m a little stuck
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605967592305600?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 14:13:40 UTC - Rodric Rabbah: i _think_ in the docker-compose file, 
under the `controller` stanza, add
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605968020306200?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 14:14:03 UTC - Rob Allen: afk for half an hour ish - will try when 
I’m back
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605968043306400?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 14:14:14 UTC - Rodric Rabbah: 
```CONFIG_runtimes_bypass_pull_for_local_images: true```

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605968054306600?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:00:23 UTC - Rob Allen: It’s a shame I can’t talk it into using 
`whisk/` for runtimes and `openwhisk` for core containers 
:slightly_smiling_face:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970823306800?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:00:51 UTC - Rodric Rabbah: you should be able to - i just tried 
my suggestion it didn’t work
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970851307100?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:01:02 UTC - Rodric Rabbah: but looking at the code, the way the 
bypass works is based on a “specific” prefix
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970862307300?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:01:18 UTC - Rodric Rabbah: give me a few more minutes, i forgot 
how to do this :smile:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970878307600?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:01:32 UTC - Rob Allen: I tried editing `RUNTIMES_MANIFEST` in 
docker-whisk-controller.env and that didn’t work either
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970892307800?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:01:37 UTC - Rodric Rabbah: btw are you committed to use compose 
vs the standalone openwhisk? the latter is more convenient
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970897308000?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:02:35 UTC - Rob Allen: I can try the standalone one. I just want 
an easy to get a working OW with API-Gateway that uses my self-compiled runtimes
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970955308300?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:03:16 UTC - Rob Allen: The combination of 
<https://github.com/apache/openwhisk/blob/master/tools/macos/README.md> &amp; 
<https://github.com/apache/openwhisk/blob/master/ansible/README.md> doesn’t 
work for me on macOS Catalina
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605970996308500?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:03:36 UTC - Rob Allen: `make quick-start` has the benefit of 
working :slightly_smiling_face:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971016308700?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:03:46 UTC - Rodric Rabbah: ok ill just work on that one then
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971026308900?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:05:05 UTC - Rodric Rabbah: ```#   
runtimes_bypass_pull_for_local_images: optional, if true, allow images with a 
prefix that matches
#       {{ runtimes_local_image_prefix }} to skip docker pull in invoker even 
if the image is not part of the blackbox set```
i just dont remember how to get those passed to the invoker :face_palm:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971105309100?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:05:08 UTC - Rob Allen: I realise that working on runtimes and not 
on core is unusual, but an easy way to do it would be handy for anyone who 
wanted to extend one of the current runtimes for say tensorflow without having 
to keep pushing to docker each time when testing
nods : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971108309300?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:11:34 UTC - Rodric Rabbah: both those readmes use ansible
curious if this works for you if you get a chance
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971494309600?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:11:34 UTC - Rodric Rabbah: 
<https://github.com/apache/openwhisk#quick-start>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971494309800?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:12:00 UTC - Rob Allen: will try
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971520310000?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:12:05 UTC - Rodric Rabbah: im tinkering with env vars in compose, 
i havent got it yet
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971525310200?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:12:09 UTC - Rodric Rabbah: smells like a blog post
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971529310400?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:12:44 UTC - Rob Allen: I think the problem with ansible is 
related to OW using a really old version
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971564310600?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:14:45 UTC - Rodric Rabbah: i use 2.7.7 - will try 2.9 which looks 
like latest
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971685310800?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:15:02 UTC - Rob Allen: The mac instructions install 2.5
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971702311000?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:16:03 UTC - Rodric Rabbah: im on catalina - ill try 2.9
worth updating those steps they’re quite old
though i have favored the standalone it’s much easier, just need docker or java 
+ docker
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971763311200?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:16:37 UTC - Rodric Rabbah: compose takes so long to come up 
:sweat_smile:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971797311500?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:17:03 UTC - Rob Allen: How much of this is paralellised?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605971823311700?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:20:58 UTC - Rob Allen: which java do I need for standalone?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972058311900?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:21:17 UTC - Rodric Rabbah: ```&gt; java --version
java 10.0.1 2018-04-17```
is what im running
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972077312100?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:29:06 UTC - Rob Allen: I have:
```java -version
openjdk version "1.8.0_275"```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972546313000?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:30:51 UTC - Rodric Rabbah: @Rob Allen i can confirm that with 
stanalone openwhisk, i can bypass the docker pull by providing a custom 
`application.conf` file
```include classpath("standalone.conf")

whisk {
  runtimes {
    bypass-pull-for-local-images: true
  }
}```

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972651313300
----
2020-11-21 15:31:00 UTC - Rodric Rabbah: java 8 may be ok - i can try i have 
both
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972660313400?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:31:13 UTC - Rob Allen: I have a playground
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972673313600?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:31:19 UTC - Rodric Rabbah: woot you’re in business
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972679313800?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:31:28 UTC - Rob Allen: The gradle command hasn’t ended yet though?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972688314000?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:31:38 UTC - Rob Allen: `96% EXECUTING`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972698314200?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:31:45 UTC - Rodric Rabbah: yep will stay there
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972705314400?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:31:50 UTC - Rodric Rabbah: it’s the output of the server
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972710314600?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:31:59 UTC - Rodric Rabbah: ```&gt; cat myapplication.conf
include classpath("standalone.conf")

whisk {
  runtimes {
    bypass-pull-for-local-images: true
  }
}
&gt; java -jar bin/openwhisk-standalone.jar -c myapplication.conf ```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972719315000
----
2020-11-21 15:32:02 UTC - Rodric Rabbah: then i ran
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972722315200
----
2020-11-21 15:32:12 UTC - Rodric Rabbah: ```wsk action update myAction 
myAction.php --docker whisk/foo ; wsk action invoke myAction -r```

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972732315500
----
2020-11-21 15:32:21 UTC - Rob Allen: ah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972741315700?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 15:32:28 UTC - Rodric Rabbah: where i tagged the ow php image as foo
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972748316000
----
2020-11-21 15:35:10 UTC - Rob Allen: ah nice
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972910316300
----
2020-11-21 15:35:27 UTC - Rob Allen: where does that go?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972927316700
----
2020-11-21 15:36:02 UTC - Rob Allen: mind you, with standalone, I think I can 
just modify runtimes.json
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605972962317300
----
2020-11-21 15:43:04 UTC - Rodric Rabbah: you could that
the `myapplication.conf` is in my current dir `./` (i was working out of the 
openwhisk dir)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605973384317900
----
2020-11-21 15:43:32 UTC - Rodric Rabbah: stepping away for a few mins
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605973412318200?thread_ts=1605959737.302500&cid=C3TPCAQG1
----
2020-11-21 16:03:51 UTC - Rob Allen: okay
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605974631318600
----
2020-11-21 16:05:37 UTC - Rob Allen: so, if I created my own `runtimes.json` 
with the php section containing:

```            {
                "kind": "php:7.4",
                "default": true,
                "deprecated": false,
                "image": {
                    "prefix": "whisk",
                    "name": "action-php-v7.4",
                    "tag": "latest"
                },
                "attached": {
                    "attachmentName": "codefile",
                    "attachmentType": "text/plain"
                }
            }```
Then, it will run my locally created runtime-php via `./gradlew 
core:php7.4Action:distDocker`
+1 : Rodric Rabbah
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605974737319800
----
2020-11-21 17:07:07 UTC - Rob Allen: How does this function playground work?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978427320300
----
2020-11-21 17:07:53 UTC - Rob Allen: I have `wsk activation poll` running in a 
terminal, but when I run in the Function Playground, there’s not a new 
activation…
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978473321200
----
2020-11-21 17:08:39 UTC - Rob Allen: or conversely, where do I go to see the 
activation output for Function Playgrounds?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978519321800
----
2020-11-21 17:11:01 UTC - Rodric Rabbah: the playground actions are in the 
whisk.system namespace
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978661322300
----
2020-11-21 17:11:04 UTC - Rodric Rabbah: so try it this way
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978664322500
----
2020-11-21 17:11:07 UTC - Rodric Rabbah: ```wsk activation poll -u 
789c46b1-71f6-4ed5-8c54-816aa4f8c502:abczO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP```

https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978667322800
----
2020-11-21 17:11:52 UTC - Rob Allen: ah!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978712323100
----
2020-11-21 17:12:44 UTC - Rob Allen: Magic. Thanks.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1605978764323600
----

Reply via email to