Skip to content

Commit

Permalink
qemu 5.0.0-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Kuvakin committed Jun 1, 2020
1 parent d05f854 commit e455e52
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ addons:
# with rpm2cpio (4.12.0.1+dfsg1-3build3) and
# cpio (2.11+dfsg-5ubuntu1) and rpm2cpio for xenial.
# https://packages.ubuntu.com/bionic/cpio
- sourceline: 'deb http://archive.ubuntu.com/ubuntu bionic main universe'
- sourceline: "deb http://archive.ubuntu.com/ubuntu bionic main universe"
packages:
- jq
- rpm2cpio
- cpio
env:
global:
- MAJOR_VERSION=4
- MINOR_VERSION=2
- MAJOR_VERSION=5
- MINOR_VERSION=0
- PATCH_VERSION=0
- RELEASE_VERSION=7
- RELEASE_VERSION=2
- VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_VERSION-$RELEASE_VERSION
# Container tag version string.
# Set it here to give a flexibility of the value such as "X.Y".
Expand All @@ -38,23 +38,23 @@ env:
# Container repository
- DOCKER_REPO=$DOCKER_SERVER/multiarch/qemu-user-static
# - DOCKER_REPO=$DOCKER_SERVER/your_username/qemu-user-static
- PACKAGE_URI="https://kojipkgs.fedoraproject.org/packages/qemu/4.2.0/7.fc33/x86_64/qemu-user-static-4.2.0-7.fc33.x86_64.rpm"
- PACKAGE_URI="https://kojipkgs.fedoraproject.org/packages/qemu/5.0.0/2.fc33/x86_64/qemu-user-static-5.0.0-2.fc33.x86_64.rpm"
- PACKAGE_FILENAME=$(basename "$PACKAGE_URI")
before_script:
- wget --content-disposition $PACKAGE_URI
- rpm2cpio $PACKAGE_FILENAME | cpio -dimv
script:
- ./generate_tarballs.sh
- |
if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
./publish.sh -v "$VERSION" -t "$GITHUB_TOKEN" -r "$REPO"
fi
if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
./publish.sh -v "$VERSION" -t "$GITHUB_TOKEN" -r "$REPO"
fi
- ./update.sh -v "$VERSION" -t "$TAG_VER" -r "$REPO" -d "$DOCKER_REPO"
- docker images
- ./test.sh -d "$DOCKER_REPO"
after_success:
- |
if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" "$DOCKER_SERVER" && \
docker push "$DOCKER_REPO"
fi
if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" "$DOCKER_SERVER" && \
docker push "$DOCKER_REPO"
fi

0 comments on commit e455e52

Please sign in to comment.