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 Update Artifacts Cronjob #1392

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

tadeohepperle
Copy link
Contributor

The original cronjob was not running properly and also pushed the substrate node itself into the PR.
I also simplified the scrips code to make it easier to get errors reported.

Here is the first PR generated by this branch: #1391

@tadeohepperle tadeohepperle requested review from a team as code owners January 22, 2024 14:36
run: cargo build --bin artifacts
run: cargo run --bin artifacts

- name: Delete substrate node binary
Copy link
Member

Choose a reason for hiding this comment

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

Why was this rm added?

Copy link
Collaborator

Choose a reason for hiding this comment

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

My understanding is that this CI job:

  • checks our branch
  • downloads substrate-node binary to help make changes
  • opens PR to capture any changes.

And since we don't want the substrate-node binary to be a part of this PR we delete it first

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is exactly like James said, without removing the substrate-node it will be added to the PR like it happened today in the morning.

Copy link
Collaborator

@jsdw jsdw left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@tadeohepperle tadeohepperle merged commit d53f093 into master Jan 22, 2024
12 checks passed
@tadeohepperle tadeohepperle deleted the tadeohepperle/update-artifacts-fix branch January 22, 2024 16:31
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