Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release v1.2.0 #83

Merged
merged 30 commits into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7f5978f
Merge branch 'master' into develop
May 15, 2020
ecd4b7b
Update README.md
vincentbrison May 20, 2020
3ab3e5f
Make GCloud SDK optional
May 27, 2020
b40fb16
Don't print GCloud desc if not installed
May 27, 2020
31b43d1
Update test to support optional gcloud
May 27, 2020
affc5c7
Update workflow to run with/without gcloud
May 27, 2020
cbd82ba
Update README
May 27, 2020
c97168d
Merge pull request #69 from faberNovel/feature/gcloud_free_image
vincentbrison May 27, 2020
a0c9e4d
Fix daily runner by adding gcloud
May 28, 2020
e38e43b
Fix gcloud path
May 29, 2020
5729eec
Merge pull request #71 from faberNovel/feature/fix_gcloud_path
vincentbrison May 29, 2020
a6adee2
Add ssh support
Jun 12, 2020
a149584
Add ssh test
Jun 12, 2020
7130354
Fix action test
Jun 12, 2020
9ec188d
Merge pull request #73 from faberNovel/feature/ssh
vincentbrison Jun 12, 2020
346f237
Don't use double brackets for tests
Jun 15, 2020
6eabc14
Fix android NDK parameter name in github workflows
Jun 15, 2020
f6d55b5
Merge pull request #75 from faberNovel/bugfix/android_ndk_parameter_name
sjcqs Jun 15, 2020
3324f7c
Install libcurl
Jun 23, 2020
5fe521d
Add fastlane-plugin-badge plugin to test-app
Jul 1, 2020
703f9ba
Update README
Jul 1, 2020
b130d2f
Fix needed native libs
Jul 1, 2020
74c92b0
Merge pull request #77 from faberNovel/feature/install_libcurl
vincentbrison Jul 1, 2020
4b9ebf1
Replace RBENV_HOME with RBENV_ROOT
Jul 29, 2020
cbe9644
Test if rbenv install is still available after home change
Jul 29, 2020
123daec
Merge pull request #81 from faberNovel/feature/set_rbenv_root
vincentbrison Jul 30, 2020
a229555
Update action tests
Jul 30, 2020
73527a9
Add more contextualized tests to action testing
Jul 30, 2020
9c27012
Merge pull request #82 from faberNovel/feature/improve_action_testing
vincentbrison Jul 30, 2020
ea60a8c
Add changelog and images description
Jul 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
zlib1g-dev \
libssl-dev \
libreadline-dev \
unzip
unzip \
ssh

## Clean dependencies
RUN apt-get clean
Expand Down
2 changes: 1 addition & 1 deletion ci_cd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fi
if [ "$test" = true ]; then
tasks=$((tasks+1))
echo "Testing image $full_image_name"
test_options="--android-api $android_api --android-build-tools $android_build_tools"
test_options="--check-base-tools --android-api $android_api --android-build-tools $android_build_tools"
if [ "$android_ndk" = true ]; then
test_options="$test_options --android-ndk"
fi
Expand Down
13 changes: 9 additions & 4 deletions tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ usage() {
echo " --android-ndk Test with NDK application"
echo " --android-api Tests apps compile and target SDK"
echo " --gcloud Tests if gcloud SDK was installed"
echo " --check-base-tools Test base tools setup like Java, Ruby and other"
echo " --android-build-tools Used android builds tools"
echo " --large-test Run large tests on the image (Firebase Test Lab for example)"
echo " --large-test Run large tests on the image (Firebase Test Lab for example)"
exit 1
}

Expand All @@ -26,6 +27,7 @@ while true; do
case "$1" in
--android-ndk ) android_ndk=true; shift ;;
--gcloud ) gcloud=true; shift ;;
--check-base-tools ) check_base_tools=true; shift ;;
--android-api ) android_api=$2; shift 2 ;;
--android-build-tools ) android_build_tools=$2; shift 2 ;;
--large-test ) large_test=true; shift ;;
Expand All @@ -41,10 +43,13 @@ if [ -z "$android_build_tools" ]; then
usage
fi

java -version
rbenv -v
if [ "$check_base_tools" = true ]; then
java -version
rbenv -v
ssh -V
fi

if [[ "$gcloud" = true ]]; then
if [ "$gcloud" = true ]; then
# Check if gcloud sdk is installed
gcloud --version
fi
Expand Down