Граф коммитов

209 Коммитов

Автор SHA1 Сообщение Дата
Barret Rennie 8404b60b58 Support swiftformat on non-Darwin hosts 2024-01-18 03:20:47 +00:00
Barret Rennie 79880fc4aa Support swiftlint on non-Darwin hosts 2024-01-18 03:20:47 +00:00
Barret Rennie 10eb660f98 Add a utility to check for docker in automation/tests.py 2024-01-18 03:20:47 +00:00
Shubham Chaudhary 86bbfb0d57 [SYNC-3518] Add requirements.txt for automation directory
Solves PR: #5281
2023-10-05 15:39:11 +00:00
James Hugman 03b8c4d4cd Rearrange layout of server megazord to allow aarch64 and x86_64 2023-09-20 13:23:16 +00:00
Ben Dean-Kawamura fe3fb75ae7 Don't try to run trybuild tests with older rust versions
This is just asking for failure since we try to pin the trybuild output
to the newer rust version.

Updated `tests.py` to handle this and switched to using that in the
CircleCI config.  Ironically, it looks like we switched away from
`tests.py` because it was running too many tests in a previous Rust
upgrade.  Hopefully the new system is easy enough to tune the next time
this bites us.
2023-09-14 00:07:57 +00:00
James Hugman 5c190edd6a Initial commit of nimbus-experimenter megazord build 2023-09-13 15:07:55 +00:00
Lina Butler 05e579f746 taskcluster: Use `/usr/bin/env` in the shebang line to invoke `python3`.
I use pyenv to manage Python versions locally, so the `python3`
executable in my `PATH` is a shim that's different from the system
`python3`. This change ensures that running the Taskcluster scripts
locally uses the `python3` shims in my `PATH`.
2023-09-08 16:32:07 +00:00
Andrew Halberstadt 10b032aab0 Add 'version.txt' to project root and refactor automation to use it
This is needed in order to add application-services to Shipit, which
expects a `version.txt` file at the repository root. Rather than have
this duplicated both here and `.buildconfig-android.yml`, this patch
refactors automation to use `version.txt` instead.

Bug: 1842897
2023-07-17 13:35:11 +00:00
Ben Dean-Kawamura a0827dc2c3 Updating buildconfig for release cycle 116
Bumped the version in `.buildconfig-android.yml` and also fixed the
`prepare-release.py` script to properly bump the version next time.
2023-06-07 14:17:32 +00:00
Ryan VanderMeulen 63de16fdca Bump XCode to version 14.3.1 2023-05-27 20:13:17 +00:00
Charlie 795d72c9d4 move python tests 2023-05-23 19:21:50 +00:00
Charlie 896dc8a30a fix python tests 2023-05-23 19:21:50 +00:00
Charlie f8360ebe39 add license 2023-05-23 19:21:50 +00:00
Charlie 9b63b7d017 update tests to remove unittest uses and adjust configurations 2023-05-23 19:21:50 +00:00
Charlie 7eb2b77bc4 finish sdk/fml integration unit test 2023-05-23 19:21:50 +00:00
Charlie becc00c482 add nimbus-fml coverage, update python tests 2023-05-23 19:21:50 +00:00
Charlie 023d4727b2 add uniffi bindings for nimbus-fml; add FmlClient object with appropriate methods 2023-05-23 19:21:50 +00:00
Charlie 7f28f92226 update cirrus python test configuration 2023-05-17 15:26:37 +00:00
Charlie b79e5e0d8b update python test formatting 2023-05-09 21:37:57 +00:00
Charlie ad0d805487 add python tests and update CirrusClient members 2023-05-09 21:37:57 +00:00
Ben Dean-Kawamura f7b834f5b1 Bumping version in .buildconfig-android.yml 2023-05-08 16:45:03 +00:00
Ben Dean-Kawamura 48b8a12a11 Write trailing newlines when updating the changelog
Minor tweak that should make the PRs cleaner.
2023-05-08 14:55:38 +00:00
Ben Dean-Kawamura d853bd4847 Updating the release process and scripts
Updated/added scripts to handle releases.

Renamed `cut-an-new-release.md` to `releases.md` and updated the
contents.

