Commit Graph

81 Commits

Author SHA1 Message Date
Akash Yadav
b035cfd10c fix: format and lint with shfmt + shellcheck
Signed-off-by: Akash Yadav <contact@itsaky.com>
2026-07-31 00:39:10 +00:00
Akash Yadav
f940a5a54e fix: format and lint with shfmt + shellcheck
Signed-off-by: Akash Yadav <contact@itsaky.com>
2026-07-31 00:39:10 +00:00
celenity
86a4f0cd9d fix: IRONFOX_NODE_VERSION
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-28 00:17:38 +00:00
celenity
025d607da5 fix: decrease default verbosity (+ add IRONFOX_VERBOSE env var to control it)
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-23 23:16:25 +00:00
celenity
0cc18b7b85 fix: add git-lfs to PATH for CI
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-23 07:13:42 +00:00
celenity
a77d9af81b WIP: 153.0
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-21 03:39:36 +00:00
celenity
efbdbb3e0f fix: add as + gcc to PATH
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-18 03:46:50 +00:00
celenity
69c5accbcd fix: add sw_vers to PATH for OS X
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-18 02:38:07 +00:00
celenity
fc1edaa060 fix: add realpath to PATH
Signed-off-by: celenity <celenity@celenity.dev>
2026-07-18 01:09:05 +00:00
celenity
31cfc61fa2 feat: Set env vars for additional utilities + do not use the system PATH (in favor of our own custom PATH)
This should improve security (by ensuring we always specify the full paths to executables, and preventing use of unintended/undesired system executables), control (by allowing users to specify where these executables should be located), and consistency/reproducability

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-17 02:46:08 +00:00
celenity
d5af0e1fde feat: Add support for IronFox constants
These are constant values (defined at `ironfox.configure`) which can be used anywhere... specifically:

- In Gecko (via the `IFConstants.sys.mjs` module)
- In `ironfox.cfg` (via the equivalent prefs set at `ironfox.js` and `phoenix-overrides.cfg`)
- In any Kotlin/Java project (via the `org.ironfoxoss.core.IFConstants` components)

So this allows us to define these values in one place, and be able to use them anywhere. It also ensures the values always match across all projects.

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-05 04:11:07 +00:00
celenity
03190893e1 fix: Upload artifacts to S3 storage (instead of GitLab directly) - lets us bypass the size limits and reduces our reliance/dependency on GitLab
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-30 22:44:08 +00:00
celenity
dc7c198c61 fix: ensure we use GNU patch on OS X
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-30 05:38:22 +00:00
celenity
c8dad19f5f fix: clean-up Rust flags
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-30 03:25:48 +00:00
celenity
415496c49d fix: set indentation to 2 spaces for all files
This makes indentation consistent across all our files, and also improves readability in general

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-29 05:24:33 +00:00
celenity
255b948953 fix: ensure IRONFOX_GECKOVIEW_BUNDLE_DIRECT is properly recognized + only set MOZ_ANDROID_FAT_AAR_ARCHITECTURES if it isn't already set
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-24 19:01:29 +00:00
celenity
4bde1d952c feat: Improve granularity of the build scripts
Notably, this means that:

- It's now possible to build components individually
    - This should especially be useful for ex. CI, so we can avoid timeouts and improve build speed by building certain components simultaneously

- It's now possible to rebuild only a specific project and its consumers (instead of always having to build everything...)
    - ex. If I make a change to Gecko, I can just use `rebuild-gecko`, which only builds Gecko and its consumers (GeckoView, AC, and Fenix), instead of trying to build everything unconditionally

The default build behavior (ex. if no argument is specified) still remains the same

This also adds checks to ensure that the build script fails fast if important variables are not properly set/configured

Also includes some minor tweaks, such as a renaming of a couple of the CI jobs for clarity, and the addition of an `IRONFOX_TEMP` variable to indicate the temporary build directory

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-17 22:09:00 +00:00
celenity
5742e99d38 WIP: 152.0
(Also includes some clean-up and tweaks/refinements to the build system)

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-16 04:24:09 +00:00
celenity
f37110400d fix: remove no-proxy-negotiate from curl flags (due to being incompatible with certain curl builds)
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-12 01:09:22 +00:00
celenity
e638f67fee fix: update curl flags
Notably:

- Splits ciphers into separate categories for ones that should be applied to TLS 1.3 and ones that should be applied to non-TLS 1.3 connections (because curl requires/uses two separate options for this, so this ensures it handles/sets them properly)
- Removes options that do not apply to HTTP(S) requests
- Enables parallel downloads
- Prevents curl from automatically converting POST requests to GET requests upon certain redirects
- Sets curl to retry upon all errors (will fail after 5 tries)

Signed-off-by: celenity <celenity@celenity.dev>
2026-06-09 03:40:38 +00:00
celenity
2f40e5e20f feat: add --fail to curl flags
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-04 05:42:47 +00:00
celenity
7834e6e881 fix: clean-up/remove redundant curl arguments
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-04 05:40:19 +00:00
celenity
23aa0326db fix: use double (instead of single) brackets for scripts/mozconfigs
Signed-off-by: celenity <celenity@celenity.dev>
2026-06-04 05:35:42 +00:00
celenity
49addc254c fix: remove the --no-proxy-ntlm curl flag
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-30 17:29:54 +00:00
celenity
3d8c59e515 fix: set proper MIME types for uploaded S3 files
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-30 00:35:49 +00:00
celenity
982f7f8f0d fix: rename IRONFOX_KEYSTORE env vars to IRONFOX_ANDROID_KEYSTORE for clarity/consistency (+ minor formatting)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-23 21:59:55 -04:00
celenity
bcc3fd371c fix: Do not set default values for S3 env variables
We can instead just set them in `env_ci.sh`

Signed-off-by: celenity <celenity@celenity.dev>
2026-04-23 20:51:48 -04:00
celenity
8a18107402 fix: Download dependencies for update-fdroid-repo and update-site-repo from get_sources.sh (+ replace instances of certain GitLab-specific environment variables with our own generic ones)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-23 20:40:22 -04:00
celenity
2edb5659bd WIP: 150.0
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-17 05:22:52 +00:00
celenity
31e5a1522e fix: add back separate IRONFOX_GECKOVIEW_BUNDLE_DIRECT env var
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-13 04:28:42 +00:00
celenity
fcf1871f0a feat: Upload releases to releases.ironfoxoss.org (our new S3 storage...)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-13 03:50:01 +00:00
celenity
43f4ee2206 feat: allow configuration of variables for Fenix and GeckoView outputs, + clean-up and improve handling of the export/output process
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-12 10:40:08 +00:00
celenity
8747e36ff8 feat: use separate IRONFOX_GECKOVIEW_BUNDLE_DIRECT env var for building GeckoView AAR archives directly (like we do in CI), + ensure we fail fast if the necessary GeckoView AAR archives are missing
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 06:47:17 +00:00
celenity
cf38d7347e feat: specify different env vars for the location of GeckoView AAR archives to use when building the GeckoView bundle (instead of just hardcoding the outputs directory)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 06:30:11 +00:00
celenity
a3b33454d6 feat: add a separate IRONFOX_SIGN_SKIP_ADB variable to skip the prompt to install IronFox via ADB after signing
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 06:08:13 +00:00
celenity
e8e66fb809 feat: add/use env variables to manually override the build date and versions for local dependency substitutions
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-06 06:05:38 +00:00
celenity
2f3bebc23d fix: add global IRONFOX_NAME env variable, set depending on release channel
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-05 20:22:23 +00:00
celenity
923042e2de fix: revert "fix: temporarily revert certain env + CI script changes for now"
This reverts commit 3dd7cf2d5f, as these changes were not related to the issue

Signed-off-by: celenity <celenity@celenity.dev>
2026-04-05 20:12:43 +00:00
celenity
f1799a31f8 fix - ci: ensure GeckoView AAR directories exist
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-05 02:17:15 +00:00
Akash Yadav
aa32e22afb Revert "fix: temporarily decrease verbosity of logs and remove .idsig files for CI to reduce artifact size"
This reverts commit a14e949837a8b37bf05399d681e266152a3b39cc.
2026-04-04 15:39:25 +05:30
celenity
15fec1c063 fix: temporarily decrease verbosity of logs and remove .idsig files for CI to reduce artifact size
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-04 06:50:03 +00:00
celenity
3d598ff7bc fix
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-03 23:49:33 +00:00
celenity
a31d31d977 fix: test to determine wtf is breaking bundle signing (/bundletool)...
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-03 23:36:14 +00:00
celenity
8f9b3d8040 fix: scripts (for now)
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-02 21:31:13 +00:00
celenity
a975f2ca23 fix: env
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-02 18:21:23 +00:00
celenity
5de6982e9b fix: temporarily revert certain env + CI script changes for now
Signed-off-by: celenity <celenity@celenity.dev>
2026-04-02 18:15:05 +00:00
celenity
68acead79e feat: set env variables as readonly where possible, and improve/fix-up env var handling in general
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-31 23:30:53 +00:00
celenity
df79b8151e feat: harden cipher suites and enforce at least TLS 1.2 for various network connections
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-30 15:56:38 -04:00
celenity
57ceb4a389 feat: Switch to using JDK 25 by default, and use JDK 21 where possible for projects that JDK 25 don't support
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-30 15:53:38 -04:00
celenity
2c00b4093d fix: Disable Rust incremental compilation to ensure builds are fresh (+ minor formatting for Rust env vars)
Signed-off-by: celenity <celenity@celenity.dev>
2026-03-30 15:37:27 -04:00