Git Product home page Git Product logo

classic-watchdog's People

Contributors

alexellis avatar hilariocoelho avatar techknowlogick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

classic-watchdog's Issues

[Request] Darwin docker image in registry

Expected Behaviour

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Docker version docker version (e.g. Docker 17.0.05 ):

  • Are you using Docker Swarm or Kubernetes (FaaS-netes)?

  • Operating System and version (e.g. Linux, Windows, MacOS):

  • Link to your project or a code example to reproduce issue:

Can we please have Darwin/arm64 image as well as the arm64 image currently provided doesn't work on M1 Silicon and gives exec format error?

2023-11-15 at 02 28 44

stdin is passed incorrectly

Steps to Reproduce (for bugs)

Pull python3-debian template from store. Replace index.py with

from pathlib import Path
from zipfile import is_zipfile

if __name__ == "__main__":
    print(is_zipfile(Path('/dev/stdin')))

Create a ZIP file:

echo "Hello World" > hello.txt
zip hello.zip hello.txt

A direct call without Watchdog should look like this

$ python index.py < hello.zip
True

Now deploy a function is-zip with the template (uses fwatchdog to call python3 index.py).

Expected Behaviour

$ faas-cli invoke is-zip < hello.zip
True

Current Behaviour

$ faas-cli invoke is-zip < hello.zip
False

Context

Related to openfaas/templates#205

Your Environment

  • Docker version: 25.0.3

  • Kubernetes

  • Operating System and version: MacOS 14.3.1 (23D60)

$ faas-cli version
  ___                   _____           ____
 / _ \ _ __   ___ _ __ |  ___|_ _  __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) |  __/ | | |  _| (_| | (_| |___) |
 \___/| .__/ \___|_| |_|_|  \__,_|\__,_|____/
      |_|

CLI:
 commit:  a3e72b5881c4efcc7a366a2e8dc384399c807dfc
 version: 0.16.23

Gateway
 uri:     http://127.0.0.1:8080
 version: 0.27.5
 sha:     5c13f1f01c6a9f596857d81c889d77bd04fbc5c1


Provider
 name:          faas-netes-ce
 orchestration: kubernetes
 version:       0.18.1
 sha:           e35f8441df8355654fcb56eab55d4575aabcdcfd

Template the owner/repo name in the release GitHub Action

Task

Template the owner/repo name in the release GitHub Action

Also update to use Go 1.15

Where

https://github.com/openfaas/classic-watchdog/blob/master/.github/workflows/publish.yaml#L46

How

This is a mechanism that @utsavanand2 showed the community, which I've used in a test repo here

https://github.com/alexellis/faasd-example/blob/master/.github/workflows/build.yml#L27

Why?

To enable contributors to fork and test changes in their own accounts.

Suggestion by @LucasRoesler

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.