Removed CHANGES_UNRELEASED.  The new release system is simple enough
that we can just write entries directly to the changelog.
2023-05-05 22:53:41 +00:00
Ben Dean-Kawamura 7ab0b4a631 Adding branch names to the shared code 2023-05-05 22:53:41 +00:00
lougeniaC64 bddfaa6e23
Fixing the objcopy path when building the building the megazord (#5483)
Co-authored-by: Ben Dean-Kawamura <bdk@mozilla.com>
2023-04-17 15:42:27 -04:00
jhugman 79b00b43e9
Add emoji to What's New and What's Changed (#5309) 2023-01-04 20:32:39 +00:00
Ben Dean-Kawamura 40f7b3e061 Reverting the Android NDK upgrade (#5165) 2022-10-12 16:13:37 -04:00
Ben Dean-Kawamura aad2c89828 Fixing the objcopy path when building the building the megazord 2022-09-20 18:35:07 -04:00
Mark Hammond e5d8a6d76c
Get sync-test working again. (#5107)
sync-test was removed from the workspace some time ago, which meant it
was never built or checked, so it went quite stale, particularly with
respect to logins changes.

We not keep it in the workspace but as an "excluded" item, which means
you can run it from its directory. To prevent it going stale again, CI
runs clippy on it.

Also needed a few misc tweaks to some other crates.
2022-09-08 20:02:18 +10:00
Tarik Eshaq ebbcc857b2
Adds firefox iOS smoke test (#4960)
* Adds firefox ios smoke test

* Document smoke test for firefox iOS
2022-05-19 13:28:28 -07:00
Sammy Khamis 3fbe10cfbe
Merge ios and ios-rust directories and clean up Xcode project (#4830)
* remove ios and keep ios-rust directory
2022-03-03 10:03:32 -10:00
Tarik Eshaq f14d3ab52c
Misc updates now that we got rid of carthage [ci full] (#4827)
* Removes outdated ffi doc

* various documentation updates re: Carthage is gone

* Remove dependency on swift protobuf

* update dependency summaries to exclude swift-protobuf

* revert taskcluster rust targets change
2022-02-07 16:23:55 -08:00
Sammy Khamis a086905f3d
Remove all Carthage and switch to xcframeworks (#4619)
* removing carthage and using xcframeworks
* update xcode to 13.2.1
* update resource class
2022-02-03 15:05:05 -10:00
Tarik Eshaq d301163d67
Only test all-features if features exist (#4749) 2021-12-21 09:41:00 -07:00
Tarik Eshaq 451bcc2fe8
Fix swiftformat (#4710)
* Fixes swiftformat

* upgrades the ci to use swiftversion 5
2021-12-06 13:40:57 -08:00
Sammy Khamis e9bfa79c09
Update XCode to 13 [ci full] (#4492)
* update xcode to 13 in circleci
* update build system usage
2021-09-27 13:54:08 -10:00
Ryan Kelly ce6a72abd8 Have Nimbus optionally import Glean as an external Swift module.
Currently on iOS, Nimbus and Glean are always compiled together as
part of the same Swift module in the iOS megazord. This means that
Nimbus can see and use many of Glean's internal helper functions,
which in fact it does.

When we switch to distributing via Swift packages, we'll need to
be more careful about inter-module hygiene. I think ideally the
Nimbus Swift code would consume Glean as an ordinary Swift dependency
via `import Glean`.

To make that work while also preserving the current behaviour for
current consumers, I have:

* Added a conditional import of Glean, which gets ignored in the
  existing megazord but makes Glean available in a Swift package build.
* Copied the internal helper modules that we were using from Glean
  into the `nimbus/ios` directory, so that this directory can be
  compiled as a standalone Swift module using only public Glean
  APIs.

Importantly, I have *not* included the copied utility files in the
iOS megazord Xcode project. That build already uses the ones from
Glean and would error out if we included duplicates.

All in all, this doesn't seem like a sustainable setup, but perhaps
it can be the first step towards something cleaner. Maybe we could
make a shared utility module that both Glean and Nimbus can depend
on? Maybe Glean could commit to making these utilities part of its
public API surface?

Suggestions welcome! What I know is that this helps unblock the work
on publishing as a Swift package in the meantime. Fixes #4308.
2021-08-09 05:08:09 +00:00
Ryan Kelly c4304d97bb The android-components default branch is now `main`. 2021-07-29 11:02:04 +10:00
Ben Dean-Kawamura c9f9823b32 Updating the prepare-release script
Fixed the PR URL when using a forked repo
2021-07-13 12:49:08 -04:00
Ben Dean-Kawamura 9b1027af85 Simpliying open_database code
- Removed the ErrorHandling enum, we decided to always return failure
 - Removed the DatabaseLocation enum, we can use ":memory:" to open
   memory DB.
 - Removed the START_VERSION.  This was redundant because the upgrade
   functions are going to list which versions they support in the match
   statement.
 - In the autofill::schema code, make the schema functions top-level and
   put them after the MigrationLogic code.

Couple other cleanups:
 - Updated tests.py to not run the megazord tests if just the dependency
   files change.
 - Replaced Jira link with Github
2021-06-17 14:41:37 -04:00
Ryan Kelly f27b2bfae0 Fix Fenix smoketest script.
The Fenix gradle task that we were relying on for our smoketest
scripts has been removed. This updates our script to use a different
test target.
2021-06-15 14:21:08 +10:00
Ben Dean-Kawamura 6ccf0c9a25 Don't use the codecov bash uploader 2021-06-14 10:50:35 -04:00
Grisha Kruglov a81cf6d7ae
Do not run cargo tests for examples/ packages on CI (#4170) 2021-06-01 18:19:34 +10:00
Ryan Kelly c560641cbb Use resolved path for executing ./gradlew in tests.
Fixes #4084.
2021-06-01 15:55:10 +10:00
lougeniaC64 2db8e12ea3
Update unreleased changes automation (#4138) 2021-05-25 12:08:22 -04:00
Ben Dean-Kawamura f4c2dfd632 Fixing change detection in tests.py
Don't call strip() on the command output, it altered the git status
output and made the script think that `rust fmt` didn't make any changes
when it did.
2021-05-24 11:23:08 -04:00
Sammy Khamis 38ebab9de6
Removed auto-generated metrics.md files, fixed error in publishToLocalMaven with directories (#4098) 2021-05-19 10:03:28 +10:00
Ben Dean-Kawamura 31d6caac0e tests.py: don't crash when files are deleted 2021-05-06 14:58:22 -04:00
Ben Dean-Kawamura 9f68f525c5 Added status printout at the end of tests.py
This way you know if cargo fmt made changes or not.
2021-05-06 14:37:39 -04:00