Skip to content

Fix publish adding NOTARY_KEY_NAME #106

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

Merged
merged 1 commit into from
Apr 17, 2020
Merged

Fix publish adding NOTARY_KEY_NAME #106

merged 1 commit into from
Apr 17, 2020

Conversation

gssbzn
Copy link
Collaborator

@gssbzn gssbzn commented Apr 16, 2020

Proposed changes

We were missing an ENV variable, also this removes some unnecessary steps

@@ -64,42 +64,6 @@ functions:
env:
<<: *go_options
command: make package
"set up remote credentials":
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We don't need this

@@ -109,21 +73,21 @@ functions:
set -o errexit

cat <<EOF > notary_env.sh
export NOTARY_KEY_NAME='server-4.4'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we were missing this

if [[ ! -f signing_auth_token_44 ]]; then
echo "${signing_auth_token_44}" > signing_auth_token
fi
echo "${signing_auth_token_44}" > ./signing_auth_token
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

simplifying this

--service ${barque_url} \
--config .repo_config.yml \
--config etc/repo_config.yml \
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

hiding this away

@@ -155,23 +122,18 @@ tasks:
- func: "gen-notices"
- func: "fetch goreleaser"
- func: "package"
- command: shell.exec
- command: archive.targz_pack
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

curator is happier with tar.gz

@gssbzn gssbzn requested a review from MihaiBojin April 16, 2020 17:48
Copy link
Contributor

@robcarlan-mlab robcarlan-mlab left a comment

Choose a reason for hiding this comment

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

from what I can tell, looks like a nice improvement 👍

@gssbzn gssbzn merged commit be0c816 into master Apr 17, 2020
@gssbzn gssbzn deleted the evg=test branch April 17, 2020 08:42
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