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

Update .gitignore && add dockerApps.evaluation-test to CI #87

Merged
merged 6 commits into from
Aug 22, 2023

Conversation

zeme-wana
Copy link
Contributor

@zeme-wana zeme-wana commented Aug 10, 2023

Things that slipped through the previous PR

Summary by CodeRabbit

Refactor:

  • Updated the path for Docker app in nix/ci.nix.
  • Modified the values of genFlake and buildFlake variables in nix/docker-files/docker.nix.
  • Changed the defaultPackage attribute value in nix/per-system-outputs.nix.

Chore:

  • Added .pre-commit-config.yaml to .gitignore.

🐇💻

"In the land of code, where logic intertwines,
A rabbit hops along the lines.
Paths are changed, variables renamed,
Yet the essence of the code remained.
With every commit, we refine,
In this digital world, we shine! 🌟"

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 10, 2023

Image description CodeRabbit

Walkthrough

The changes in this pull request primarily involve updates to the Nix and Docker configuration files. The modifications include adjustments to package paths, renaming of variables, and alterations to default package attributes. These changes do not appear to affect the core functionality of the application but rather seem to be aimed at improving the build and deployment process.

Changes

File(s) Summary
.gitignore A new file .pre-commit-config.yaml has been added to the project.
nix/ci.nix The path of a Docker app included in the project has been updated from "dockerApps.evaluation-test" to "apps.dockerApps.evaluation-test".
nix/docker-files/docker.nix The values of genFlake and buildFlake variables have been updated to use different package names (generate-flake and build-flake).
nix/per-system-outputs.nix The defaultPackage attribute in the Nix expression has been modified from inputs'.self.packages.plutus-certification-exe-plutus-certification-ghc927 to inputs'.self.packages.plutus-certification.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 4939cab and 6f0564d commits.
Files selected for processing (2)
  • .gitignore (1 hunks)
  • nix/ci.nix (1 hunks)
Files skipped from review due to trivial changes (1)
  • .gitignore
Review comments generated (0)
  • Actionable : 0
  • LGTM (Skipped): 0
  • Noise Suppression (Skipped): 1

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Tag the bot with @coderabbitai in any review comment to ask it questions. The bot will not respond unless explicitly tagged.
  • A review comment is a comment on a diff or a file and not a comment on the PR itself.
  • You can use the mouse to select multiple lines of code to provide exact context to the bot.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

@zeme-wana zeme-wana removed the request for review from bogdan-manole August 10, 2023 08:13
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 6f0564d and 6b0f63c commits.
Files ignored due to filter (1)
  • flake.lock
Files selected for processing (2)
  • nix/docker-files/docker.nix (1 hunks)
  • nix/per-system-outputs.nix (1 hunks)
Files skipped from review due to trivial changes (2)
  • nix/docker-files/docker.nix
  • nix/per-system-outputs.nix
Review comments generated (0)
  • Actionable : 0
  • LGTM (Skipped): 0
  • Noise Suppression (Skipped): 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Tag the bot with @coderabbitai in any review comment to ask it questions. The bot will not respond unless explicitly tagged.
  • A review comment is a comment on a diff or a file and not a comment on the PR itself.
  • You can use the mouse to select multiple lines of code to provide exact context to the bot.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

@@ -64,8 +64,8 @@
finalImageName = "nixos/nix";
finalImageTag = "2.15.0";
};
genFlake = inputs'.self.packages.dapps-certification-helpers-exe-generate-flake-ghc927;
Copy link
Contributor Author

@zeme-wana zeme-wana Aug 10, 2023

Choose a reason for hiding this comment

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

Aliases for your cabal executables only (this excludes benchmarks and test suites) are added to your packages and apps flake outputs.
Alias means just the executable name as found in your cabal file, without the $CabalPackageName-exe- prefix.

For projects supporting a single compiler (like in this repo, ghc927), the compiler name is no longer appended to the flake outputs names.

inputs'.self.packages.dapps-certification-helpers-exe-generate-flake-ghc927 ->
inputs'.self.packages.generate-flake

inputs'.self.apps.dapps-certification-exe-plutus-certificatio-ghc927 ->
inputs'.self.apps.plutus-certification

If you cabal project has multiple executables with the same name across your cabal files, a warning will be generated when running list-flake-outputs and no aliases will be created.

Copy link
Collaborator

@bogdan-manole bogdan-manole left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 6b0f63c and 0126941 commits.
Files ignored due to filter (1)
  • flake.lock
Files selected for processing (1)
  • nix/docker-files/docker.nix (1 hunks)
Files skipped from review due to trivial changes (1)
  • nix/docker-files/docker.nix
Review comments generated (0)
  • Actionable : 0
  • LGTM (Skipped): 0
  • Noise Suppression (Skipped): 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Tag the bot with @coderabbitai in any review comment to ask it questions. The bot will not respond unless explicitly tagged.
  • A review comment is a comment on a diff or a file and not a comment on the PR itself.
  • You can use the mouse to select multiple lines of code to provide exact context to the bot.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

@zeme-wana
Copy link
Contributor Author

@bogdan-manole are we ok with the CI Tests / tests failing? I see that they are red on the main branch too.

@bogdan-manole
Copy link
Collaborator

@bogdan-manole are we ok with the CI Tests / tests failing? I see that they are red on the main branch too.

yes, that's ok, anyway react part will be removed from this repo

@zeme-wana zeme-wana merged commit 1b431da into master Aug 22, 2023
4 of 6 checks passed
@bogdan-manole bogdan-manole deleted the iogx-fixolino branch January 31, 2024 11:22
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