rename branch master to main
This commit is contained in:
parent
41c9bdc87a
commit
8dd1ec61db
@ -51,7 +51,7 @@ steps:
|
|||||||
- test
|
- test
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
@ -136,7 +136,7 @@ steps:
|
|||||||
- mkdocs build --verbose --clean --strict
|
- mkdocs build --verbose --clean --strict
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
@ -150,7 +150,7 @@ steps:
|
|||||||
target_branch: gh-pages
|
target_branch: gh-pages
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
branch:
|
branch:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
---
|
---
|
||||||
#####################
|
#####################
|
||||||
|
4
Makefile
4
Makefile
@ -161,8 +161,8 @@ ci-tests: fmt check e2e
|
|||||||
##########################
|
##########################
|
||||||
|
|
||||||
drone:
|
drone:
|
||||||
@echo "Running drone pipeline locally with branch=master and event=push"
|
@echo "Running drone pipeline locally with branch=main and event=push"
|
||||||
drone exec --trusted --branch master --event push
|
drone exec --trusted --branch main --event push
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
########## Setup & Preparation ##########
|
########## Setup & Preparation ##########
|
||||||
|
14
README.md
14
README.md
@ -1,6 +1,6 @@
|
|||||||
# [](https://k3d.io/)
|
# [](https://k3d.io/)
|
||||||
|
|
||||||
[](https://drone-publish.rancher.io/rancher/k3d)
|
[](https://drone-publish.rancher.io/rancher/k3d)
|
||||||
[](./LICENSE.md)
|
[](./LICENSE.md)
|
||||||

|

|
||||||
|
|
||||||
@ -8,7 +8,7 @@
|
|||||||
[](./go.mod)
|
[](./go.mod)
|
||||||
[](https://goreportcard.com/report/github.com/rancher/k3d)
|
[](https://goreportcard.com/report/github.com/rancher/k3d)
|
||||||
|
|
||||||
**Please Note:** `master` is now v3.0.0 and the code for v1.x can be found in the `master-v1` branch!
|
**Please Note:** `main` is now v3.0.0 and the code for v1.x can be found in the `main-v1` branch!
|
||||||
|
|
||||||
## [k3s in docker](https://k3d.io)
|
## [k3s in docker](https://k3d.io)
|
||||||
|
|
||||||
@ -43,11 +43,11 @@ k3d creates containerized k3s clusters. This means, that you can spin up a multi
|
|||||||
You have several options there:
|
You have several options there:
|
||||||
|
|
||||||
- use the install script to grab the latest release:
|
- use the install script to grab the latest release:
|
||||||
- wget: `wget -q -O - https://raw.githubusercontent.com/rancher/k3d/master/install.sh | bash`
|
- wget: `wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash`
|
||||||
- curl: `curl -s https://raw.githubusercontent.com/rancher/k3d/master/install.sh | bash`
|
- curl: `curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash`
|
||||||
- use the install script to grab a specific release (via `TAG` environment variable):
|
- use the install script to grab a specific release (via `TAG` environment variable):
|
||||||
- wget: `wget -q -O - https://raw.githubusercontent.com/rancher/k3d/master/install.sh | TAG=v3.0.0-beta.0 bash`
|
- wget: `wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v3.0.0-beta.0 bash`
|
||||||
- curl: `curl -s https://raw.githubusercontent.com/rancher/k3d/master/install.sh | TAG=v3.0.0-beta.0 bash`
|
- curl: `curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v3.0.0-beta.0 bash`
|
||||||
|
|
||||||
- use [Homebrew](https://brew.sh): `brew install k3d` (Homebrew is available for MacOS and Linux)
|
- use [Homebrew](https://brew.sh): `brew install k3d` (Homebrew is available for MacOS and Linux)
|
||||||
- Formula can be found in [homebrew/homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/k3d.rb) and is mirrored to [homebrew/linuxbrew-core](https://github.com/Homebrew/linuxbrew-core/blob/master/Formula/k3d.rb)
|
- Formula can be found in [homebrew/homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/k3d.rb) and is mirrored to [homebrew/linuxbrew-core](https://github.com/Homebrew/linuxbrew-core/blob/master/Formula/k3d.rb)
|
||||||
@ -59,7 +59,7 @@ or...
|
|||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
1. Clone this repo, e.g. via `git clone git@github.com:rancher/k3d.git` or `go get github.com/rancher/k3d/v3@master`
|
1. Clone this repo, e.g. via `git clone git@github.com:rancher/k3d.git` or `go get github.com/rancher/k3d/v3@main`
|
||||||
2. Inside the repo run
|
2. Inside the repo run
|
||||||
- 'make install-tools' to make sure required go packages are installed
|
- 'make install-tools' to make sure required go packages are installed
|
||||||
3. Inside the repo run one of the following commands
|
3. Inside the repo run one of the following commands
|
||||||
|
@ -33,11 +33,11 @@ k3d makes it very easy to create single- and multi-node [k3s](https://github.com
|
|||||||
You have several options there:
|
You have several options there:
|
||||||
|
|
||||||
- use the install script to grab the latest release:
|
- use the install script to grab the latest release:
|
||||||
- wget: `#!bash wget -q -O - https://raw.githubusercontent.com/rancher/k3d/master/install.sh | bash`
|
- wget: `#!bash wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash`
|
||||||
- curl: `#!bash curl -s https://raw.githubusercontent.com/rancher/k3d/master/install.sh | bash`
|
- curl: `#!bash curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash`
|
||||||
- use the install script to grab a specific release (via `TAG` environment variable):
|
- use the install script to grab a specific release (via `TAG` environment variable):
|
||||||
- wget: `#!bash wget -q -O - https://raw.githubusercontent.com/rancher/k3d/master/install.sh | TAG=v3.0.0-beta.0 bash`
|
- wget: `#!bash wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v3.0.0-beta.0 bash`
|
||||||
- curl: `#!bash curl -s https://raw.githubusercontent.com/rancher/k3d/master/install.sh | TAG=v3.0.0-beta.0 bash`
|
- curl: `#!bash curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v3.0.0-beta.0 bash`
|
||||||
|
|
||||||
- use [Homebrew](https://brew.sh): `#!bash brew install k3d` (Homebrew is available for MacOS and Linux)
|
- use [Homebrew](https://brew.sh): `#!bash brew install k3d` (Homebrew is available for MacOS and Linux)
|
||||||
- Formula can be found in [homebrew/homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/k3d.rb) and is mirrored to [homebrew/linuxbrew-core](https://github.com/Homebrew/linuxbrew-core/blob/master/Formula/k3d.rb)
|
- Formula can be found in [homebrew/homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/k3d.rb) and is mirrored to [homebrew/linuxbrew-core](https://github.com/Homebrew/linuxbrew-core/blob/master/Formula/k3d.rb)
|
||||||
|
Loading…
Reference in New Issue
Block a user