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

Fix output of remote step in nix workflow #4746

Merged
merged 3 commits into from
Oct 11, 2023
Merged

Conversation

ckeshava
Copy link
Collaborator

@ckeshava ckeshava commented Oct 4, 2023

High Level Overview of Change

This pull request updates the nix CI runner. Although the builds are successful, the binaries are not uploaded to the internal artifactory. This PR attempts to fix this issue and I have borrowed the idea from @ximinez

After successful authentication, outcome variable contains a string. In the upload step, we are checking if outcome == success as a prerequisite for uploading the binary.

This PR updates the contents of the outcome variable in the CI.

Example of a breaking Github Actions workflow (thanks to @thejohnfreeman): https://github.com/XRPLF/rippled/actions/runs/6264131645/job/17010134246

Context of Change

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Release
  • None of the above
    This does not modify any of the source code files.

This change as motivated from this slack discussion: https://ripple-enterprise.slack.com/archives/C02GE9NBA/p1695051230548129

…ng binaries into remote internal artifactory
@ckeshava
Copy link
Collaborator Author

ckeshava commented Oct 4, 2023

This pull request supercedes #4716

@ximinez @thejohnfreeman I have collected all the changes into this PR

@ckeshava
Copy link
Collaborator Author

ckeshava commented Oct 5, 2023

@ximinez My apologies, I understand the inconvenience. I'll keep that in mind for the next time.

@ximinez
Copy link
Collaborator

ximinez commented Oct 5, 2023

@ximinez My apologies, I understand the inconvenience. I'll keep that in mind for the next time.

No worries. I realized after I wrote the comment that this was the one you couldn't push to anymore, which completely justifies making a copy. In this case. 😁 (Which is why I deleted the comment, too.)

@intelliot
Copy link
Collaborator

@ckeshava - from your perspective, please confirm if this PR is ready to merge

@ckeshava
Copy link
Collaborator Author

ckeshava commented Oct 9, 2023

@intelliot Yes, it looks good to me

@intelliot intelliot added the Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required. label Oct 9, 2023
@intelliot intelliot merged commit 1151fba into XRPLF:develop Oct 11, 2023
16 checks passed
sophiax851 pushed a commit to sophiax851/rippled that referenced this pull request Jun 12, 2024
…#4746)

Update the nix CI runner. This commit does not modify any source code
files. The unix builds were successful, but the binaries were not
uploaded to the internal artifactory. This PR borrows an idea from
@ximinez to attempt to fix this issue.

After successful authentication, the `outcome` variable contains a
string. In the upload step, we are checking if outcome == 'success' as a
prerequisite for uploading the binary.

This commit updates the contents of the `outcome` variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants