-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c537739
Showing
8 changed files
with
179 additions
and
0 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 @@ | ||
*.iso filter=lfs diff=lfs merge=lfs -text |
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,7 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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,23 @@ | ||
name: count_downloads | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 * * * *' | ||
|
||
jobs: | ||
count: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: checkout | ||
uses: actions/checkout@v2 | ||
- | ||
run: | | ||
curl -s https://api.github.com/repos/manjaro-pinephone/gnome-mobile/releases | egrep 'download_count' | cut '-d:' -f 2 | sed 's/,/+/' | xargs echo | xargs -I N echo N 0 | bc >docs/_includes/download_count | ||
- | ||
run: | | ||
git config --global user.name "Github Update Bot" | ||
git config --global user.email "github@manjaro.org" | ||
git add docs/_includes/download_count | ||
git commit -m "docs: update download count to $(cat docs/_includes/download_count)" && git push || echo "## no change in the download count" |
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,101 @@ | ||
name: image_build | ||
on: | ||
workflow_dispatch: | ||
# schedule: | ||
# - cron: '30 2 * * *' | ||
|
||
jobs: | ||
prepare_release: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- | ||
uses: styfle/cancel-workflow-action@0.9.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
- | ||
id: time | ||
uses: nanzm/get-time-action@v1.1 | ||
with: | ||
format: 'YYYYMMDDHHmm' | ||
- | ||
id: release | ||
uses: actions/create-release@v1.1.4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.time.outputs.time }} | ||
release_name: Release ${{ steps.time.outputs.time }} | ||
draft: false | ||
prerelease: false | ||
outputs: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
release_id: ${{ steps.release.outputs.id }} | ||
|
||
release: | ||
runs-on: ubuntu-20.04 | ||
needs: prepare_release | ||
strategy: | ||
matrix: | ||
DEVICE: [pinephone, pinephonepro] | ||
EDITION: [gnome-mobile] | ||
BRANCH: [unstable] | ||
steps: | ||
- | ||
uses: styfle/cancel-workflow-action@0.9.1 | ||
with: | ||
access_token: ${{ github.token }} | ||
- | ||
id: time | ||
uses: nanzm/get-time-action@v1.1 | ||
with: | ||
format: 'YYYYMMDD' | ||
- | ||
id: image-build | ||
uses: manjaro-arm/rootfs@master | ||
with: | ||
arm-profiles-repo: https://github.com/manjaro-pinephone/arm-profiles | ||
device: ${{ matrix.device }} | ||
edition: ${{ matrix.edition }} | ||
branch: ${{ matrix.branch }} | ||
version: ${{ steps.time.outputs.time }} | ||
#CI_PUB_KEY: "${{ secrets.CI_PUB_KEY }}" | ||
#CI_GPG_SECRET: "${{ secrets.CI_GPG_SECRET }}" | ||
#CI_GPG_PASSPHRASE: "${{ secrets.CI_GPG_PASSPHRASE }}" | ||
- | ||
id: upload_release | ||
uses: actions/upload-release-asset@v1.0.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ needs.prepare_release.outputs.upload_url }} | ||
asset_path: ./${{ env.FILE_PATH }} | ||
asset_name: ${{ env.FILE_PATH }} | ||
asset_content_type: application/x-iso-image | ||
- | ||
id: upload_sha1 | ||
uses: actions/upload-release-asset@v1.0.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ needs.prepare_release.outputs.upload_url }} | ||
asset_path: ./${{ env.FILE_SHA1 }} | ||
asset_name: ${{ env.FILE_SHA1 }} | ||
asset_content_type: text/plain | ||
- | ||
id: upload_pkg | ||
uses: actions/upload-release-asset@v1.0.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ needs.prepare_release.outputs.upload_url }} | ||
asset_path: ./${{ env.FILE_PKG }} | ||
asset_name: ${{ env.FILE_PKG }} | ||
asset_content_type: text/plain | ||
- | ||
name: rollback_release | ||
if: failure() | ||
uses: author/action-rollback@stable | ||
with: | ||
release_id: ${{ needs.prepare_release.outputs.release_id }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,5 @@ | ||
*.iso | ||
manjaro-tools | ||
pkg-cache | ||
iso-profiles | ||
iso |
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,26 @@ | ||
# Manjaro Gnome-Mobile Developer Edition | ||
[![iso_build](https://github.com/manjaro-pinephone/gnome-mobile/workflows/image_build/badge.svg)](https://github.com/manjaro-pinephone/gnome-mobile/actions) | ||
|
||
## description | ||
|
||
Development branch for Gnome-Mobile of Manjaro Linux for the Pinephone | ||
|
||
## where can I download an iso? | ||
|
||
Images are build and uploaded in a relatively regular interval to [github releases](https://github.com/manjaro-pinephone/gnome-mobile/releases) | ||
|
||
## sources | ||
|
||
- [image profile](https://github.com/manjaro-pinephone/arm-profiles) | ||
|
||
## building | ||
|
||
1. check out the arm-profiles | ||
2. `sudo buildarmimg -d pinephone -e gnome-mobile -v dev-20210227 -b unstable` | ||
|
||
## credentials | ||
|
||
``` | ||
user: manjaro | ||
password: 123456 | ||
``` |
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 @@ | ||
0 |
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,15 @@ | ||
--- | ||
--- | ||
|
||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<title>Manjaro Gnome Mobile</title> | ||
</head> | ||
|
||
<body> | ||
<pre>{% include url.href %}</pre> | ||
</body> | ||
|
||
</html> |