Commit Graph

202 Commits

Author SHA1 Message Date
Prateek Sunal
a59ca2bdf0 fix(auth): also move the pacman build to artifacts 2024-06-22 23:32:54 +05:30
Prateek Sunal
3ac4294c2c fix(auth): only run pacman build on beta, fix deps 2024-06-22 22:59:49 +05:30
Prateek Sunal
0b426fc1ab [FEAT] Auth goodies for linux (#2255)
## Description

- Pacman Build for Arch linux (Alpha)
- Add metainfo for linux
- Fix RPM build
2024-06-22 22:31:03 +05:30
Manav Rathi
be82595e82 [web] Fix for the staging deployment change
Fix for https://github.com/ente-io/ente/pull/2252

> Error: An error occurred trying to start process '/usr/bin/bash' with working
  directory '/home/runner/work/ente/ente/web'. No such file or directory
2024-06-22 18:57:18 +05:30
Manav Rathi
05e490aa91 [web] Build the staging/web branch when deploying if it exists
This allows us to temporarily deploy arbitrary branches to staging by pushing to
a staging/web branch. Removing that branch reverts to the existing and default
behaviour of deploying main.

Untested (need to deploy and trigger)

Refs:

- 942f6a9fe9
- https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
- https://stackoverflow.com/questions/57819539/github-actions-how-to-share-a-calculated-value-between-job-steps
2024-06-22 18:47:53 +05:30
Manav Rathi
ce989b786f [meta] Split translation related workflows
1. Sources uploaded anytime the {mobile,auth}/lib/l10n/arb/app_en.arb changes in main.
2. Tuesday morning: Download translations from crowdin.

Step 2 can be done manually by running the workflows, e.g.

    gh workflow run auth-crowdin-push.yml
    gh workflow run mobile-crowdin-push.yml
2024-06-18 20:15:00 +05:30
Manav Rathi
76993961f0 [meta] Update to v2 of Crowdin action
https://github.com/crowdin/github-action/releases/tag/v2.0.0
2024-06-18 14:56:29 +05:30
Manav Rathi
7fb2956a2e [meta] Change translation sync freq to weekly 2024-06-18 14:51:54 +05:30
Prateek Sunal
077d509c23 feat(workflow/auth): update source of flutter_distributor 2024-06-18 00:58:58 +05:30
Manav Rathi
8870738330 [server] Stop making 32 bit ARM images
The code doesn't get tested or run and is likely not safe for 32 bits

> 941.0 pkg/utils/billing/billing.go:117:13: cannot use ente.FreePlanStorage
  (untyped int constant 5368709120) as int value in struct literal (overflows)
>
> https://github.com/ente-io/ente/actions/runs/9546167833/job/26308448952
2024-06-17 16:26:55 +05:30
Prateek Sunal
b2f9c6ff6b [Auth] Bump flutter to 3.22 (#2108)
## Description

Black screen issue was caused by
https://github.com/leanflutter/window_manager/issues/460, till then I
have used a workaround from
https://github.com/leanflutter/window_manager/issues/460#issuecomment-2110180143.

Also update plugins.

## Tests
2024-06-12 16:34:51 +05:30
Prateek Sunal
c8a5ca41a2 fix(workflow/auth): bump flutter versito 3.22 2024-06-12 14:59:09 +05:30
ashilkn
a10f278d44 [mob][photos] Upgrade to flutter v3.22.2 to potentially fix the blank screen issue when resuming app from BG 2024-06-10 11:29:08 +05:30
Ashil
f2283edb79 [mob][photos] Bump up version + use latest flutter version (v3.22.1) (#1993) 2024-06-04 13:07:17 +05:30
Neeraj Gupta
1a10e2da4f Revert "Update flutter version"
This reverts commit b753c47e01.
2024-06-04 11:58:19 +05:30
Manav Rathi
8b83975edf Rename 2024-06-03 15:17:29 +05:30
Manav Rathi
a63a6fc1c2 Separate the actions 2024-06-03 15:16:56 +05:30
Manav Rathi
08a60d827f [staff] Don't need submodules 2024-06-03 15:13:56 +05:30
Manav Rathi
c9340ed383 [infra] Move staff to infra (#1973) 2024-06-03 15:12:36 +05:30
Manav Rathi
c8c19972d9 lint on PR 2024-06-03 15:09:16 +05:30
Manav Rathi
6b6a81b6a8 Need yarn.lock for caching 2024-06-03 15:05:58 +05:30
Neeraj Gupta
b753c47e01 Update flutter version 2024-06-03 13:26:03 +05:30
Neeraj Gupta
b53dc645c3 Update mobile-release.yml 2024-06-01 12:20:17 +05:30
ashilkn
284bca782e [mob][photos] Update flutter version in internal release workflow 2024-05-28 14:01:58 +05:30
ashilkn
1535f61653 [mob][photos] upgrade to flutter 3.22.0 2024-05-28 14:01:12 +05:30
Neeraj Gupta
dd83edf0e3 [mob] Use same flutter version in all workflows 2024-05-28 12:33:33 +05:30
Ashil
54aecfd721 Revert "Upgrade to flutter 3.22.0 (#1804)" (#1901)
## Description

This reverts commit a41f705dad.

Need to update `flutter_map` dependency to work with flutter 3.22.0.
2024-05-28 12:24:37 +05:30
Manav Rathi
9d2be29fad [meta] Update issue template 2024-05-26 05:16:36 +05:30
laurenspriem
17058299c1 [mob][photos] Use flutter 3.22 for internal build 2024-05-23 14:50:37 +05:30
Ashil
a41f705dad Upgrade to flutter 3.22.0 (#1804) 2024-05-23 14:17:47 +05:30
Neeraj Gupta
bc004a41d5 [FEAT] Pinning and Tags (#1541)
## Description

Add pinning to auth

## Tests
2024-05-15 14:20:20 +05:30
Neeraj Gupta
47d9d3cd1e Merge branch 'main' into auth-v3 2024-05-15 14:15:34 +05:30
Ashil
74ebd00e3c Fix workflow failing on photos internal release
`Error: Changes are sent for review automatically. The query parameter changesNotSentForReview must not be set.`
2024-05-14 15:12:22 +05:30
Manav Rathi
2871fe7162 [meta] Rename workflow to match other workflows 2024-05-10 23:03:57 +05:30
Manav Rathi
4c1f1b5b9e Fix job name 2024-05-10 22:48:46 +05:30
Manav Rathi
811e56fe99 Move to different file 2024-05-10 21:17:18 +05:30
Manav Rathi
3341be45f8 [web] Migrate off deprecated Cloudflare action
Refs:
- https://developers.cloudflare.com/pages/get-started/direct-upload/
- https://developers.cloudflare.com/workers/wrangler/commands/#deploy-1
- https://github.com/cloudflare/pages-action/issues/117
- https://github.com/cloudflare/wrangler-action
2024-05-10 21:16:08 +05:30
Manav Rathi
7238a34e4c [meta] Attempt to silence Cloudflare warning 2024-05-10 20:57:03 +05:30
Manav Rathi
938cecf2d3 Move from deprecated action
Test with first one, will move the rest subsequently

Ref:
- https://github.com/cloudflare/pages-action/issues/117#issuecomment-2053610761
- https://github.com/cloudflare/wrangler-action
2024-05-10 20:11:12 +05:30
Manav Rathi
54c9cdeed8 [web] Switch to (almost) continuous deployments
Every day except Sunday, at 8:00 am, the code on main will be automatically
deployed to production for all web apps (photos, auth, cast, accounts, payments)
2024-05-10 19:43:15 +05:30
Prateek Sunal
35aa8fc5bd fix(auth): workflow for fedora 2024-05-08 22:43:38 +05:30
Prateek Sunal
ea37b5a041 fix: don't try to publish aab in fedora workflow 2024-05-08 21:02:52 +05:30
Manav Rathi
afa9c35c0b Also ignore deploy-f's 2024-05-08 15:27:59 +05:30
Manav Rathi
17ffc8051a Use server 2024-05-08 12:16:53 +05:30
Manav Rathi
848fa34b56 [server] Tag the source code for latest ghcr.io Docker image with museum/ghcr
Helps with easily finding changes since last publish.
2024-05-08 11:27:11 +05:30
Prateek Sunal
f3c05d2006 fix(auth): improve workflow 2024-05-07 20:30:45 +05:30
Prateek Sunal
a9d63a178a fix(auth): separate fedora workflow 2024-05-07 20:26:31 +05:30
Manav Rathi
a567009e2a [web] Tell the Crowdin push action not to create a PR 2024-05-07 12:02:08 +05:30
Manav Rathi
e9bf6d7171 Add a new action 2024-05-07 11:10:09 +05:30
Manav Rathi
51b103a620 Allow force deploying cast and accounts (while they're still in dev) 2024-05-06 09:52:00 +05:30