mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-15 14:18:19 +00:00
Release first alpha version to see how Travis responds.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo "travis.sh: I am building channel ${CHANNEL} for version ${VERSION} on architecture ${ARCH}."
|
echo "travis.sh: I am building channel ${CHANNEL} for version ${VERSION} on architecture ${ARCH}, branch $TRAVIS_BRANCH."
|
||||||
|
|
||||||
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
|
echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json
|
||||||
mkdir $HOME/.docker
|
mkdir $HOME/.docker
|
||||||
@@ -8,21 +8,19 @@ touch $HOME/.docker/config.json
|
|||||||
echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
|
echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
|
||||||
sudo service docker restart
|
sudo service docker restart
|
||||||
|
|
||||||
# build everything
|
|
||||||
echo "Now building $ARCH"
|
|
||||||
|
|
||||||
# First build amd64 image:
|
# First build amd64 image:
|
||||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
|
|
||||||
if [$ARCH == "arm"]; then
|
if [$ARCH == "arm"]; then
|
||||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
echo "Because architecture is $ARCH running some extra commands."
|
||||||
|
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||||
# get qemu-arm-static binary
|
|
||||||
mkdir tmp
|
# get qemu-arm-static binary
|
||||||
pushd tmp && \
|
mkdir tmp
|
||||||
curl -L -o qemu-arm-static.tar.gz https://github.com/multiarch/qemu-user-static/releases/download/v2.6.0/qemu-arm-static.tar.gz && \
|
pushd tmp && \
|
||||||
tar xzf qemu-arm-static.tar.gz && \
|
curl -L -o qemu-arm-static.tar.gz https://github.com/multiarch/qemu-user-static/releases/download/v2.6.0/qemu-arm-static.tar.gz && \
|
||||||
popd
|
tar xzf qemu-arm-static.tar.gz && \
|
||||||
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if the github branch is develop, build and push develop. Don't push a version tag anymore.
|
# if the github branch is develop, build and push develop. Don't push a version tag anymore.
|
||||||
|
|||||||
@@ -14,21 +14,21 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: ARCH=amd64 CHANNEL=stable VERSION=4.8.2
|
env: ARCH=amd64 CHANNEL=alpha VERSION=4.8.2-alpha.1
|
||||||
stage: build
|
stage: build
|
||||||
script: ./.deploy/docker/travis.sh
|
script: ./.deploy/docker/travis.sh
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: ARCH=arm CHANNEL=stable VERSION=4.8.2
|
env: ARCH=arm CHANNEL=alpha VERSION=4.8.2-alpha.1
|
||||||
stage: build
|
stage: build
|
||||||
script: ./.deploy/docker/travis.sh
|
script: ./.deploy/docker/travis.sh
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: arm64
|
arch: arm64
|
||||||
env: ARCH=arm64 CHANNEL=stable VERSION=4.8.2
|
env: ARCH=arm64 CHANNEL=alpha VERSION=4.8.2-alpha.1
|
||||||
stage: build
|
stage: build
|
||||||
script: ./.deploy/docker/travis.sh
|
script: ./.deploy/docker/travis.sh
|
||||||
- dist: xenial
|
- dist: xenial
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: CHANNEL=stable VERSION=4.8.2
|
env: CHANNEL=alpha VERSION=4.8.2-alpha.1
|
||||||
stage: manifest
|
stage: manifest
|
||||||
script: ./.deploy/docker/manifest.sh
|
script: ./.deploy/docker/manifest.sh
|
||||||
@@ -125,7 +125,7 @@ return [
|
|||||||
'is_demo_site' => false,
|
'is_demo_site' => false,
|
||||||
],
|
],
|
||||||
'encryption' => null === env('USE_ENCRYPTION') || env('USE_ENCRYPTION') === true,
|
'encryption' => null === env('USE_ENCRYPTION') || env('USE_ENCRYPTION') === true,
|
||||||
'version' => '4.8.2',
|
'version' => '4.8.2-alpha.1',
|
||||||
'api_version' => '0.10.5',
|
'api_version' => '0.10.5',
|
||||||
'db_version' => 11,
|
'db_version' => 11,
|
||||||
'maxUploadSize' => 15242880,
|
'maxUploadSize' => 15242880,
|
||||||
|
|||||||
Reference in New Issue
Block a user