Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2116 from jcvenegas/1.8.3-branch-bump
Browse files Browse the repository at this point in the history
# Kata Containers 1.8.3
  • Loading branch information
jcvenegas authored Oct 9, 2019
2 parents c12cfe7 + 23b2e29 commit 6b55a53
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .ci/versions_checker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash
#
# Copyright (c) 2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# The purpose of this script is to
# run the tag_repos.sh script that is in the
# packaging repository which checks the VERSION
# file from the components in order to verify
# that the VERSION matches between them.
# This ensures that the rest
# of the components are merged before the runtime

set -e

GOPATH=${GOPATH:-${HOME}/go}

PACKAGING_REPO="github.com/kata-containers/packaging"
RUNTIME_REPO="github.com/kata-containers/runtime"
KATA_BRANCH=${target_branch:-master}

go get -d "${PACKAGING_REPO}" || true

check_changes=$(git diff --name-only "origin/${KATA_BRANCH}" | grep VERSION)
version_to_check=$(cat "${GOPATH}/src/${RUNTIME_REPO}/VERSION")

if [ ! -z "$check_changes" ]; then
echo "Changes detected on VERSION"
echo "Check versions in branch ${KATA_BRANCH}"
pushd "${GOPATH}/src/${PACKAGING_REPO}"
./release/tag_repos.sh -b "${KATA_BRANCH}" pre-release "${version_to_check}"
popd
fi
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ env:
- target_branch=$TRAVIS_BRANCH

before_install:
- git remote set-branches --add origin "${TRAVIS_BRANCH}"
- git fetch
- ".ci/setup.sh"
- ".ci/versions_checker.sh"

before_script:
- ".ci/static-checks.sh"
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.2
1.8.3

0 comments on commit 6b55a53

Please sign in to comment.