-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from YIO-Remote/develop
EOL develop branch and automated release preparations
- Loading branch information
Showing
79 changed files
with
512 additions
and
2,538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# GitHub Action for creating simple (pre-)releases of the YIO remote-os. | ||
# There are no Buildroot builds involved since they are taking too long for the | ||
# GitHub runners. (This might be added later with external infrastructure). | ||
# - Creates a pre-release if pushed on master branch without a version tag. | ||
# - Creates a release if pushed on master branch with a version tag. | ||
--- | ||
name: "Release" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+ | ||
|
||
env: | ||
APP_NAME: app | ||
PROJECT_NAME: remote-os | ||
|
||
jobs: | ||
release: | ||
name: Create Release | ||
if: github.ref == 'refs/heads/master' || contains(github.ref, 'tags/v') | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout ${{ env.PROJECT_NAME}} | ||
uses: actions/checkout@v2 | ||
with: | ||
# History of 500 should be more than enough to calculate commit count since last release tag. | ||
fetch-depth: 500 | ||
path: ${{ env.PROJECT_NAME}} | ||
|
||
- name: Fetch all tags to determine version | ||
run: | | ||
cd ${{ env.PROJECT_NAME}} | ||
git fetch origin +refs/tags/*:refs/tags/* | ||
git describe --match "v[0-9]*" --tags HEAD --always | ||
- name: Get artifact version | ||
run: | | ||
cd ${{ env.PROJECT_NAME}} | ||
APP_VERSION=$(git describe --match "v[0-9]*" --tags HEAD --always) | ||
echo "::set-env name=APP_VERSION::$APP_VERSION" | ||
echo "::set-env name=TIMESTAMP::$(date +"%Y%m%d_%H%M%S")" | ||
- name: Create Pre-Release ${{ env.APP_VERSION }} | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
if: "!contains(github.ref, 'tags/v')" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
automatic_release_tag: "latest" | ||
prerelease: true | ||
title: "Development Build ${{ env.APP_VERSION }}" | ||
# No files yet, added manually for now | ||
#files: | | ||
# *.tar | ||
|
||
- name: Create Release ${{ env.APP_VERSION }} | ||
uses: "marvinpinto/action-automatic-releases@latest" | ||
if: "contains(github.ref, 'tags/v')" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: false | ||
# No files yet, added manually for now | ||
#files: | | ||
# *.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# home directory is not freely changeable! | ||
# systemd services don't support env variables in ExecStart! | ||
export YIO_HOME=/opt/yio | ||
export YIO_APP_DIR=${YIO_HOME}/app | ||
export YIO_PLUGIN_DIR=${YIO_HOME}/app-plugins | ||
export YIO_MEDIA_DIR=${YIO_HOME}/media | ||
export YIO_SCRIPT_DIR=${YIO_HOME}/scripts | ||
# remote-os release, set during build | ||
export YIO_OS_VERSION=$BUILD_VERSION | ||
# Git hash of the remote-os repo, set during build | ||
export YIO_OS_GITHASH=$GIT_HASH | ||
export YIO_LOG_DIR=/var/log | ||
export YIO_LOG_DIR_UPDATE=/boot/log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | ||
update_config=1 |
23 changes: 0 additions & 23 deletions
23
...keyboard/QtQuick/VirtualKeyboard/Styles/remotestyle/images/backspace-868482.svg
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...lay/keyboard/QtQuick/VirtualKeyboard/Styles/remotestyle/images/check-868482.svg
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...lay/keyboard/QtQuick/VirtualKeyboard/Styles/remotestyle/images/enter-868482.svg
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.