-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consul: 0.9.3 -> 1.0.6; also upgrade python-consul...
... to a version that can handle Consul >= 1.0. See #35602 (comment) Upgrading consul also requires upgrading the Ruby deps, see #41239 (comment) Also add instructions on how to do that, and a small patch to improve the error message when it is forgotten. I had to manually bump the Ruby `json` dependency from the generated `1.8.2` to `1.8.5` to work around the ‘rb_cFixnum’ undeclared problem as shown on https://community.bitnami.com/t/gem-file-dependencies/50552.
- Loading branch information
Showing
6 changed files
with
62 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Updating consul | ||
|
||
When updating consul, you must also update `consul-ui`'s Ruby dependencies. | ||
|
||
Do so by downloading the source code, `cd ui`, and run | ||
|
||
```bash | ||
cd TEMP_DIR_WITH_CONSUL_SOURCE | ||
cd ui | ||
$(nix-build '<nixpkgs>' -A bundix --no-out-link)/bin/bundix --magic | ||
cp gemset.nix Gemfile Gemfile.lock THIS_DIRECTORY | ||
``` | ||
|
||
(As described in https://nixos.org/nixpkgs/manual/#sec-language-ruby) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,60 @@ | ||
{ | ||
execjs = { | ||
version = "2.3.0"; | ||
source = { | ||
type = "gem"; | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "097v02bhmzc70j7n0yyf8j0z5wms88zcmgpmggby4hnvqxf41y1h"; | ||
type = "gem"; | ||
}; | ||
version = "2.3.0"; | ||
}; | ||
json = { | ||
version = "1.8.2"; | ||
source = { | ||
type = "gem"; | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "0zzvv25vjikavd3b1bp6lvbgj23vv9jvmnl4vpim8pv30z8p6vr5"; | ||
type = "gem"; | ||
}; | ||
version = "1.8.5"; | ||
}; | ||
libv8 = { | ||
version = "3.16.14.11"; | ||
source = { | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "1j5x22v7rqdk1047k0sz4k1xhf6hkdw6h1nl7xsw694hfjdb0vyx"; | ||
type = "gem"; | ||
sha256 = "000vbiy78wk5r1f6p7qncab8ldg7qw5pjz7bchn3lw700gpaacxp"; | ||
}; | ||
version = "3.16.14.15"; | ||
}; | ||
ref = { | ||
version = "1.0.5"; | ||
source = { | ||
type = "gem"; | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "19qgpsfszwc2sfh6wixgky5agn831qq8ap854i1jqqhy1zsci3la"; | ||
type = "gem"; | ||
}; | ||
version = "1.0.5"; | ||
}; | ||
sass = { | ||
version = "3.4.11"; | ||
source = { | ||
type = "gem"; | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "10dncnv7g5v8d1xpw2aaarxjjlm68f7nm02ns2kl8nf3yxi6wzdf"; | ||
type = "gem"; | ||
}; | ||
version = "3.4.11"; | ||
}; | ||
therubyracer = { | ||
version = "0.12.1"; | ||
dependencies = ["libv8" "ref"]; | ||
source = { | ||
type = "gem"; | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "106fqimqyaalh7p6czbl5m2j69z8gv7cm10mjb8bbb2p2vlmqmi6"; | ||
type = "gem"; | ||
}; | ||
dependencies = [ | ||
"libv8" | ||
"ref" | ||
]; | ||
version = "0.12.1"; | ||
}; | ||
uglifier = { | ||
version = "2.7.0"; | ||
dependencies = ["execjs" "json"]; | ||
source = { | ||
type = "gem"; | ||
remotes = ["https://rubygems.org"]; | ||
sha256 = "1x1mnakx086l83a3alj690c6n8kfmb4bk243a6m6yz99s15gbxfq"; | ||
type = "gem"; | ||
}; | ||
dependencies = [ | ||
"execjs" | ||
"json" | ||
]; | ||
version = "2.7.0"; | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters