Skip to content

Conversation

Saviq
Copy link
Collaborator

@Saviq Saviq commented Mar 30, 2020

The tests get run in Coverage, and RelWithDebInfo tries to publish after a successful build, for which we don't have credentials.

@ricab
Copy link
Collaborator

ricab commented Mar 30, 2020

Hey, just had a look at the code, but could you explain what is going on in there a bit? Thank you.

@Saviq Saviq changed the title [snap] skip publishing if we don't have secure vars [snap] skip RelWithDebInfo if we don't have secure vars Mar 30, 2020
@Saviq
Copy link
Collaborator Author

Saviq commented Mar 30, 2020

@ricab I've modified this to be a simpler change - but to explain:

We tried to decrypt our credentials, which is only possible when the PR comes from the same repository. That's why #1420 failed - so this change disables that one job altogether. We run the tests in the Coverage job anyway, and bors will then run through the whole suite on try / merge.

Copy link
Collaborator

@ricab ricab left a comment

Choose a reason for hiding this comment

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

OK, lgtm

bors r+

bors bot added a commit that referenced this pull request Mar 30, 2020
1454: [snap] skip RelWithDebInfo if we don't have secure vars r=ricab a=Saviq

The tests get run in Coverage, and RelWithDebInfo tries to publish after a successful build, for which we don't have credentials.

Co-authored-by: Michał Sawicz <[email protected]>
@codecov
Copy link

codecov bot commented Mar 30, 2020

Codecov Report

Merging #1454 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1454   +/-   ##
=======================================
  Coverage   73.29%   73.29%           
=======================================
  Files         209      209           
  Lines        7572     7572           
=======================================
  Hits         5550     5550           
  Misses       2022     2022

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4cab2e...2f659f3. Read the comment docs.

@bors
Copy link
Contributor

bors bot commented Mar 30, 2020

Build failed

@Saviq
Copy link
Collaborator Author

Saviq commented Mar 30, 2020

This is wrong… it should have ran RelWithDebInfo, too… digging.

@ricab
Copy link
Collaborator

ricab commented Mar 30, 2020

Indeed, weird. I guess the var is not being established.

@Saviq
Copy link
Collaborator Author

Saviq commented Mar 30, 2020

bors try

bors bot added a commit that referenced this pull request Mar 30, 2020
@canonical canonical deleted a comment from bors bot Mar 30, 2020
@bors
Copy link
Contributor

bors bot commented Mar 30, 2020

try

Build failed

The tests get run in Coverage, and RelWithDebInfo tries to publish after a successful build, for which we don't have credentials.
@Saviq
Copy link
Collaborator Author

Saviq commented Mar 30, 2020

bors try

bors bot added a commit that referenced this pull request Mar 30, 2020
Copy link
Collaborator

@ricab ricab left a comment

Choose a reason for hiding this comment

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

Yep, better this way indeed

@ricab
Copy link
Collaborator

ricab commented Mar 30, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 30, 2020

try

Build succeeded

@bors
Copy link
Contributor

bors bot commented Mar 30, 2020

Build succeeded

@bors bors bot merged commit 4a48834 into canonical:master Mar 30, 2020
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