Comments (10)
The binary is already compiled for windows with appyvor, but looks like it didn't not trigger latest releases).
What we weere missing is the powershell script.
related issue: app-registry/appr-helm-plugin#14
from appr.
Could you submit your Powershell script ?
from appr.
We've implemented parts of the script to get it to work on our machines. Unfortunately we skipped the "download"part. But we'll add this very soon (today or tomorrow) and I'll post the whole script. For now, that's the part that just invokes the appr.exe
function Appr_Helm($helm_args){
Invoke-Expression "$Env:HELM_PLUGIN_DIR/appr.exe $helm_args --media-type=helm"
}
if(!(Test-Path $Env:HELM_PLUGIN_DIR)){
$Env:HELM_PLUGIN_DIR="$Env:HOME/.helm/plugins/registry"
}
switch ($args[0]) {
"install" { Invoke-Expression "$Env:HELM_PLUGIN_DIR/appr.exe helm install $args" }
"upgrade" { Invoke-Expression "$Env:HELM_PLUGIN_DIR/appr.exe helm dep $args" }
"dep" { Invoke-Expression "$Env:HELM_PLUGIN_DIR/appr.exe helm dep $args" }
"pull" { Invoke-Expression "$Env:HELM_PLUGIN_DIR/appr.exe pull --media-type helm $args" }
{ @("push", "list", "show", "delete-package", "inspect") -contains $_ } { Appr_Helm $args }
default { Invoke-Expression "$Env:HELM_PLUGIN_DIR/appr.exe $args"}
}
from appr.
@sbueringer would you be able to help me building the branch #50 on windows ?
It has c dependency (to compile) and I keep failing to find the configuration for build it on https://www.appveyor.com/
from appr.
@ant31 I'll try later today
from appr.
@ant31. I didn't got it to work.
I tried it directly on Windows .appveyor.yaml and in Cygwin .appveyor.cygwin.yaml. In both cases it came down to compilation errors in jsonnet (log).
Maybe it's related to this issue in jsonnet.
from appr.
@sbueringer yes it's related to jsonnet, I'm working on it.
I removed this dependency for the windows build for now.
from appr.
@sbueringer Are you still using Appr? if yes, I've released a 'windows' build in https://github.com/app-registry/appr-helm-plugin/releases/tag/v0.7.0, using your powershell script (with few modifications to reflect latest changes).
Would you be able to validate that is working ?
from appr.
@ant31
I tested the script, made some fixes and it now works (at least on my machine :)). I've opened an PR (app-registry/appr-helm-plugin#43).
The packaged release should also be verified again, as I just checked out the repository, changed the plugin.yaml and fixed the .ps1 script.
from appr.
@ant31 Could you please create a new release (of appr-helm-plugin) with the merged branch. This would make it easier for me to recommend the usage of the appr-helm-plugin on Windows to my colleagues :)
from appr.
Related Issues (20)
- `helm registry upgrade` ignoring --kube-context parameter HOT 5
- app-registry plugin for Helm 3 HOT 12
- OSX install guide in README doesn't work
- Remove bash/powershell script for plugins
- 0.7.2 release for OS X unrunnable HOT 2
- Failures in helm execution are not reflected in appr exit code
- 0.7.3 alpine release HOT 1
- Modify CLI to list namespaces
- not able to install helm plugin after 0.7.0 release HOT 1
- helm registry install doesn't propagate errors from Kubernetes HOT 2
- Ignore files processing doesn't follow established ignore rules HOT 4
- BUG: appr barfs with error when chart.yaml is not found [UnboundLocalError: local variable 'mfile' referenced before assignment] HOT 1
- Wrong version of helm is called from appr
- alias in requirements.yaml ignored
- Possible Regex mismatch HOT 1
- Support Helm index.yaml files
- Private Packages Support
- Support `helm plugin install` command HOT 1
- The URL to resolve current APPR tag is invalid HOT 1
- Error: plugin "registry" exited with error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appr.