Comments (8)
@metmajer That sounds great to me. We are lucky to have you on board.
from apiserver-builder-alpha.
Creating a .deb is one thing, but what are your plans with regards to distribution? Simplest solution would be to include the creation of .deb in our Makefile and append it as binary attachment to a GitHub release. What's your opinion, @pwittrock?
from apiserver-builder-alpha.
@metmajer I actually don't have much background in this area at all and just thought it would be a useful thing. Do this make sense to do over just distributing the binaries?
from apiserver-builder-alpha.
@pwittrock I think it is useful and I'd suggest going with the simple solution. I just wasn't sure how the the kubernetes-incubator organization was set up and if they probably already have a deb repo or not. So, I'd suggest to integrate a build target in the project's Makefile that creates a .deb artefact in the project's ./bin
folder then.
from apiserver-builder-alpha.
Resolved by #150. Feel free to close.
from apiserver-builder-alpha.
Built and uploaded: https://github.com/kubernetes-incubator/apiserver-builder/releases/tag/v0.1-alpha.17
from apiserver-builder-alpha.
@metmajer Do you have instructions for how one could use the .deb with apt install apiserver-builder
apt update apiserver-builder
?
from apiserver-builder-alpha.
Here's how it works:
$ wget https://github.com/kubernetes-incubator/apiserver-builder/releases/download/v0.1-alpha.17/apiserver-builder-0.1-alpha.17-amd64.deb
$ sudo apt install ./apiserver-builder-0.1-alpha.17-amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'apiserver-builder' instead of './apiserver-builder-0.1-alpha.17-amd64.deb'
The following NEW packages will be installed:
apiserver-builder
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/41.4 MB of archives.
After this operation, 93.7 MB of additional disk space will be used.
Get:1 /home/apiserver-builder-0.1-alpha.17-amd64.deb apiserver-builder amd64 0.1-alpha.17 [41.4 MB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package apiserver-builder.
(Reading database ... 5099 files and directories currently installed.)
Preparing to unpack .../apiserver-builder-0.1-alpha.17-amd64.deb ...
Unpacking apiserver-builder (0.1-alpha.17) ...
Setting up apiserver-builder (0.1-alpha.17) ...
$ ls -la /usr/local/apiserver-builder/bin
total 91536
drwxrwxr-x 2 root root 4096 Sep 25 06:45 .
drwxrwxr-x 3 root root 4096 Sep 25 06:45 ..
-r-xr-xr-x 1 root root 7850864 Jan 1 1970 apiregister-gen
-r-xr-xr-x 1 root root 5757207 Jan 1 1970 apiserver-boot
-r-xr-xr-x 1 root root 7081889 Jan 1 1970 client-gen
-r-xr-xr-x 1 root root 6797345 Jan 1 1970 conversion-gen
-r-xr-xr-x 1 root root 6758779 Jan 1 1970 deepcopy-gen
-r-xr-xr-x 1 root root 6728969 Jan 1 1970 defaulter-gen
-r-xr-xr-x 1 root root 10004733 Jan 1 1970 gen-apidocs
-r-xr-xr-x 1 root root 16857263 Jan 1 1970 glide.tar.gz
-r-xr-xr-x 1 root root 6879175 Jan 1 1970 informer-gen
-r-xr-xr-x 1 root root 6684669 Jan 1 1970 lister-gen
-r-xr-xr-x 1 root root 12305818 Jan 1 1970 openapi-gen
An apt update
would only update package information for those repos listed in /etc/apt/sources.list
. An apt upgrade
would then upgrade any previously installed packages if a newer version has been found. This only works if we set up our own apt repo.
For now, users would need to download and install a .deb
via sudo apt install ./$name.deb
. This also works for upgrading to newer versions (the existing installation will simply get overwritten).
from apiserver-builder-alpha.
Related Issues (20)
- [build fail] build executables fail due to unknown controller manager HOT 4
- support for dynamic type registration HOT 4
- Any support plan for OS=darwin && ARCH=arm64? HOT 4
- no problem
- apiserver-boot does not call code generator automatically? HOT 1
- Project no longer builds based on install instructions HOT 5
- How to make the addon apiserver authentication and authonrization in local HOT 4
- `apiserver-boot build executables` didn't call "make generate" in v2.0.0-beta.0 release on Mac HOT 4
- connect: connection refused HOT 1
- apiserver-boot must be installed using a release tar.gz downloaded from the git repo. HOT 4
- unknown option -addext HOT 5
- How to generate Java/C client code HOT 4
- v1.23.0 can not build generate client sdk HOT 6
- Why build docs is not functionally available? HOT 4
- How to pass queryParameter for ArbitrarySubResource HOT 4
- failed to install through "go install" HOT 5
- > example/podexec failed HOT 4
- Error when using ConnectorSubResource: (missing method Destroy) HOT 5
- Where is the unversioned API
- apiserver-boot 在windows环境下的gitbash执行报错 GOCACHE is not defined and %LocalAppData% is not defined HOT 4
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 apiserver-builder-alpha.