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

[depot-client] Use HTTP/201 as success for artifact & key upload. #714

Merged
merged 2 commits into from
Jun 10, 2016

Conversation

fnichol
Copy link
Collaborator

@fnichol fnichol commented Jun 10, 2016

No description provided.

@thesentinels
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @seth, @reset, @metadave and @adamhjk to be potential reviewers

@bookshelfdave
Copy link
Contributor

looks good!

@@ -218,8 +218,8 @@ fn sub_artifact_upload(m: &ArgMatches) -> Result<()> {
Ok(token) => token,
Err(_) => {
return Err(Error::ArgumentError("Missing authentication token - Set \
AUTH_TOKEN env var or specify a value for \
--auth-token and try again."))
HAB_AUTH_TOKEN env var or specify a value \
Copy link
Contributor

Choose a reason for hiding this comment

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

good catch!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was the first user to be burned by trying both of these :) It's all cool, we great now

Copy link
Contributor

Choose a reason for hiding this comment

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

gif-keyboard-7601327977980049855

@fnichol
Copy link
Collaborator Author

fnichol commented Jun 10, 2016

Confirmed previous upload behavior:

> ./target/debug/hab art up -z nadda /src/results/core-zip-3.0-20160610153645-x86_64-linux.hart
» Uploading ./results/core-zip-3.0-20160610153645-x86_64-linux.hart
→ Exists core/glibc/2.22/20160427193532
→ Exists core/linux-headers/4.3/20160427193435
↑ Uploading ./results/core-zip-3.0-20160610153645-x86_64-linux.hart
    158.44 KB / 158.44 KB \ [============] 100.00 % 15.33 MB/s
✓ Uploaded core/zip/3.0/20160610153645
★ Upload of core/zip/3.0/20160610153645 complete.

> ./target/debug/hab art up -z nadda /src/results/core-zip-3.0-20160610153645-x86_64-linux.hart
» Uploading ./results/core-zip-3.0-20160610153645-x86_64-linux.hart
→ Exists core/glibc/2.22/20160427193532
→ Exists core/linux-headers/4.3/20160427193435
→ Exists core/zip/3.0/20160610153645
★ Upload of core/zip/3.0/20160610153645 complete.

@fnichol
Copy link
Collaborator Author

fnichol commented Jun 10, 2016

Using @metadave's comment as my +1, thanks!

@thesentinels r+

@thesentinels
Copy link
Contributor

📌 Commit f4f08aa has been approved by fnichol

thesentinels pushed a commit that referenced this pull request Jun 10, 2016
Signed-off-by: Fletcher Nichol <[email protected]>

Pull request: #714
Approved by: fnichol
@thesentinels
Copy link
Contributor

⌛ Testing commit f4f08aa with merge c2cbef0...

thesentinels pushed a commit that referenced this pull request Jun 10, 2016
Signed-off-by: Fletcher Nichol <[email protected]>

Pull request: #714
Approved by: fnichol
@thesentinels
Copy link
Contributor

☀️ Test successful - travis

@thesentinels thesentinels merged commit f4f08aa into master Jun 10, 2016
@fnichol fnichol deleted the fnichol/hab-artifact-upload-semantics branch June 10, 2016 16:09
jtimberman pushed a commit that referenced this pull request Jun 12, 2016
Signed-off-by: Fletcher Nichol <[email protected]>

Pull request: #714
Approved by: fnichol
jtimberman pushed a commit that referenced this pull request Jun 12, 2016
Signed-off-by: Fletcher Nichol <[email protected]>

Pull request: #714
Approved by: fnichol
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.

4 participants