oh, one thing worth mentioning: when testing on electron, on linux, i have
to use an http keep-alive http agent when talking to the standalone. this
has been a perennial problem with electron/linux versus openwhisk (i still
have no idea why); but the standalone jar made the problem considerably
worse. i don't know whether this is an openwhisk bug or a linux bug or an
electron bug, but something breaks if electron+linux makes too many
connections to openwhisk.

On Mon, Jun 24, 2019 at 8:31 AM Nick Mitchell <moose...@gmail.com> wrote:

> it's been working well for our CI/CD tests. standalone openwhisk, combined
> with microk8s, are a perfect combination for test pipelines against this
> kind of infrastructure.
>
> thanks!!
>
> On Mon, Jun 24, 2019 at 6:08 AM Chetan Mehrotra <chetan.mehro...@gmail.com>
> wrote:
>
>> Hi Team,
>>
>> At this stage the OpenWhisk Standalone jar works fine. So would like
>> to get it tried out in real world and for that need some volunteers!
>>
>> You can follow the steps at
>> https://github.com/chetanmeh/incubator-openwhisk/releases/tag/v0.10
>> and download the jar and try out a hello world or better some complex
>> scenarios.
>>
>> In brief following steps would be needed to run this locally on your
>> systems.
>>
>> $ wget
>> https://github.com/chetanmeh/incubator-openwhisk/releases/download/v0.10/openwhisk-standalone.jar
>> $ java -jar openwhisk-standalone.jar
>> $ wsk property set --apihost 'http://localhost:3233' --auth
>>
>> '23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP'
>>
>> Let me know your experience. If you face any issue or have some
>> feedback then please share that on this thread or at [1]. Also check
>> the Known Issues section at [2]
>>
>> Chetan Mehrotra
>> [1] https://github.com/apache/incubator-openwhisk/pull/4516
>> [2] https://github.com/chetanmeh/incubator-openwhisk/releases/tag/v0.10
>>
>> On Fri, Jun 21, 2019 at 8:00 PM Chetan Mehrotra
>> <chetan.mehro...@gmail.com> wrote:
>> >
>> > Hi Nick,
>> >
>> > > we have the need to create namespaces/authkeys
>> >
>> > I have added an initial readme with steps on how to register custom
>> > namespace at [1]. Can you give it a try and let us know if it meet
>> > your requirements. Otherwise we can look into support a minimal REST
>> > api to add user in standalone case
>> >
>> > Chetan Mehrotra
>> > [1]
>> https://github.com/chetanmeh/incubator-openwhisk/blob/openwhisk-standalone/core/standalone/README.md#adding-custom-namespaces
>> >
>> > On Fri, Jun 21, 2019 at 5:36 PM Nick Mitchell <moose...@gmail.com>
>> wrote:
>> > >
>> > > we have the need to create namespaces/authkeys (so that we can run
>> tests in
>> > > parallel); is this supported by the current build env? or would we
>> have to
>> > > launch a separate openwhisk process for each tenant?
>> > >
>> > > On Fri, Jun 21, 2019 at 8:03 AM Carlos Santana <csantan...@gmail.com>
>> wrote:
>> > >
>> > > > Chetan thanks for thinking on Windows users +1
>> > > >
>> > > > Just curious why the jar can’t be build in Windows can you log an
>> issue
>> > > > for this?
>> > > >
>> > > > My 2 cents for Windows or Mac I think the best way to build the jar
>> would
>> > > > be inside a docker container. A one liner with a single command
>> should be
>> > > > able to produce the jar on a local workstation or devops pipeline.
>> > > >
>> > > >
>> > > > - Carlos Santana
>> > > > @csantanapr
>> > > >
>> > > > > On Jun 21, 2019, at 7:45 AM, Chetan Mehrotra <
>> chetan.mehro...@gmail.com>
>> > > > wrote:
>> > > > >
>> > > > > Just to share some more progress. With runnable jar its now
>> possible
>> > > > > to run OpenWhisk standalone even on Windows and execute basic
>> actions.
>> > > > > Tested it with Docker on Windows 2.0.0.3 on Windows 10
>> > > > >
>> > > > > Note you would probably not be able to build the project on
>> windows.
>> > > > > But copying the produced jar would let you run it on Windows.
>> > > > >
>> > > > > Chetan Mehrotra
>> > > > >
>> > > > > On Fri, Jun 21, 2019 at 5:13 PM Chetan Mehrotra
>> > > > > <chetan.mehro...@gmail.com> wrote:
>> > > > >>
>> > > > >> Hi Nick,
>> > > > >>
>> > > > >> For now just building the PR branch and running following command
>> > > > >> should get you going
>> > > > >>
>> > > > >> java -jar openwhisk-standalone-1.0.0-SNAPSHOT.jar
>> > > > >>
>> > > > >> You can use the default guest and whisk.system credentials to
>> interact
>> > > > >> with it. I am in the process of writing a readme for various
>> options
>> > > > >> exposed. Hope to get it done by Monday
>> > > > >>
>> > > > >> Chetan Mehrotra
>> > > > >>
>> > > > >>> On Fri, Jun 21, 2019 at 4:57 PM Nick Mitchell <
>> moose...@gmail.com>
>> > > > wrote:
>> > > > >>>
>> > > > >>> thanks chetan for doing this!
>> > > > >>>
>> > > > >>> could you provide some example startup sequences, e.g. with
>> sample
>> > > > configs?
>> > > > >>> i'm willing to try this out for our CI/CD pipeline -- i'm sick
>> of 1)
>> > > > >>> waiting 5-7 minutes for openwhisk to start up; and b) fighting
>> ansible
>> > > > >>> versus xenial :)
>> > > > >>>
>> > > > >>> @starpit
>> > > > >>>
>> > > > >>> On Fri, Jun 21, 2019 at 12:44 AM Chetan Mehrotra <
>> > > > chetan.mehro...@gmail.com>
>> > > > >>> wrote:
>> > > > >>>
>> > > > >>>>> What's the performance like on startup time
>> > > > >>>>
>> > > > >>>> It starts in < 5 secs.
>> > > > >>>>
>> > > > >>>> So far no major blocking issue apart from fetching docker logs
>> on Mac.
>> > > > >>>> Current approach of directly reading the log json does not
>> work. So
>> > > > >>>> need to have a mac version which uses `docker logs` command to
>> > > > >>>> somewhat handle such a case.
>> > > > >>>>
>> > > > >>>> Chetan Mehrotra
>> > > > >>>>
>> > > > >>>>> On Thu, Jun 20, 2019 at 9:50 PM James Thomas <
>> jthomas...@gmail.com>
>> > > > wrote:
>> > > > >>>>>
>> > > > >>>>> That is mind-blowingly cool!
>> > > > >>>>>
>> > > > >>>>> What's the performance like on startup time?
>> > > > >>>>>
>> > > > >>>>> On Thu, 20 Jun 2019 at 06:14, Carlos Santana <
>> csantan...@gmail.com>
>> > > > >>>> wrote:
>> > > > >>>>>>
>> > > > >>>>>> Genius!
>> > > > >>>>>> https://www.adminsub.net/tcp-udp-port-finder/whisker
>> > > > >>>>>>
>> > > > >>>>>>
>> > > > >>>>>> - Carlos Santana
>> > > > >>>>>> @csantanapr
>> > > > >>>>>>
>> > > > >>>>>>> On Jun 19, 2019, at 12:30 PM, David P Grove <
>> gro...@us.ibm.com>
>> > > > >>>> wrote:
>> > > > >>>>>>>
>> > > > >>>>>>> WhiskerControl
>> > > > >>>>>
>> > > > >>>>>
>> > > > >>>>>
>> > > > >>>>> --
>> > > > >>>>> Regards,
>> > > > >>>>> James Thomas
>> > > > >>>>
>> > > >
>>
>

Reply via email to