mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
Merge pull request #1282 from egernst/fix-2.0-stable-release
Fix 2.0 stable release
This commit is contained in:
40
.github/workflows/main.yaml
vendored
40
.github/workflows/main.yaml
vendored
@@ -38,9 +38,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -66,9 +66,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -92,9 +92,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -118,9 +118,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -145,9 +145,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -172,9 +172,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -199,9 +199,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -226,9 +226,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -253,9 +253,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -303,9 +303,7 @@ jobs:
|
|||||||
docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz -t katadocker/kata-deploy-ci:$pkg_sha ./packaging/kata-deploy
|
docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz -t katadocker/kata-deploy-ci:$pkg_sha ./packaging/kata-deploy
|
||||||
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||||
docker push katadocker/kata-deploy-ci:$pkg_sha
|
docker push katadocker/kata-deploy-ci:$pkg_sha
|
||||||
|
echo "::set-output name=PKG_SHA::${pkg_sha}"
|
||||||
echo "##[set-output name=PKG_SHA;]${pkg_sha}"
|
|
||||||
echo ::set-env name=TAG::$tag
|
|
||||||
- name: test-kata-deploy-ci-in-aks
|
- name: test-kata-deploy-ci-in-aks
|
||||||
uses: ./packaging/kata-deploy/action
|
uses: ./packaging/kata-deploy/action
|
||||||
with:
|
with:
|
||||||
|
36
.github/workflows/release.yaml
vendored
36
.github/workflows/release.yaml
vendored
@@ -39,9 +39,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -67,9 +67,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -93,9 +93,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -119,9 +119,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -145,9 +145,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -171,9 +171,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -198,9 +198,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -224,9 +224,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if grep -q $buildstr artifact-list.txt; then
|
if grep -q $buildstr artifact-list.txt; then
|
||||||
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
$GITHUB_WORKSPACE/.github/workflows/generate-local-artifact-tarball.sh $buildstr
|
||||||
echo ::set-env name=artifact-built::true
|
echo "artifact-built=true" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo ::set-env name=artifact-built::false
|
echo "artifact-built=false" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: store-artifacts
|
- name: store-artifacts
|
||||||
if: env.artifact-built == 'true'
|
if: env.artifact-built == 'true'
|
||||||
@@ -275,11 +275,9 @@ jobs:
|
|||||||
docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz -t katadocker/kata-deploy-ci:$pkg_sha $GITHUB_WORKSPACE/tools/packaging/kata-deploy
|
docker build --build-arg KATA_ARTIFACTS=kata-static.tar.xz -t katadocker/kata-deploy-ci:$pkg_sha $GITHUB_WORKSPACE/tools/packaging/kata-deploy
|
||||||
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||||
docker push katadocker/kata-deploy-ci:$pkg_sha
|
docker push katadocker/kata-deploy-ci:$pkg_sha
|
||||||
|
|
||||||
echo "##[set-output name=PKG_SHA;]${pkg_sha}"
|
|
||||||
echo ::set-env name=TAG::$tag
|
|
||||||
mkdir -p packaging/kata-deploy
|
mkdir -p packaging/kata-deploy
|
||||||
ln -s $GITHUB_WORKSPACE/tools/packaging/kata-deploy/action packaging/kata-deploy/action
|
ln -s $GITHUB_WORKSPACE/tools/packaging/kata-deploy/action packaging/kata-deploy/action
|
||||||
|
echo "::set-output name=PKG_SHA::${pkg_sha}"
|
||||||
- name: test-kata-deploy-ci-in-aks
|
- name: test-kata-deploy-ci-in-aks
|
||||||
uses: ./packaging/kata-deploy/action
|
uses: ./packaging/kata-deploy/action
|
||||||
with:
|
with:
|
||||||
|
@@ -69,6 +69,7 @@ info() {
|
|||||||
|
|
||||||
repos=(
|
repos=(
|
||||||
"kata-containers"
|
"kata-containers"
|
||||||
|
"tests"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -165,6 +165,7 @@ EOT
|
|||||||
|
|
||||||
repos=(
|
repos=(
|
||||||
"kata-containers"
|
"kata-containers"
|
||||||
|
"tests"
|
||||||
)
|
)
|
||||||
|
|
||||||
main(){
|
main(){
|
||||||
|
Reference in New Issue
Block a user