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: Install CockroachDB on Windows
- Feedback: CREATE SCHEDULE FOR CHANGEFEED
- Feedback: Batch Delete Expired Data with Row-Level TTL - missing new parameter ttl_select_rate_limit in 23.2
- "Detect suboptimal and regressed plans" SQL is no longer valid in 23.2 HOT 1
- release note about sql.txn.upgraded_iso_level.count metric HOT 2
- update read committed docs around handling retries HOT 6
- alter column/PK data types says it's in preview? HOT 2
- Feedback: Read Committed Transactions HOT 1
- add guidance on using correct stats when tuning queries with EXPLAIN
- Feedback: GRANT/REVOKE docs incorrectly claim that we can grant/revoke usage on functions HOT 1
- Feedback: Single Sign-on (SSO) for DB Console
- Feedback: Cluster Single Sign-on (SSO) using JSON web tokens (JWTs) HOT 1
- Feedback: Transaction Layer HOT 1
- Feedback: BYTES example output has changed.
- More updates to TLS cipher list
- Feedback: Deploy CockroachDB On-Premises HOT 3
- Feedback: Session Variables - does not mention disable_changefeed_replication HOT 3
- Feedback: Cluster Single Sign-on (SSO) using JSON web tokens (JWTs)
- Feedback: CREATE USER
- import into got error: parse as TIMESTAMPTZ: parsing as type timestamp: could not parse "NULL"
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.