Comments (9)
https://docs.travis-ci.com/user/deployment/releases/ documents how to release to Github using Travis. I might give it a try in my fork.
from docker-machine-driver-hetzner.
Well, I cannot look into it till thursday, so if you could have a look, @monochromata, it'd be much appreciated
from docker-machine-driver-hetzner.
@monochromata maybe some tools / commands, which could help you:
mkdir releases
- https://github.com/mitchellh/gox =>
gox -output="releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}"
(creates the binary files of all architectures) find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvzf {}.tar.gz {} \;
(creates tar.gz archives of the gox output binary folders and strips the first directory)- add all
releases/*tar.gz
to the GitHub release
from docker-machine-driver-hetzner.
Ok, thanks to Max' help, I created a first release with binaries from Travis: https://github.com/monochromata/docker-machine-driver-hetzner/releases/tag/0.2.3 . The comments in .travis.yml explain how to modify the .travis.yml file to work in this repo when merged.
There are a number of open points left:
- Add version number (from tag) to tar.gz file names
- shorten the path in the tarball (currently: releases/docker-machine-driver-hetzner__/docker-machine-driver-hetzner)
- I didn't test the tarball yet
- The README needs to be adjusted
from docker-machine-driver-hetzner.
Hi,
That's super cool :)
I've created PRs for adding the version number to the tar archive and stripping the path away in the tarball. When you create a test release, I can test it with Rancher to check if it works fine.
Tomorrow I will also add some documentation to the readme.
Best regards
Max
from docker-machine-driver-hetzner.
Great: https://github.com/monochromata/docker-machine-driver-hetzner/releases/tag/0.2.4
- I now tried the linux/amd64 binary and was able to use it to create a new server :-)
- The tarball is fine except it now contains a directory called "." I didn't find a quick work-around for that.
from docker-machine-driver-hetzner.
Both should be done with the PRs in your repository. :)
from docker-machine-driver-hetzner.
Ok, it's done so far. The tar command is a bit ugly now (it outputs error messages because I added an extra docker-machine-driver-hetzner.exe which is missing for Unix builds, while docker-machine-driver-hetzner is missing for the Windows builds), but it works :-).
Thanks again, Max!
from docker-machine-driver-hetzner.
@monochromata Thanks to you too, it was a lot of fun. So should open source development be in 2018 👍
from docker-machine-driver-hetzner.
Related Issues (20)
- wrong naming of wait-on-error HOT 4
- make driver rancher compatible HOT 1
- image has incompatible architecture HOT 2
- Support int64 IDs HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 7
- unknown location / unable to find ssh-keys HOT 2
- Provide fallback server type HOT 3
- Hetzner: Cloud API Change: GET /actions endpoint HOT 2
- Error creating machine HOT 13
- Lots of machines in cloud but only a few in docker-machine HOT 3
- Rancher - error scaling up servers HOT 7
- Rancher - VMs are not removed from Hetzner, when got storage
- Rancher - It is not possible to create Node/Clusters using RKE2/K3s, only RKE1 is available HOT 7
- Wait on srv.NextActions after creating server HOT 3
- Apple M3 Max HOT 1
- Fleeting plugin for Hetzner HOT 3
- Problem with Rancher when scaling up HOT 2
- No UI in Rancher after 3.8.1 HOT 3
- Hetzer debian/ubuntu provisioning fails HOT 4
- Suggestion: `--hetzner-user-data-from-file` could be string instead of boolean 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 docker-machine-driver-hetzner.