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 gnupg perms test #456

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ The Doppler CLI is the official tool for interacting with your Doppler secrets a
- Execute applications with your secrets injected into the environment
- View activity and audit logs


## Install

The Doppler CLI is available in several popular package managers. It can also be installed via [shell script](https://github.com/DopplerHQ/cli/blob/master/INSTALL.md#shell-script), [GitHub Action](https://github.com/DopplerHQ/cli-action), or downloaded as a [standalone binary](https://github.com/DopplerHQ/cli/releases/latest).
Expand All @@ -25,6 +24,7 @@ $ doppler --version
```

To update:

```sh
$ brew upgrade doppler
```
Expand Down
10 changes: 0 additions & 10 deletions tests/e2e/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ output="$("$DOPPLER_BINARY" update --force 2>&1 || true)";

beforeEach

### gnupg perms issue
# make gnupg directory inaccessible
sudo chown root ~/.gnupg;
output="$("$DOPPLER_BINARY" update --force 2>&1 || true)";
[ "$(echo "$output" | tail -1)" == "Doppler Error: exit status 4" ] || error "ERROR: expected update to fail without access to gnupg"
# restore gnupg directory perms
sudo chown "$(id -un)" ~/.gnupg;

beforeEach

### successful update
sudo "$DOPPLER_BINARY" update --force >/dev/null 2>&1 || error "ERROR: unable to update CLI"

Expand Down
Loading