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

Fixing CI failures #73

Merged
merged 2 commits into from
Apr 25, 2023
Merged

Fixing CI failures #73

merged 2 commits into from
Apr 25, 2023

Conversation

comius
Copy link
Collaborator

@comius comius commented Apr 21, 2023

  • Fixing CI instructions to include only complete targets
  • Adding a dependency to rules_license
  • Fixing gazelle reference
  • Upgrading rules_go version

COAUTHOR=@kotlaja

@comius comius requested review from kotlaja and ted-xie and removed request for kotlaja April 21, 2023 12:31
- "//android/..."
- "//rules/..."
- "-//src/java/com/example/sampleapp/..."
- "-//src/tools/ak/..."
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Some subdirectories are missing on github.

- "//test/..."
- "//android/..."
- "//rules/..."
- "-//src/java/com/example/sampleapp/..."
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Has unexisting deps: "@androidsdk//com.android.support:appcompat-v7-25.0.0",
"@androidsdk//com.android.support:support-v4-25.2.0",

- "//..."
# test_targets:
# - "//..."
- "//src/..."
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the targets are included except //examples/..., which need to be build in a separate task, changing the directroy where their WORKSPACE file is.

The examples build works with Bazel@HEAD and using 2 extra flags:
bazel build --experimental_google_legacy_api --experimental_enable_android_migration_apis //...

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I think we added these to the repo-level .bazelrc already.

@meteorcloudy
Copy link
Member

You don't need the postsubmit.yml file, the rules_android CI pipeline uses presubmit.yml for both PR and postsubmit

@meteorcloudy
Copy link
Member

I closed and reopened the PR to trigger the presubmit, you can check the result now

Copy link
Contributor

@ted-xie ted-xie left a comment

Choose a reason for hiding this comment

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

LGTM at a glance. Thanks! I'll try importing this internally and we can address any subsequent issues there.

@copybara-service copybara-service bot merged commit 447aec2 into bazelbuild:pre-alpha Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants