-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big restructuring by moving to python
- Loading branch information
Showing
448 changed files
with
2,493 additions
and
5,679 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,19 @@ | ||
# Git | ||
.git/ | ||
|
||
# IDE | ||
**/*.idea | ||
backup | ||
|
||
# Python | ||
**/*.egg-info | ||
**/*.pyc | ||
**/__pycache__ | ||
**/venv | ||
|
||
# Unit Test | ||
**/.coverage | ||
**/coverage.xml | ||
**/xunit.xml | ||
**/coverage | ||
tmp/ |
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 |
---|---|---|
@@ -1,17 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
github: [budtmo] | ||
|
||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
|
||
# Bitcoin (BTC) | ||
custom: | ||
- "paypal.me/budtmo" | ||
- "paypal.me/budtmo" |
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,45 @@ | ||
name: 🐛 Bug Report | ||
description: File a bug report | ||
title: "[🐛 Bug ]: " | ||
labels: [bug] | ||
body: | ||
- type: input | ||
id: operating-system | ||
attributes: | ||
label: Operating System | ||
description: Which host operating system do you use? | ||
placeholder: e.g. OSX Yosemite / Ubuntu 20.04 / Windows 10 etc | ||
validations: | ||
required: true | ||
- type: input | ||
id: docker-image | ||
attributes: | ||
label: Docker Image | ||
description: Which docker image do you use? | ||
placeholder: e.g. budtmo/docker-android:emulator_10.0_v2.0 / budtmo/docker-android:genymotion_v2.0 etc | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behaviour | ||
attributes: | ||
label: Expected behaviour | ||
description: | | ||
What behaviour that you expected? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual-behaviour | ||
attributes: | ||
label: Actual behaviour | ||
description: | | ||
What is the actual behaviour? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Logs | ||
description: | | ||
Please provide logs here | ||
validations: | ||
required: false |
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,45 @@ | ||
name: 🐛 [Pro version] Bug Report | ||
description: File a bug report | ||
title: "[🐛 PRO | Bug ]: " | ||
labels: [bug, pro] | ||
body: | ||
- type: input | ||
id: operating-system | ||
attributes: | ||
label: Operating System | ||
description: Which host operating system do you use? | ||
placeholder: e.g. OSX Yosemite / Ubuntu 20.04 / Windows 10 etc | ||
validations: | ||
required: true | ||
- type: input | ||
id: docker-image | ||
attributes: | ||
label: Docker Image | ||
description: Which docker image do you use? | ||
placeholder: e.g. budtmo/docker-android-pro:emulator_10.0_v2.0 / budtmo/docker-android-pro:emulator_headless_10.0_v2.0 etc | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behaviour | ||
attributes: | ||
label: Expected behaviour | ||
description: | | ||
What behaviour that you expected? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual-behaviour | ||
attributes: | ||
label: Actual behaviour | ||
description: | | ||
What is the actual behaviour? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Logs | ||
description: | | ||
Please provide logs here | ||
validations: | ||
required: false |
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 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 📖 Docker-Android Documentation | ||
url: https://github.com/budtmo/docker-android | ||
about: Please read the whole project README before filling out an issue. |
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,29 @@ | ||
name: 🚀 Feature Request | ||
description: Submit your idea to have cool feature(s) | ||
title: "[🚀 Feature Request ]: " | ||
labels: [feature-request] | ||
body: | ||
- type: textarea | ||
id: idea | ||
attributes: | ||
label: Idea | ||
description: | | ||
What is the idea that you want to share to improve the project? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Probelm to solve | ||
description: | | ||
What is the problem that you want to solve with requested feature? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: Note | ||
attributes: | ||
label: Additional Note | ||
description: | | ||
Please share any additional information here if needed | ||
validations: | ||
required: false |
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 |
---|---|---|
@@ -1,12 +1,8 @@ | ||
### Purpose of changes | ||
<!-- Please describe why this change is required / What problem you want to solve. --> | ||
|
||
### Types of changes | ||
_Put an `x` in the boxes that apply_ | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
|
||
### How has this been tested? | ||
<!-- Please describe in detail how you tested your changes. --> | ||
### Purpose of changes | ||
<!-- Please describe why this change is required / What problem you want to solve. --> |
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,82 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*-*' | ||
|
||
jobs: | ||
run_test: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-version: ["3.8"] | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
cd cli | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
- name: Run test | ||
run: | | ||
cd cli && nosetests -v | ||
release_base: | ||
runs-on: ubuntu-20.04 | ||
needs: run_test | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get release version | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
|
||
- name: Build and push base image (${RELEASE_VERSION}) | ||
run: | | ||
docker login -u=${{secrets.DOCKER_USERNAME}} -p=${{secrets.DOCKER_PASSWORD}} | ||
./app.sh push base ${RELEASE_VERSION} | ||
docker logout | ||
release_emulator: | ||
runs-on: ubuntu-20.04 | ||
needs: release_base | ||
strategy: | ||
matrix: | ||
android: ["9.0", "10.0", "11.0", "12.0", "13.0"] | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get release version | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
|
||
- name: Build and push emulator image ${{ matrix.android }} (${RELEASE_VERSION}) | ||
run: | | ||
docker login -u=${{secrets.DOCKER_USERNAME}} -p=${{secrets.DOCKER_PASSWORD}} | ||
./app.sh push emulator ${RELEASE_VERSION} ${{ matrix.android }} | ||
docker logout | ||
release_genymotion: | ||
runs-on: ubuntu-20.04 | ||
needs: release_base | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get release version | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
|
||
- name: Build and push genymotion image (${RELEASE_VERSION}) | ||
run: | | ||
docker login -u=${{secrets.DOCKER_USERNAME}} -p=${{secrets.DOCKER_PASSWORD}} | ||
./app.sh push genymotion ${RELEASE_VERSION} | ||
docker logout |
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,25 @@ | ||
name: Run Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build_and_test: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build base image | ||
run: script -e -c "./app.sh build base test" | ||
|
||
- name: Build emulator image and run unit-test | ||
run: script -e -c "./app.sh test emulator test 11.0 && sudo mv tmp/* . && ls -al" | ||
|
||
- name: Publish test result | ||
run: script -e -c "bash <(curl -s https://codecov.io/bash)" |
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 |
---|---|---|
@@ -1,9 +1,20 @@ | ||
.idea/* | ||
.DS_Store | ||
*.pyc | ||
# IDE | ||
**/*.idea | ||
backup | ||
|
||
# Coverage | ||
.coverage | ||
coverage.xml | ||
xunit.xml | ||
coverage/* | ||
# Python | ||
**/*.egg-info | ||
**/*.pyc | ||
**/__pycache__ | ||
**/venv | ||
|
||
# Unit Test | ||
**/.coverage | ||
**/coverage.xml | ||
**/xunit.xml | ||
**/coverage | ||
tmp/ | ||
|
||
# Dev-files | ||
n*.txt | ||
test-*.sh |
Oops, something went wrong.