fix!: update read me

Signed-off-by: matttrach <matt.trachier@suse.com>
This commit is contained in:
matttrach 2025-03-07 19:36:25 -06:00
parent ffd191a28e
commit 291bf98587
No known key found for this signature in database
GPG Key ID: E082F2592F87D4AE
1 changed files with 3 additions and 7 deletions

View File

@ -8,7 +8,7 @@ The download can be triggered again by changing the release variable.
```hcl ```hcl
module "download_latest" { module "download_latest" {
source = "rancher/rke2-download/github" source = "rancher/rke2-download/github"
version = "v0.0.2" version = "v1.0.0"
release = "latest" release = "latest"
} }
``` ```
@ -97,12 +97,8 @@ It is important to us that all collaborators have the ability to develop in simi
These tools are not necessary, but they can make it much simpler to collaborate. These tools are not necessary, but they can make it much simpler to collaborate.
* I use [nix](https://nixos.org/) that I have installed using [their recommended script](https://nixos.org/download.html#nix-install-macos) * I use [nix](https://nixos.org/) that I have installed using [their recommended script](https://nixos.org/download.html#nix-install-macos)
* I use [direnv](https://direnv.net/) that I have installed using brew. * I simply `source .envrc` to enter the environment
* I simply use `direnv allow` to enter the environment * To run tests I run the `run_tests.sh` script
* I navigate to the `tests` directory and run `go test -v -timeout=5m -parallel=10`
* To run an individual test I navigate to the `tests` directory and run `go test -v -timeout=5m -run <test function name>`
* eg. `go test -v -timeout=5m -run TestBasic`
* I use `override.tf` files to change the values of `examples` to personalized data so that I can run them.
* I store my GitHub credentials in a local file and generate a symlink to them named `~/.config/github/default/rc` * I store my GitHub credentials in a local file and generate a symlink to them named `~/.config/github/default/rc`
* this will be automatically sourced when you enter the nix environment (and unloaded when you leave) * this will be automatically sourced when you enter the nix environment (and unloaded when you leave)