Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade go-sdk to v0.2.7 and vendor deps #982

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

nitishkumar71
Copy link
Member

Description

  • Upgrade go-sdk bump version to v0.27
  • Apply go mod tidy
  • Apply go mod vendor

Motivation and Context

How Has This Been Tested?

All the commands has been tested with local builds for faasd. As faasd does not support annotation and only faas-netes pro can support namespace functionality. We have only validated, if existing functions are working as expected.

  1. namespace create command
faas-cli ns create ns-demo --label demo=true

output

Creating Namespace: ns-demo
Namespace ns-demo Created!
  1. namespace list command
faas-cli ns ls

output

Namespaces:
 - ns-demo
 - openfaas-fn
  1. namespace get command
faas-cli ns get ns-demo

output

Name: ns-demo
Labels:
 demo: true
 openfaas: 1
  1. namespace update command
faas-cli ns update ns-demo --label demo=false
faas-cli ns get ns-demo

output

Updating Namespace: ns-demo
Namespace ns-demo Updated!
Name: ns-demo
Labels:
 demo: false
 openfaas: 1

  1. namespace delete command
faas-cli ns delete ns-demo
faas-cli ns ls

output

Deleting Namespace: ns-demo
Namespace ns-demo Deleted!
Namespaces:
 - openfaas-fn

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Member

@alexellis alexellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@alexellis alexellis merged commit 7934de9 into openfaas:master Oct 2, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bump go-sdk version to v2.7.0
2 participants