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

Introduce additional checks for dhall (deps, dirtyWhen) #16168

Merged
merged 18 commits into from
Oct 21, 2024

Conversation

dkijania
Copy link
Member

@dkijania dkijania commented Oct 1, 2024

Introducing additional checks for dhall which will be used in ci but nothing prevents to use them locally. There are 3 new commands

Additionally I fixed all encountered issues with dirtyWhen and Dependencies

(all commands should be run in buildkite folder)

check dependencies

usage: make check_deps

desc: it validates that if step provides dependsOn section it is a correct and existing key of some job

check dirtyWhen

usage: make check_dirty

desc: it validates that if step provides dirtyWhen section it is corresponding to existing files

print cmd (only for local)

usage: python3 buildkite/scripts/dhall/checker --root buildkite/src/Jobs print-cmd --job MinaArtifactFocal --step build_deb_pkg

EDIT:

Currently there is peculiar issue with running dhall in toolchain:

https://buildkite.com/o-1-labs-2/mina-o-1-labs/builds/35531#01924994-aad4-47bf-a42c-ab8f1d89eaa1/74-99

I will solve it in different PR. As a result won't propagate new Ci jobs

@dkijania dkijania self-assigned this Oct 1, 2024
@dkijania
Copy link
Member Author

dkijania commented Oct 1, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Oct 1, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Oct 1, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Oct 2, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Oct 2, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Oct 3, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Oct 3, 2024

!ci-build-me

@dkijania dkijania marked this pull request as ready for review October 3, 2024 11:20
@dkijania dkijania requested a review from a team as a code owner October 3, 2024 11:20

check_deps:
$(eval TMP := $(shell mktemp -d))
Copy link
Collaborator

Choose a reason for hiding this comment

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

This white space is killing my OCD-eyes.

@dkijania
Copy link
Member Author

dkijania commented Oct 3, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Oct 9, 2024

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@deepthiskumar
Copy link
Member

!approved-for-mainnet

@deepthiskumar deepthiskumar merged commit cd04f7d into master Oct 21, 2024
33 checks passed
@deepthiskumar deepthiskumar deleted the dkijania/dhall_checks branch October 21, 2024 18:35
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.

3 participants