Created
January 23, 2022 03:16
-
-
Save linkdd/5b341631399651e7000799874e31d838 to your computer and use it in GitHub Desktop.
Example of KinD cluster creation in a Github Workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: setup@kindconfig | |
run: | | |
kind_in="${{ github.workspace }}/.github/config/kind.yml.in" | |
kind_out="${{ github.workspace }}/.github/config/kind.yml" | |
hostip=$(sh .github/scripts/get-docker-host.sh) | |
sed "s/127.0.0.1/$hostip/g" $kind_in > $kind_out | |
- name: setup@kubernetes | |
uses: engineerd/setup-kind@v0.5.0 | |
with: | |
config: .github/config/kind.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment