Skip to content

Commit

Permalink
test: increase Android SDK Command-line Tools to v11
Browse files Browse the repository at this point in the history
  • Loading branch information
gmeligio committed Jan 11, 2024
1 parent 0fa7b03 commit ad5351e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
ENV LANG=C.UTF-8

# renovate: datasource=repology depName=debian_12/curl versioning=loose
ARG CURL_VERSION="7.88.1-10+deb12u4"
ARG CURL_VERSION="7.88.1-10+deb12u5"
# renovate: datasource=repology depName=debian_12/git versioning=loose
ARG GIT_VERSION="1:2.39.2-1.1"
# renovate: datasource=repology depName=debian_12/lcov versioning=loose
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The Dockerfile expects a few parameters:

<pre><code className="language-bash">
{`# Android
docker build --target android --build-arg flutter_version=${flutterVersion} fastlane_version=${fastlaneVersion} android_build_tools_version=${buildToolsVersion} --build-arg android_platform_versions="${androidPlatformVersions}" -t android-test .`}
docker build --target android --build-arg flutter_version=${flutterVersion} --build-arg fastlane_version=${fastlaneVersion} --build-arg android_build_tools_version=${buildToolsVersion} --build-arg android_platform_versions="${androidPlatformVersions}" -t android-test .`}
</code></pre>

### Dockerfile stages
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ The Dockerfile expects a few parameters:

```bash
# Android
docker build --target android --build-arg flutter_version=3.16.6 fastlane_version=2.219.0 android_build_tools_version=30.0.3 --build-arg android_platform_versions="33" -t android-test .
docker build --target android --build-arg flutter_version=3.16.6 --build-arg fastlane_version=2.219.0 --build-arg android_build_tools_version=30.0.3 --build-arg android_platform_versions="33" -t android-test .
```

### Dockerfile stages
Expand Down
2 changes: 1 addition & 1 deletion script/test.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker compose build android && container-structure-test-windows-amd64.exe test --image docker.io/library/flutter-docker-image-android --config test\android.yml
docker compose build android && container-structure-test test --image docker.io/library/flutter-docker-image-android --config test/android.yml
1 change: 1 addition & 0 deletions script/test_windows.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker compose build android && container-structure-test-windows-amd64.exe test --image docker.io/library/flutter-docker-image-android --config test\android.yml
4 changes: 2 additions & 2 deletions test/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ commandTests:
- Sending anonymous analytics information

fileContentTests:
- name: 'Android SDK Command-line Tools is version 11.0'
- name: 'Android SDK Command-line Tools is version 12.0'
path: '/home/flutter/sdks/android-sdk/cmdline-tools/latest/source.properties'
expectedContents:
- Pkg.Revision=11.0\nPkg.Path=cmdline-tools;11.0\nPkg.Desc=Android SDK Command-line Tools
- Pkg.Revision=12.0\nPkg.Path=cmdline-tools;12.0\nPkg.Desc=Android SDK Command-line Tools
- name: Dart and Flutter analytics are disabled
path: /home/flutter/.dart-tool/dart-flutter-telemetry.config
expectedContents:
Expand Down

0 comments on commit ad5351e

Please sign in to comment.