Compare commits

..

15 Commits

Author SHA1 Message Date
Eric Ernst
1c0008ccb7 Merge pull request #1286 from egernst/fix-1.x-release-master
actions: fix error with nemu build job
2021-01-15 18:46:48 -08:00
Eric Ernst
34f3e5d974 actions: fix error with nemu build job
No need to dereference the environment variable. Doing so will result in
a true evaluation, which was causing NEMU to be tracked as built, when
it actually wasn't. This only impacts 1.x workflows, and is why it
wasn't caught with 2.x release process.

Fixes: #1273

Signed-off-by: Eric Ernst <eric.g.ernst@gmail.com>
2021-01-15 16:33:03 -08:00
Eric Ernst
25d0511f55 Merge pull request #1283 from egernst/release-1.13-fixup
actions: w/a deprecated set-env
2021-01-15 15:23:57 -08:00
Eric Ernst
fea9b633eb actions: w/a deprecated set-env
set-env is no longer allowed. Updated to use the new recommended syntax.

Fixes: #1273

Signed-off-by: Eric Ernst <eric.g.ernst@gmail.com>
2021-01-15 14:49:34 -08:00
Eric Ernst
8350bcf6c5 Merge pull request #1255 from egernst/1.13.0-alpha0-branch-bump
# Kata Containers 1.13.0-alpha0
2021-01-13 09:55:47 -08:00
Eric Ernst
5e4f7ccbc4 release: Kata Containers 1.13.0-alpha0
Version bump no changes

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2021-01-13 09:27:08 -08:00
Jose Carlos Venegas Munoz
fcc48d1de7 Merge pull request #1008 from jcvenegas/1.12.0-rc0-branch-bump
# Kata Containers 1.12.0-rc0
2020-10-21 15:46:20 -05:00
Carlos Venegas
fac05f0fa8 release: Kata Containers 1.12.0-rc0
Version bump no changes

Signed-off-by: Carlos Venegas <jos.c.venegas.munoz@intel.com>
2020-10-20 13:33:43 -05:00
Salvador Fuentes
5f1a9d28ea Merge pull request #633 from egernst/1.12.0-alpha1-branch-bump
# Kata Containers 1.12.0-alpha1
2020-09-01 10:24:43 -05:00
Eric Ernst
a662908478 release: Kata Containers 1.12.0-alpha1
- actions: Pin to a particular sha for actions
- actions: Add action to perform checks for pull requests

57b64f35 actions: Pin to a particular sha for actions
1b157e50 actions: Add github actions to perform DCO check
0d96145c actions: Add action to perform WIP check for pull requests

Signed-off-by: Eric Ernst <eric.g.ernst@gmail.com>
2020-08-31 15:24:47 -07:00
Archana Shinde
e357dd3ca9 Merge pull request #442 from amshinde/add-wip-action
actions: Pin to a particular sha for actions
2020-07-23 12:02:19 -07:00
Archana Shinde
57b64f35e0 actions: Pin to a particular sha for actions
Since actions can access the github token, lets use a
particular version of sha rather than using master.

Fixes: #437

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2020-07-22 18:40:15 -07:00
Archana Shinde
4c004891b5 Merge pull request #438 from amshinde/add-wip-action
actions: Add action to perform checks for pull requests
2020-07-22 12:25:52 -07:00
Archana Shinde
1b157e5015 actions: Add github actions to perform DCO check
Action performs a check to verify PR raised has commits
that are signed-off.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2020-07-21 17:50:14 -07:00
Archana Shinde
0d96145c29 actions: Add action to perform WIP check for pull requests
Use github actions for performing WIP checks on PRs.
The action checks for keywords in subject line
as well labels.

Fixes: #437

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2020-07-21 17:50:14 -07:00
4 changed files with 63 additions and 22 deletions

21
.github/workflows/PR-wip-checks.yaml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Pull request WIP checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
- labeled
- unlabeled
jobs:
pr_wip_check:
runs-on: ubuntu-latest
name: WIP Check
steps:
- name: WIP Check
uses: tim-actions/wip-check@1c2a1ca6c110026b3e2297bb2ef39e1747b5a755
with:
labels: '["do-not-merge", "wip", "rfc"]'
keywords: '["WIP", "wip", "RFC", "rfc", "dnm", "DNM", "do-not-merge"]'

22
.github/workflows/dco-check.yaml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: DCO check
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
dco_check_job:
runs-on: ubuntu-latest
name: DCO Check
steps:
- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@ed97a21c3f83c3417e67a4733ea76887293a2c8f
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
uses: tim-actions/dco@2fd0504dc0d27b33f542867c300c60840c6dcb20
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}

View File

@@ -39,9 +39,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -67,9 +67,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -93,9 +93,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -119,9 +119,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -146,9 +146,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -173,9 +173,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -200,9 +200,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -227,9 +227,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -254,9 +254,9 @@ jobs:
run: |
if grep -q $buildstr ./artifact-list/artifact-list.txt; then
$GITHUB_WORKSPACE/.github/workflows/generate-artifact-tarball.sh $buildstr
echo ::set-env name=artifact-built::true
echo "artifact-built=true" >> $GITHUB_ENV
else
echo ::set-env name=artifact-built::false
echo "artifact-built=false" >> $GITHUB_ENV
fi
- name: store-artifacts
if: env.artifact-built == 'true'
@@ -304,9 +304,7 @@ jobs:
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 push katadocker/kata-deploy-ci:$pkg_sha
echo "##[set-output name=PKG_SHA;]${pkg_sha}"
echo ::set-env name=TAG::$tag
echo "::set-output name=PKG_SHA::${pkg_sha}"
- name: test-kata-deploy-ci-in-aks
uses: ./packaging/kata-deploy/action
with:

View File

@@ -1 +1 @@
1.12.0-alpha0
1.13.0-alpha0