Coder Social home page Coder Social logo

Comments (8)

garethr avatar garethr commented on May 30, 2024 2

I compiled knctl this morning on Windows and will try it out and see if I hit anything. So far so good. A few notes:

  • The build instructions don't include mention of dep, so if you just run the scripts or follow the README instructions it will fail due to missing dependencies
  • I had to checkout the 0.0.10 tag as trying with master fails to compile due to type issues with the vendored Azure libraries from go-client

I've not had chance to run the e2e tests as they will need some tweaking to be run, eg. in the environment variables with things like the private git repo.

I'll open issues for anything I come across that doesn't work but overall looks good. Thanks.

from knctl.

cppforlife avatar cppforlife commented on May 30, 2024 1

The build instructions don't include mention of dep, so if you just run the scripts or follow the README instructions it will fail due to missing dependencies

shouldnt be necessary to build. all dependencies are vendored in vendor/

 $ cd ~/workspace/

 $ git clone https://github.com/cppforlife/knctl knctl-go/src/github.com/cppforlife/knctl
Cloning into 'knctl-go/src/github.com/cppforlife/knctl'...
remote: Enumerating objects: 1812, done.
remote: Counting objects: 100% (1812/1812), done.
remote: Compressing objects: 100% (1143/1143), done.
remote: Total 6045 (delta 724), reused 1304 (delta 493), pack-reused 4233
Receiving objects: 100% (6045/6045), 7.08 MiB | 3.40 MiB/s, done.
Resolving deltas: 100% (3105/3105), done.
Checking connectivity... done.

 $ cd knctl-go/src/github.com/cppforlife/knctl

 $ export GOPATH=~/workspace/knctl-go/

 $ ./hack/build.sh
+ go fmt ./cmd/... ./pkg/... ./test/...
+ go build ./cmd/...
+ ./knctl version
Client Version: 0.0.10
...

from knctl.

cppforlife avatar cppforlife commented on May 30, 2024

Are there any known issues with Windows support preventing this?

just never tried it on windows. if i find a windows machine ill give it a go next week. if you are able to run integration tests on windows and report back that would be also helpful.

from knctl.

drnic avatar drnic commented on May 30, 2024

Cut Windows CLIs and wait for issues ;)

from knctl.

cppforlife avatar cppforlife commented on May 30, 2024

that i can definitely do next week.

from knctl.

garethr avatar garethr commented on May 30, 2024

I had a few output formatting issues when running on Windows, noting here:

$ knctl basic-auth-secret create ...
?[1mName?[0m  docker-hub
?[1mType?[0m  kubernetes.io/basic-auth
$ knctl service-account create ...
?[1mName?[0m  docker-hub-service-account

from knctl.

cppforlife avatar cppforlife commented on May 30, 2024

@garethr latest release (https://github.com/cppforlife/knctl/releases/tag/v0.1.0) includes windows binary now.

from knctl.

cppforlife avatar cppforlife commented on May 30, 2024

closing this issue, created separate issue for windows colors.

from knctl.

Related Issues (20)

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.