Compare commits

...
13 Commits
Author SHA1 Message Date
budtmo 7a4933c63a Updated base image to 2.0.0-p1 2023-08-04 14:29:53 +02:00
Budi UtomoandGitHub e268a43141 Merge pull request #379 from foureight84/wsl2-nestedVirtualization
[documentation] WSL2 - added instructions to enable hw accelerated kvm via nestedvirtualization flag
2023-08-04 12:44:08 +02:00
Khoa Truong 87bebdf4ea [documentation] added instructions to enable hw accelerated kvm via nestedvirtualization flag 2023-08-03 01:42:06 -07:00
Budi UtomoandGitHub 52642214ed Merge pull request #374 from budtmo/dependabot/pip/master/click-8.1.6
[pip] Bump click from 8.1.5 to 8.1.6
2023-07-19 07:35:54 +02:00
dependabot[bot]andGitHub f0985a3898 [pip] Bump click from 8.1.5 to 8.1.6
Bumps [click](https://github.com/pallets/click) from 8.1.5 to 8.1.6.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.6/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.5...8.1.6)

---
updated-dependencies:
- dependency-name: click
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 23:19:20 +00:00
Budi UtomoandGitHub b082c0545f Merge pull request #372 from budtmo/dependabot/pip/master/coverage-7.2.7
[pip] Bump coverage from 7.2.5 to 7.2.7
2023-07-14 12:33:07 +02:00
dependabot[bot]andGitHub 6625803431 [pip] Bump coverage from 7.2.5 to 7.2.7
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.2.5 to 7.2.7.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.2.5...7.2.7)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 10:26:01 +00:00
Budi UtomoandGitHub 6918f1519f Merge pull request #371 from budtmo/dependabot/pip/master/click-8.1.5
[pip] Bump click from 8.1.3 to 8.1.5
2023-07-14 12:25:29 +02:00
Budi UtomoandGitHub 92c655cad2 Merge pull request #370 from budtmo/dependabot/pip/master/mock-5.1.0
[pip] Bump mock from 5.0.2 to 5.1.0
2023-07-14 12:24:52 +02:00
dependabot[bot]andGitHub 9ad0f32d93 [pip] Bump click from 8.1.3 to 8.1.5
Bumps [click](https://github.com/pallets/click) from 8.1.3 to 8.1.5.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/8.1.5/CHANGES.rst)
- [Commits](https://github.com/pallets/click/compare/8.1.3...8.1.5)

---
updated-dependencies:
- dependency-name: click
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 10:18:02 +00:00
dependabot[bot]andGitHub e77bb73077 [pip] Bump mock from 5.0.2 to 5.1.0
Bumps [mock](https://github.com/testing-cabal/mock) from 5.0.2 to 5.1.0.
- [Changelog](https://github.com/testing-cabal/mock/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/testing-cabal/mock/compare/5.0.2...5.1.0)

---
updated-dependencies:
- dependency-name: mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 10:17:59 +00:00
budtmo 6e9d4767f6 Added dependabot to update dependencies 2023-07-14 12:17:33 +02:00
budtmo 77f1be5bdd Updated appium base image 2023-07-06 10:26:29 +02:00
4 changed files with 75 additions and 4 deletions
+40
View File
@@ -0,0 +1,40 @@
version: 2
updates:
- package-ecosystem: docker
directory: "/docker"
schedule:
interval: daily
time: '01:00'
timezone: "Europe/Berlin"
commit-message:
prefix: "[docker] "
target-branch: "master"
open-pull-requests-limit: 99
reviewers:
- "budtmo"
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: '01:00'
timezone: "Europe/Berlin"
commit-message:
prefix: "[pip] "
target-branch: "master"
open-pull-requests-limit: 99
reviewers:
- "budtmo"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: '01:00'
timezone: "Europe/Berlin"
commit-message:
prefix: "[github-action] "
target-branch: "master"
open-pull-requests-limit: 99
reviewers:
- "budtmo"
+31
View File
@@ -73,6 +73,37 @@ Quick Start
docker exec -it android-container cat device_status
```
WSL2 Hardware acceleration (Windows 11 only)
-----------
Credit goes to [Guillaume - The Parallel Interface blog](https://www.paralint.com/2022/11/find-new-modified-and-unversioned-subversion-files-on-windows)
[Microsoft - Advanced settings configuration in WSL](https://learn.microsoft.com/en-us/windows/wsl/wsl-config)
1. Add yourself to the `kvm` usergroup.
```
sudo usermod -a -G kvm ${USER}
```
2. Add necessary flags to `/etc/wsl2.conf` to their respective sections.
```
[boot]
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
[wsl2]
nestedVirtualization=true
```
3. Restart WSL2 via CMD prompt or Powershell
```
wsl --shutdown
```
`command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'` sets `/dev/kvm` to `kvm` usergroup rather than the default `root` usergroup on WSL2 startup.
`nestedVirtualization` flag is only available to Windows 11.
Use-Cases
---------
+3 -3
View File
@@ -1,6 +1,6 @@
autopep8==2.0.2
click==8.1.3
coverage==7.2.5
mock==5.0.2
click==8.1.6
coverage==7.2.7
mock==5.1.0
nose==1.3.7
requests==2.31.0
+1 -1
View File
@@ -1,4 +1,4 @@
FROM appium/appium:v2.0.b71-p0
FROM appium/appium:v2.0.0-p1
LABEL maintainer "Budi Utomo <budtmo.os@gmail.com>"