Use KIND v0.24.0 #283
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Go 1.14 | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.14 | |
id: go | |
- name: Env | |
run: | | |
env | sort | grep GIT | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- name: Install release automaton | |
run: | | |
cd /tmp | |
git clone --branch=x7 https://github.com/appscodelabs/release-automaton.git | |
cd release-automaton | |
go install ./... | |
sudo mv /home/runner/go/bin/release-automaton /usr/local/bin/release-automaton | |
- name: Install GitHub CLI | |
run: | | |
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1 | |
sudo mv bin/hub /usr/local/bin | |
- name: Prepare Host | |
run: | | |
# install yq | |
curl -fsSL -o yq https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64 | |
chmod +x yq | |
sudo mv yq /usr/local/bin/yq | |
# install kubectl | |
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.17.0/bin/linux/amd64/kubectl | |
chmod +x ./kubectl | |
sudo mv ./kubectl /usr/local/bin/kubectl | |
- name: GH_TEST | |
# if: startsWith(github.event.ref, 'refs/tags/') | |
run: | | |
echo "$GITHUB_REF#refs/tags/" | |
env | sort | grep GIT | |
- name: GH_TEST | |
# if: startsWith(github.event.ref, 'refs/tags/') | |
run: | | |
reponame=${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER"/"} | |
echo $reponame |