Skip to content

[Merged by Bors] - Changes needed to prepare crate to be compatible with crate2nix #312

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

Closed
wants to merge 2 commits into from

Conversation

soenkeliebau
Copy link
Member

@soenkeliebau soenkeliebau commented Feb 12, 2023

Description

In stackabletech/operator-templating#212 we are planning to add a more developer friendly workflow for building and deploying artifacts to Kubernetes during development.

This workflow uses crate2nix, which uses rustc directly and does not provide all environment variables required by the built crate we use (see nix-community/crate2nix#158). The content of these PR are the fixes needed to work around those limitations.

Review Checklist

  • Code contains useful comments
  • CRD change approved (or not applicable)
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)
  • Cargo.toml only contains references to git tags (not specific commits or branches)
  • Helm chart can be installed and deployed operator works (or not applicable)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

In stackabletech/operator-templating#212 we are planning to add a more developer friendly workflow for building and deploying artifacts to Kubernetes during development.

This workflow uses crate2nix, which uses rustc directly and does not provide all environment variables required by the built crate we use (see nix-community/crate2nix#158).
The content of these PR are the fixes needed to work around those limitations.
Copy link
Member

@nightkr nightkr left a comment

Choose a reason for hiding this comment

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

Haven't tested it locally but LGTM

@soenkeliebau
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Feb 13, 2023
# Description

In stackabletech/operator-templating#212 we are planning to add a more developer friendly workflow for building and deploying artifacts to Kubernetes during development.

This workflow uses crate2nix, which uses rustc directly and does not provide all environment variables required by the built crate we use (see nix-community/crate2nix#158). The content of these PR are the fixes needed to work around those limitations.
@bors
Copy link
Contributor

bors bot commented Feb 13, 2023

Canceled.

@soenkeliebau
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Feb 13, 2023
# Description

In stackabletech/operator-templating#212 we are planning to add a more developer friendly workflow for building and deploying artifacts to Kubernetes during development.

This workflow uses crate2nix, which uses rustc directly and does not provide all environment variables required by the built crate we use (see nix-community/crate2nix#158). The content of these PR are the fixes needed to work around those limitations.



Co-authored-by: Sönke Liebau <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 13, 2023

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Changes needed to prepare crate to be compatible with crate2nix [Merged by Bors] - Changes needed to prepare crate to be compatible with crate2nix Feb 13, 2023
@bors bors bot closed this Feb 13, 2023
@bors bors bot deleted the feat/crate2nix branch February 13, 2023 19:45
soenkeliebau added a commit to stackabletech/documentation that referenced this pull request Feb 14, 2023
…the docs (#360)

* Adds explanation of crate2nix and tilt based development workflow to the docs.

For implementation, see:
 - stackabletech/operator-templating#212
 - stackabletech/hdfs-operator#312

Co-authored-by: Natalie <[email protected]>
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