Skip to content

Splitting into pre and post proguard tests #36

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

Merged
merged 16 commits into from
Sep 25, 2018
Merged

Conversation

ashwinraghav
Copy link
Contributor

@ashwinraghav ashwinraghav commented Sep 21, 2018

This change makes it possible to run the smoke tests on unproguarded versions of apps.
The goal is to have smoke tests that run on unproguarded apps and on proguarded apps.

Given the way the android plugin works, it seems hard to do this in the same gradle run, and may require that we have two separate gradle invocations for these tests.

./gradlew connectedCheck -PtestBuildType=release -PfirebaseProjectId=<your_project_id> -PfirebaseToken=<your_firebase_token> -Pm2Repository=${PWD}/../build/m2repository/

and

./gradlew connectedCheck -PtestBuildType=debug -PfirebaseProjectId=<your_project_id> -PfirebaseToken=<your_firebase_token> -Pm2Repository=${PWD}/../build/m2repository/

@ashwinraghav
Copy link
Contributor Author

@vkryachko
Copy link
Member

The proxy is enabled, we have not yet disabled the local shared mount of modules-2, will do today

@ashwinraghav
Copy link
Contributor Author

/test copyright-check

@ashwinraghav
Copy link
Contributor Author

/test connected-check

Copy link
Member

@vkryachko vkryachko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indents look wrong in python files, can you run yapf on it(from ci/fireci directory)?

os.path.join(cwd, 'build', 'm2repository')),
workdir=os.path.join(cwd, 'test-apps'),
)
def smoke_tests_proguarded_app():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both tasks look almost identical, did you consider having a single parameterized smoke_tests command with a @click.option('--build-type')?

@google-oss-bot
Copy link
Contributor

@ashwinraghav: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
smoke-tests-experimental 5647bf0 link /test smoke-tests-experimental

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@vkryachko
Copy link
Member

/test smoke-tests-release
/test smoke-tests-debug

@vkryachko
Copy link
Member

/lgtm

@ashwinraghav ashwinraghav merged commit a31bf37 into master Sep 25, 2018
@ashwinraghav ashwinraghav deleted the no_proguard_smoke branch September 25, 2018 21:57
@firebase firebase locked and limited conversation to collaborators Oct 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants