From cee4ba79cc8af796c3cce8c0cc4695cd6c0fc3c4 Mon Sep 17 00:00:00 2001 From: Chocolatey Community Date: Fri, 16 Dec 2022 17:58:23 +0000 Subject: [PATCH] AU: 2 updated - dropbox etcd [skip ci] https://gist.github.com/a14b1e5bfaf70839b338eb1ab7f8226f/43b820f05cf67d62f48d52a0568a5bde480a9742 --- automatic/dropbox/dropbox.json | 2 +- automatic/dropbox/dropbox.nuspec | 2 +- automatic/dropbox/tools/chocolateyinstall.ps1 | 10 +- automatic/etcd/etcd.json | 4 +- automatic/etcd/etcd.nuspec | 92 ++++++++++++++++++- automatic/etcd/legal/VERIFICATION.txt | 6 +- 6 files changed, 102 insertions(+), 14 deletions(-) diff --git a/automatic/dropbox/dropbox.json b/automatic/dropbox/dropbox.json index e5f7c49da42..8fe4552732c 100644 --- a/automatic/dropbox/dropbox.json +++ b/automatic/dropbox/dropbox.json @@ -1,4 +1,4 @@ { - "beta": "164.3.7891-beta", + "beta": "164.3.7907-beta", "stable": "163.4.5456" } diff --git a/automatic/dropbox/dropbox.nuspec b/automatic/dropbox/dropbox.nuspec index ebb1e256f18..6d12a7f8ffd 100644 --- a/automatic/dropbox/dropbox.nuspec +++ b/automatic/dropbox/dropbox.nuspec @@ -2,7 +2,7 @@ dropbox - 163.4.5456 + 164.3.7907-beta Dropbox Dropbox chocolatey-community,ferventcoder,the-running-dev diff --git a/automatic/dropbox/tools/chocolateyinstall.ps1 b/automatic/dropbox/tools/chocolateyinstall.ps1 index 02e04c0416b..c320938b10e 100644 --- a/automatic/dropbox/tools/chocolateyinstall.ps1 +++ b/automatic/dropbox/tools/chocolateyinstall.ps1 @@ -4,7 +4,7 @@ if (!$PSScriptRoot) { } . "$PSScriptRoot\helper.ps1" -$version = '163.4.5456' +$version = '164.3.7907' if (!(IsVersionAlreadyInstalled $version)) { $stop_dropbox = if (Get-Process -Name Dropbox -ErrorAction SilentlyContinue) { $false } else { $true } @@ -13,10 +13,10 @@ if (!(IsVersionAlreadyInstalled $version)) { $packageArgs = @{ packageName = $env:ChocolateyPackageName softwareName = "Dropbox" - url = 'https://edge.dropboxstatic.com/dbx-releng/client/experimental/Dropbox%20163.4.5456%20Offline%20Installer.x86.exe' - url64 = 'https://edge.dropboxstatic.com/dbx-releng/client/experimental/Dropbox%20163.4.5456%20Offline%20Installer.x64.exe' - checksum = 'f6aa1826bd687b7ae2c2b549ef0fa65bfe97a05bb8a57d05c4a5ed1cc92663a2' - checksum64 = '157a1b9c2fa37d502874420bbf954110c81a9a5683b29b77cf0769a57dbcfc93' + url = 'https://edge.dropboxstatic.com/dbx-releng/client/experimental/Dropbox%20164.3.7907%20Offline%20Installer.x86.exe' + url64 = 'https://edge.dropboxstatic.com/dbx-releng/client/experimental/Dropbox%20164.3.7907%20Offline%20Installer.x64.exe' + checksum = '1d761a21bf76a0b5a7dea2d30aae1c0af292a7a25bd7b6b00885a5a51f7d5586' + checksum64 = 'a004783ff4df5e1e50fbfc77f9a89dfd00bef9600e63dcda9b6f0052f32d9efd' fileType = 'exe' checksumType = 'sha256' checksumType64 = 'sha256' diff --git a/automatic/etcd/etcd.json b/automatic/etcd/etcd.json index 659f639a8c9..6074998bbfa 100644 --- a/automatic/etcd/etcd.json +++ b/automatic/etcd/etcd.json @@ -5,7 +5,7 @@ "3.1": "3.1.20", "3.2": "3.2.32", "3.3": "3.3.27", - "3.4": "3.4.21", - "3.5": "3.5.5", + "3.4": "3.4.22", + "3.5": "3.5.6", "3.6": "3.6.0-alpha0" } diff --git a/automatic/etcd/etcd.nuspec b/automatic/etcd/etcd.nuspec index 791ed72f4f2..d80ad1bc53f 100644 --- a/automatic/etcd/etcd.nuspec +++ b/automatic/etcd/etcd.nuspec @@ -3,7 +3,7 @@ etcd - 3.5.5 + 3.5.6 https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/etcd chocolatey-community,dgalbraith,Andrei Bejenaru,Robert Labrie etcd (Install) @@ -45,7 +45,95 @@ 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) ]]> - https://github.com/etcd-io/etcd/releases/tag/v3.5.5 + 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). + +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). + +###### Linux + +```bash +ETCD_VER=v3.5.6 + +# choose either URL +GOOGLE_URL=https://storage.googleapis.com/etcd +GITHUB_URL=https://github.com/etcd-io/etcd/releases/download +DOWNLOAD_URL=${GOOGLE_URL} + +rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz +rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test + +curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz +tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 +rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz + +/tmp/etcd-download-test/etcd --version +/tmp/etcd-download-test/etcdctl version +``` + +```bash +# start a local etcd server +/tmp/etcd-download-test/etcd + +# write,read to etcd +/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar +/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo +``` + +###### macOS (Darwin) + +```bash +ETCD_VER=v3.5.6 + +# choose either URL +GOOGLE_URL=https://storage.googleapis.com/etcd +GITHUB_URL=https://github.com/etcd-io/etcd/releases/download +DOWNLOAD_URL=${GOOGLE_URL} + +rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip +rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test + +curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip +unzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip +mv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64 + +/tmp/etcd-download-test/etcd --version +/tmp/etcd-download-test/etcdctl version +``` + +###### Docker + +etcd uses [`gcr.io/etcd-development/etcd`](https://gcr.io/etcd-development/etcd) as a primary container registry, and [`quay.io/coreos/etcd`](https://quay.io/coreos/etcd) as secondary. + +```bash +rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \ + docker rmi gcr.io/etcd-development/etcd:v3.5.6 || true && \ + docker run \ + -p 2379:2379 \ + -p 2380:2380 \ + --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \ + --name etcd-gcr-v3.5.6 \ + gcr.io/etcd-development/etcd:v3.5.6 \ + /usr/local/bin/etcd \ + --name s1 \ + --data-dir /etcd-data \ + --listen-client-urls http://0.0.0.0:2379 \ + --advertise-client-urls http://0.0.0.0:2379 \ + --listen-peer-urls http://0.0.0.0:2380 \ + --initial-advertise-peer-urls http://0.0.0.0:2380 \ + --initial-cluster s1=http://0.0.0.0:2380 \ + --initial-cluster-token tkn \ + --initial-cluster-state new \ + --log-level info \ + --logger zap \ + --log-outputs stderr + +docker exec etcd-gcr-v3.5.6 /bin/sh -c "/usr/local/bin/etcd --version" +docker exec etcd-gcr-v3.5.6 /bin/sh -c "/usr/local/bin/etcdctl version" +docker exec etcd-gcr-v3.5.6 /bin/sh -c "/usr/local/bin/etcdctl endpoint health" +docker exec etcd-gcr-v3.5.6 /bin/sh -c "/usr/local/bin/etcdctl put foo bar" +docker exec etcd-gcr-v3.5.6 /bin/sh -c "/usr/local/bin/etcdctl get foo" +``` + diff --git a/automatic/etcd/legal/VERIFICATION.txt b/automatic/etcd/legal/VERIFICATION.txt index ade49a54fa6..d42388a621e 100644 --- a/automatic/etcd/legal/VERIFICATION.txt +++ b/automatic/etcd/legal/VERIFICATION.txt @@ -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 +location on and can be verified by doing the following: 1. Download the following: - software: + software: 2. Get the checksum using one of the following methods: - Using powershell function 'Get-FileHash' @@ -17,6 +17,6 @@ and can be verified by doing the following: 3. The checksums should match the following: checksum type: sha256 - checksum: BCABE6BBEB1AC0B91395E19856E39C1056C05EB303B714670876ACF21158BD3F + checksum: D3090A0C4814E8A9EAE0FBA561F368AB09CD5E1C86C59F84CC9E3881A190A1FC The file 'LICENSE.txt' has been obtained from