Coder Social home page Coder Social logo

Comments (8)

pwittrock avatar pwittrock commented on July 24, 2024 1

@metmajer That sounds great to me. We are lucky to have you on board.

from apiserver-builder-alpha.

metmajer avatar metmajer commented on July 24, 2024

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.

pwittrock avatar pwittrock commented on July 24, 2024

@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.

metmajer avatar metmajer commented on July 24, 2024

@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.

metmajer avatar metmajer commented on July 24, 2024

Resolved by #150. Feel free to close.

from apiserver-builder-alpha.

pwittrock avatar pwittrock commented on July 24, 2024

Built and uploaded: https://github.com/kubernetes-incubator/apiserver-builder/releases/tag/v0.1-alpha.17

from apiserver-builder-alpha.

pwittrock avatar pwittrock commented on July 24, 2024

@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.

metmajer avatar metmajer commented on July 24, 2024

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)

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.