Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove supporting code for 1.6.0 alpha and beta builds #18

Merged
2 commits merged into from
Mar 6, 2024

Conversation

jjshanks
Copy link
Contributor

Tested on both Ubuntu and Powershell.

Tested with GPG on Windows 11 powershell

PS C:\Users\jjsha> & .\install-opentofu.ps1 -installMethod standalone
OpenTofu Installer

Performing standalone installation to C:\Users\jjsha\AppData\Local\Programs\OpenTofu...
Checking if cosign or GPG is available...
Determining latest OpenTofu version...
Latest OpenTofu version is 1.6.0.
Downloading OpenTofu version 1.6.0...
Downloading 3 files...
Downloading https://github.com/opentofu/opentofu/releases/download/v1.6.0/tofu_1.6.0_windows_amd64.zip to C:\Users\jjsha\AppData\Local\Temp\adhxdipk.yu5\tofu_1.6.0_windows_amd64.zip ...
Download of C:\Users\jjsha\AppData\Local\Temp\adhxdipk.yu5\tofu_1.6.0_windows_amd64.zip complete.
Downloading https://github.com/opentofu/opentofu/releases/download/v1.6.0/tofu_1.6.0_SHA256SUMS to C:\Users\jjsha\AppData\Local\Temp\adhxdipk.yu5\tofu_1.6.0_SHA256SUMS ...
Download of C:\Users\jjsha\AppData\Local\Temp\adhxdipk.yu5\tofu_1.6.0_SHA256SUMS complete.
Downloading https://github.com/opentofu/opentofu/releases/download/v1.6.0/tofu_1.6.0_SHA256SUMS.gpgsig to C:\Users\jjsha\AppData\Local\Temp\adhxdipk.yu5\tofu_1.6.0_SHA256SUMS.gpgsig ...
Download of C:\Users\jjsha\AppData\Local\Temp\adhxdipk.yu5\tofu_1.6.0_SHA256SUMS.gpgsig complete.
Fetching OpenTofu GPG key from https://get.opentofu.org/opentofu.asc...
GPG key download complete.
Dearmoring GPG key...
Verifying GPG key fingerprint...
Verifying GPG key fingerprint verified.
Verifying checksum...
Checksums match.
Importing GPG key...
gpg: keybox 'C:\\Users\\jjsha\\AppData\\Local\\Temp\\adhxdipk.yu5\\pubring.kbx' created
gpg: C:\\Users\\jjsha\\AppData\\Local\\Temp\\adhxdipk.yu5\\trustdb.gpg: trustdb created
gpg: key 0C0AF313E5FD9F80: public key "OpenTofu (This key is used to sign opentofu providers) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
Trusting GPG key...
gpg: Setting TOFU trust policy for new binding <key: E3E6E43D84CB852EADB0051D0C0AF313E5FD9F80, user id: OpenTofu (This key is used to sign opentofu providers) <[email protected]>> to good.
Verifying GPG signature...
gpg: Signature made 1/10/2024 6:01:48 AM Pacific Standard Time
gpg:                using RSA key E3E6E43D84CB852EADB0051D0C0AF313E5FD9F80
gpg: Good signature from "OpenTofu (This key is used to sign opentofu providers) <[email protected]>" [full]
gpg: [email protected]: Verified 1 signatures in the past 0 seconds.  Encrypted
     0 messages.
Signature verified.
Unpacking with current privileges...
Unpacking ZIP file to C:\Users\jjsha\AppData\Local\Programs\OpenTofu...

Signed-off-by: Joshua Shanks <[email protected]>
Tested on Ubuntu 22.02

❯ ./src/install-opentofu.sh --install-method standalone
OpenTofu Installer

Installing OpenTofu using the standalone installation method...
Determining latest OpenTofu version...
Downloading OpenTofu version 1.6.0...
Performing checksum verification...
Checksum for tofu_1.6.0_linux_amd64.zip is b96c3d1235bc4fd53b199175818a35642e50cbc6b82b8422dcab59240d06d885, as expected.
Performing signature verification...
Downloading signature file...
Downloading GPG key...
Dearmoring GPG key...
Verifying GPG key fingerprint...
gpg: Signature made Wed Jan 10 06:01:48 2024 PST
gpg:                using RSA key E3E6E43D84CB852EADB0051D0C0AF313E5FD9F80
gpg: Good signature from "OpenTofu (This key is used to sign opentofu providers) <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: E3E6 E43D 84CB 852E ADB0  051D 0C0A F313 E5FD 9F80
Signature verified.
Unpacking OpenTofu...
Archive:  /tmp/tmp.jUeYs74Sg6/tofu_1.6.0_linux_amd64.zip
  inflating: /tmp/tmp.gay5agwCW3/CHANGELOG.md
  inflating: /tmp/tmp.gay5agwCW3/LICENSE
  inflating: /tmp/tmp.gay5agwCW3/README.md
  inflating: /tmp/tmp.gay5agwCW3/tofu
Moving OpenTofu installation to /opt/opentofu...
Creating tofu symlink at /usr/local/bin/tofu...
Checking if OpenTofu is installed correctly...
OpenTofu v1.6.0
on linux_amd64
Installation complete.

Signed-off-by: Joshua Shanks <[email protected]>
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, looks good, we just have to figure out when to merge it.

@ghost
Copy link

ghost commented Jan 23, 2024

Hey @jjshanks we'll wait another 2 weeks to give people enough time to migrate to the stable release and then we can merge it. Thank you for your help!

@ghost ghost requested a review from Yantrio March 6, 2024 08:21
@ghost
Copy link

ghost commented Mar 6, 2024

@opentofu/core-engineers I believe it's been long enough, what do you think of merging this?

@Yantrio
Copy link
Member

Yantrio commented Mar 6, 2024

@janosdebugs I'm happy to merge this. Unless anyone is against it

@ghost ghost merged commit 2caeefd into opentofu:main Mar 6, 2024
94 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants