Comments (15)
we can have them ready anytime you like, we just need to decide how often to rebuild them and how. If it's manual, we can easily build and push to www.cockroachlabs.com. If it's automated, we may be better off putting them in AWS.
from docs.
Should we distribute i386 and amd64 binaries?
On Mon, Feb 8, 2016 at 2:21 PM, marc [email protected] wrote:
we can have them ready anytime you like, we just need to decide how often
to rebuild them and how. If it's manual, we can easily build and push to
www.cockroachlabs.com. If it's automated, we may be better off putting
them in AWS.—
Reply to this email directly or view it on GitHub
#34 (comment).
from docs.
According to a note in CONTRIBUTING.md, we only support 64-bit builds. I'm not sure what the issue is, but it seems safe to go 64-bit only.
from docs.
Good to know we're ready whenever. @jess-edwards and I are planning to do a soft-release of the docs as early as next week, so can you guys choose a location, push them there, and post links here by Monday or Tuesday?
from docs.
ok, finally getting back to this. I'll be tweaking various S3 paths and naming schemes, so I'll probably be breaking some of my nightly scripts, but here's a proposal for the ultimate goal:
- build linux/osx binaries for every master commit that passes the tests
- build a tarball containing only the binary (eg: expands to cockroach/cockroach.linux.amd64)
- push tarball to S3 bucket: binaries.cockroachdb.com with sha included in the filename
- update a fixed filename in S3 to redirect to the SHA-based name. eg: binaries.cockroachdb.com/cockroach.linux.amd64.tgz redirects to binaries.cockroachdb.com/cockroach.BUILD-SHA.linux.amd64.tgz
- setup S3 bucket binaries.cockroachdb.com with static website hosting (allows redirects to work)
- setup cloudfront to serve binaries.cockroachdb.com using AWS-generated SSL certs. this should make https://binaries.cockroachdb.com/ work properly with a recognized CA.
The download page will simply link to the fixed binary name (the redirect should take care of going to the right one). eg:
- https://binaries.cockroachdb.com/cockroach.linux.amd64.tgz
- https://binaries.cockroachdb.com/cockroach.darwin10.9.amd64.tgz
from docs.
ok, the redirect doesn't work so well with cloudfront. I may have to write to the final filename right away (eg: upload directly to s3://binaries.cockroachdb.com/cockroach.linux-amd64.tgz). The only issue here is what happens when concurrent circle-ci runs step all over each other. S3 will usually drop one of them but can sometimes result in an empty file.
from docs.
@jseldess: the binaries are up and will be refreshed for every commit to master that passes the tests.
The permanent links are:
Linux binary: https://binaries.cockroachdb.com/cockroach.linux-amd64.tgz
OSX binary: https://binaries.cockroachdb.com/cockroach.darwin-10.9-amd64.tgz
from docs.
Excellent. Thanks very much, @mberhault! I'll add those links in today.
from docs.
we'll also need to change the instructions. the downloads tar gzipped tarballs, so people will need to do the following:
- click on the link to download
- extract the tarball:
$ tar xfz cockroach.linux-amd64.tgz
- move to the directory:
$ cd cockroach/
- run the binary:
$ ./cockroach ...
no chmod needed.
from docs.
@mberhault, when I extract the tarball, the directory created is called cockroach
and the binary inside is given the same name as the tarball. It seems unnecessarily complicated to run a binary called ./cockroach.darwin-10.9-amd64 start
.
@bdarnell suggested that we should be doing the opposite: extracting the tarball should create a directory with the same name as the tarball, but the binary in that directory should just be cockroach
. Can you change that behavior?
from docs.
ok. will do.
from docs.
Renamed the binary per suggestions. We now have:
cockroach.darwin-10.9-amd64/cockroach
and:
cockroach.linux-amd64/cockroach
Leaving open since this about docs, not the binaries themselves.
from docs.
oh, and it may take a little while for the new binaries to be effective, cloudfront caching is a little pesky.
from docs.
Thanks, Marc.
from docs.
Resolved with PR #113
from docs.
Related Issues (20)
- Feedback: AS OF SYSTEM TIME does not make relationship clear to enterprise-license-only follower reads
- Feedback: Install CockroachDB on Windows
- v24.1 release notes should mention expected increase in memory usage HOT 1
- Feedback: cockroach start HOT 5
- Feedback: SQL Shell HOT 1
- FOR UPDATE docs reference cluster setting instead of session variable
- security: remove cert-principal-map parameter from client commands HOT 1
- Feedback: Functions and Operators - gen_salt function missing details
- Feedback: Feedback: Functions and Operators - crypt function missing implementation details
- TEST: testing issue
- Feedback: cockroach start - incorrect statement about --join flag
- Feedback: Physical Cluster Replication - wrong cluster specified for pausing or canceling schedule on changefeeds after cutover HOT 7
- Document `SHOW BACKUP CONNECTION <location>`
- Feedback: CockroachDB Cloud Access Management (Authorization) Overview - missing info for Cluster Operator role about controlling network access (such as IP allowlisting)
- Feedback: Production Checklist HOT 2
- Feedback: Troubleshoot Self-Hosted Setup - Replication issues HOT 1
- Shannon testing HOT 2
- Feedback: Use Math Powers to describe INT ranges of values.
- Feedback: Take and Restore Encrypted Backups: needs more details about GCM implementation
- Feedback: Cluster Single Sign-on (SSO) using JSON web tokens (JWTs)
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 docs.