这是indexloc提供的服务,不要输入任何密码
Skip to content

Tags: ndsun/faas-cli

Tags

0.7.3

Toggle 0.7.3's commit message
Ensure that we name the copy dest correctly

**What**
- When we iterate through function handler, we need to name the
destination with the file/folder name we are currrently inspecting
- Clean the file path before we give it to CopyFiles

**Why**
- This ensures that we copy the file _into_ the build folder and don't
try to read it ontop of the folder

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>

0.7.2

Toggle 0.7.2's commit message
Allow version command to fail silently

This commit allows version command to fail silently if there is any
error while getting result from `/system/info` endpoint.

Also, it updates some error messages.

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>

0.7.1

Toggle 0.7.1's commit message
Fixes openfaas#518 sending auth secrets on invoke

Auth secrets were being sent since auth was introduced in the
CLI 10 months ago. This is problematic for two reasons:
1) there is no auth enabled on the function endpoints, 2) this
could expose the system authentication secrets to functions
which is undesired.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>

0.7.0

Toggle 0.7.0's commit message
Add build folder to dockerfile when shrinkwrap

With this commit I am adding build folder when we use
--shrinkwrap tag

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>

0.6.20

Toggle 0.6.20's commit message
Add unit tests for generate command

This commit add unit tests for `generate` verb of faas-cli.

This also refactors some of the code for `generate` verb.

Fixes: openfaas#492

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>

0.6.19

Toggle 0.6.19's commit message
Update path for build

Path moved from /root/ to /usr/bin/ for container which is
pushed to the remote registry

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>

0.6.18

Toggle 0.6.18's commit message
Install CLI to /usr/bin

- this allows for mounting of code into the /root/ directory

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>

0.6.17

Toggle 0.6.17's commit message
Rename r/o FS flag in schema

The YAML schema has an incorrect naming for YAML using camelCase,
 this PR updates the naming to "readonly_root_filesystem" which
is more consistent with existing code and YAML naming.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>

0.6.16

Toggle 0.6.16's commit message
Implement Golang template for stack file

Append `latest` tag to all newly created functions. This fixes a bug
where images being pushed without a tag will update all tags of the
image. Now, only the current tag will be pushed. Fix is implemented with
Golang template to allow for greater flexibility.

Fixes: openfaas/faas#779

Signed-off-by: James Smith <jamessmithsmusic@gmail.com>

0.6.15

Toggle 0.6.15's commit message
Fix registry auth for Gitlab subdir images

This commit fixes the getRegistryAuth function so that it works
correctly with images that exist in subdirs on custom docker registries,
for example Gitlab.

Before this change the following image works as expected:

    registry.gitlab.com/johnmccabe/myfunctions

But a imaged nested under that namespace would fail to find any auth
from the docker cached creds, for example this would fail:

    registry.gitlab.com/johnmccabe/myfunctions/coolfn

This fix address the underlying issue in the registry domain extraction
so that both cases now work, I've tested with private registries on
both Gitlab and Docker Hub successfully.

Have also added a test to catch the nested subdir image case.

Signed-off-by: John McCabe <john@johnmccabe.net>