Skip to content

Commit

Permalink
Add shell.nix back:
Browse files Browse the repository at this point in the history
shell.nix is used for dependencies in the formatting,
syntax checking.

Signed-off-by: Jacob Weinstock <[email protected]>
  • Loading branch information
jacobweinstock committed Oct 31, 2023
1 parent 27cf7a6 commit 7875757
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci-non-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ if ! make lint; then
failed=1
fi

if ! terraform fmt -write -recursive deploy/infrastructure/terraform/; then
failed=1
fi

if ! rufo deploy/infrastructure/vagrant/Vagrantfile; then
failed=1
fi
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Playground

The playground is an example deployment for learning and testing Tinkerbell. It is not a production reference architecture.
The playground is an example deployment of the Tinkerbell stack for use in learning and testing. It is not a production reference architecture.
Please use the [Helm chart](https://github.com/tinkerbell/charts) for production deployments.

## Quick-Starts
Expand All @@ -13,7 +13,6 @@ Pick the one that works best for you.

- [Vagrant and VirtualBox](docs/quickstarts/VAGRANTVBOX.md)
- [Vagrant and Libvirt](docs/quickstarts/VAGRANTLVIRT.md)
- [Terraform and Equinix Metal](docs/quickstarts/TERRAFORMEM.md)
- [Kubernetes](docs/quickstarts/KUBERNETES.md)

## Next Steps
Expand Down
20 changes: 20 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
let _pkgs = import <nixpkgs> { };
in { pkgs ? import (_pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
#branch@date: master@2022-06-02
rev = "17e891b141ca8e599ebf6443d0870a67dd98f94f";
sha256 = "0qiyl04s4q0b3dhvyryz10hfdqhb2c7hk2lqn5llsb8lxsqj07l9";
}) { } }:

with pkgs;

mkShell {
buildInputs = [
nodePackages.prettier
jq
shellcheck
shfmt
rufo
];
}

0 comments on commit 7875757

Please sign in to comment.