Skip to content

Commit

Permalink
AU: 1 updated - etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Feb 16, 2023
1 parent 132df0e commit 1456c68
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 22 deletions.
2 changes: 1 addition & 1 deletion automatic/etcd/etcd.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"3.1": "3.1.20",
"3.2": "3.2.32",
"3.3": "3.3.27",
"3.4": "3.4.23",
"3.4": "3.4.24",
"3.5": "3.5.7",
"3.6": "3.6.0-alpha0"
}
32 changes: 14 additions & 18 deletions automatic/etcd/etcd.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>etcd</id>
<version>3.5.7</version>
<version>3.4.24</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/etcd</packageSourceUrl>
<owners>chocolatey-community,dgalbraith,Andrei Bejenaru,Robert Labrie</owners>
<title>etcd (Install)</title>
Expand Down Expand Up @@ -45,14 +45,14 @@ Example: `choco install etcd -y --params="-discovery https://discovery.etcd.io/t
* Windows support is limited to 64-bit systems
* Originally packaged by Robert Labrie (https://github.com/robertlabrie)
]]></description>
<releaseNotes>Please check out [CHANGELOG](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md) for a full list of changes. And make sure to read [upgrade guide](https://github.com/etcd-io/website/blob/main/content/en/docs/v3.5/upgrades/upgrade_3_5.md) before upgrading etcd (there may be breaking changes).
<releaseNotes> Please check out [CHANGELOG](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md) for a full list of changes. And make sure to read [upgrade guide](https://github.com/etcd-io/website/blob/main/content/en/docs/v3.4/upgrades/upgrade_3_4.md) before upgrading etcd (there may be breaking changes).

For installation guides, please check out [play.etcd.io](http://play.etcd.io) and [operating etcd](https://github.com/etcd-io/etcd/tree/master/Documentation#operating-etcd-clusters). Latest support status for common architectures and operating systems can be found at [supported platforms](https://github.com/etcd-io/website/blob/main/content/en/docs/v3.5/op-guide/supported-platform.md).
For installation guides, please check out [play.etcd.io](http://play.etcd.io) and [operating etcd](https://github.com/etcd-io/etcd/tree/master/Documentation#operating-etcd-clusters). Latest support status for common architectures and operating systems can be found at [supported platforms](https://github.com/etcd-io/website/blob/main/content/en/docs/v3.4/op-guide/supported-platform.md).

###### Linux

```bash
ETCD_VER=v3.5.7
ETCD_VER=v3.4.24

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
Expand All @@ -68,7 +68,6 @@ rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version
```

```bash
Expand All @@ -83,7 +82,7 @@ rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
###### macOS (Darwin)

```bash
ETCD_VER=v3.5.7
ETCD_VER=v3.4.24

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
Expand All @@ -99,7 +98,6 @@ mv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test &amp;&amp; rm -r

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version
```

###### Docker
Expand All @@ -108,13 +106,13 @@ etcd uses [`gcr.io/etcd-development/etcd`](https://gcr.io/etcd-development/etcd)

```bash
rm -rf /tmp/etcd-data.tmp &amp;&amp; mkdir -p /tmp/etcd-data.tmp &amp;&amp; \
docker rmi gcr.io/etcd-development/etcd:v3.5.7 || true &amp;&amp; \
docker rmi gcr.io/etcd-development/etcd:v3.4.24 || true &amp;&amp; \
docker run \
-p 2379:2379 \
-p 2380:2380 \
--mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
--name etcd-gcr-v3.5.7 \
gcr.io/etcd-development/etcd:v3.5.7 \
--name etcd-gcr-v3.4.24 \
gcr.io/etcd-development/etcd:v3.4.24 \
/usr/local/bin/etcd \
--name s1 \
--data-dir /etcd-data \
Expand All @@ -129,14 +127,12 @@ rm -rf /tmp/etcd-data.tmp &amp;&amp; mkdir -p /tmp/etcd-data.tmp &amp;&amp; \
--logger zap \
--log-outputs stderr

docker exec etcd-gcr-v3.5.7 /bin/sh -c "/usr/local/bin/etcd --version"
docker exec etcd-gcr-v3.5.7 /bin/sh -c "/usr/local/bin/etcdctl version"
docker exec etcd-gcr-v3.5.7 /bin/sh -c "/usr/local/bin/etcdutl version"
docker exec etcd-gcr-v3.5.7 /bin/sh -c "/usr/local/bin/etcdctl endpoint health"
docker exec etcd-gcr-v3.5.7 /bin/sh -c "/usr/local/bin/etcdctl put foo bar"
docker exec etcd-gcr-v3.5.7 /bin/sh -c "/usr/local/bin/etcdctl get foo"
```
</releaseNotes>
docker exec etcd-gcr-v3.4.24 /usr/local/bin/etcd --version
docker exec etcd-gcr-v3.4.24 /usr/local/bin/etcdctl version
docker exec etcd-gcr-v3.4.24 /usr/local/bin/etcdctl endpoint health
docker exec etcd-gcr-v3.4.24 /usr/local/bin/etcdctl put foo bar
docker exec etcd-gcr-v3.4.24 /usr/local/bin/etcdctl get foo
```</releaseNotes>
<dependencies>
<dependency id="nssm" version="2.24.101" />
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions automatic/etcd/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software have been downloaded from the listed download
location on <https://github.com/etcd-io/etcd/releases/tag/v3.5.7>
location on <https://github.com/etcd-io/etcd/releases/tag/v3.4.24>
and can be verified by doing the following:

1. Download the following:
software: <https://github.com/etcd-io/etcd/releases/download/v3.5.7/etcd-v3.5.7-windows-amd64.zip>
software: <https://github.com/etcd-io/etcd/releases/download/v3.4.24/etcd-v3.4.24-windows-amd64.zip>

2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
Expand All @@ -17,6 +17,6 @@ and can be verified by doing the following:
3. The checksums should match the following:

checksum type: sha256
checksum: 1E2F182D0C93E5EF9C0B5EAA62DAFC23EA9584914BE19E00E1385030FFF462BF
checksum: 8D47EE9E1683E1FD8977BAF6A9C67D01CC569B8E2B192F6D33E204E60D2D7875

The file 'LICENSE.txt' has been obtained from <https://github.com/etcd-io/etcd/commit/3381177341c11aa9d89b6172699d64ddc2146a11/LICENSE>

0 comments on commit 1456c68

Please sign in to comment.