mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 17:02:42 +00:00
ci: default branch has renamed to main
2.0-dev branch does not exist any more and it causes travis to fail. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
3f3a2533a3
commit
6fe3f331c9
2
.github/workflows/kata-deploy-test.yaml
vendored
2
.github/workflows/kata-deploy-test.yaml
vendored
@ -34,7 +34,7 @@ jobs:
|
|||||||
id: build-container-image
|
id: build-container-image
|
||||||
run: |
|
run: |
|
||||||
PR_SHA=$(git log --format=format:%H -n1)
|
PR_SHA=$(git log --format=format:%H -n1)
|
||||||
VERSION=$(curl https://raw.githubusercontent.com/kata-containers/kata-containers/2.0-dev/VERSION)
|
VERSION=$(curl https://raw.githubusercontent.com/kata-containers/kata-containers/main/VERSION)
|
||||||
ARTIFACT_URL="https://github.com/kata-containers/kata-containers/releases/download/${VERSION}/kata-static-${VERSION}-x86_64.tar.xz"
|
ARTIFACT_URL="https://github.com/kata-containers/kata-containers/releases/download/${VERSION}/kata-static-${VERSION}-x86_64.tar.xz"
|
||||||
wget "${ARTIFACT_URL}" -O ./kata-deploy/kata-static.tar.xz
|
wget "${ARTIFACT_URL}" -O ./kata-deploy/kata-static.tar.xz
|
||||||
docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz -t katadocker/kata-deploy-ci:${PR_SHA} ./kata-deploy
|
docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz -t katadocker/kata-deploy-ci:${PR_SHA} ./kata-deploy
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
export tests_repo="${tests_repo:-github.com/kata-containers/tests}"
|
export tests_repo="${tests_repo:-github.com/kata-containers/tests}"
|
||||||
export tests_repo_dir="$GOPATH/src/$tests_repo"
|
export tests_repo_dir="$GOPATH/src/$tests_repo"
|
||||||
export branch="${branch:-2.0-dev}"
|
export branch="${branch:-main}"
|
||||||
|
|
||||||
clone_tests_repo()
|
clone_tests_repo()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user