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 Sep 12, 2024
1 parent edcb708 commit 4e95526
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 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.33",
"3.4": "3.4.34",
"3.5": "3.5.16",
"3.6": "3.6.0-alpha0"
}
29 changes: 13 additions & 16 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.16</version>
<version>3.4.34</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.16
ETCD_VER=v3.4.34

# 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.16
ETCD_VER=v3.4.34

# 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.16 || true &amp;&amp; \
docker rmi gcr.io/etcd-development/etcd:v3.4.34 || 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.16 \
gcr.io/etcd-development/etcd:v3.5.16 \
--name etcd-gcr-v3.4.34 \
gcr.io/etcd-development/etcd:v3.4.34 \
/usr/local/bin/etcd \
--name s1 \
--data-dir /etcd-data \
Expand All @@ -129,12 +127,11 @@ 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.16 /usr/local/bin/etcd --version
docker exec etcd-gcr-v3.5.16 /usr/local/bin/etcdctl version
docker exec etcd-gcr-v3.5.16 /usr/local/bin/etcdutl version
docker exec etcd-gcr-v3.5.16 /usr/local/bin/etcdctl endpoint health
docker exec etcd-gcr-v3.5.16 /usr/local/bin/etcdctl put foo bar
docker exec etcd-gcr-v3.5.16 /usr/local/bin/etcdctl get foo
docker exec etcd-gcr-v3.4.34 /usr/local/bin/etcd --version
docker exec etcd-gcr-v3.4.34 /usr/local/bin/etcdctl version
docker exec etcd-gcr-v3.4.34 /usr/local/bin/etcdctl endpoint health
docker exec etcd-gcr-v3.4.34 /usr/local/bin/etcdctl put foo bar
docker exec etcd-gcr-v3.4.34 /usr/local/bin/etcdctl get foo
```</releaseNotes>
<dependencies>
<dependency id="nssm" version="2.24.101" />
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.16>
location on <https://github.com/etcd-io/etcd/releases/tag/v3.4.34>
and can be verified by doing the following:

1. Download the following:
software: <https://github.com/etcd-io/etcd/releases/download/v3.5.16/etcd-v3.5.16-windows-amd64.zip>
software: <https://github.com/etcd-io/etcd/releases/download/v3.4.34/etcd-v3.4.34-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: AED7F7C53577E14D12ADBBDDB1A81FAED2F1FF2EACC0ADE52C093B35EDA7EF38
checksum: 46D7B1701015E487DD31C8DDB2867C1D6299DC6EB6891116698E2F11C088E3B5

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

0 comments on commit 4e95526

Please sign in to comment.