Commit Graph

218 Commits

Author SHA1 Message Date
Manav Rathi
bb0bdf113e [meta] [infra] Rename workflow file to use same extension as the rest 2024-09-19 17:13:11 +05:30
Neeraj Gupta
7d66b4c29f Use JAVA 17 for auth release workflow 2024-09-19 06:58:27 +05:30
Neeraj Gupta
b9eef77d3a [mob][auth] Upgrade flutter v3.24.3 2024-09-17 11:11:33 +05:30
Neeraj Gupta
d3b30052e2 [auth] Bump version 2024-09-13 18:08:05 +05:30
Neeraj Gupta
02d69b3b1c [auth] Add workflow for internal release 2024-09-13 17:43:07 +05:30
Manav Rathi
70dada90b2 [web][meta] Ignore stale lint runs on PR push
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-using-concurrency-and-the-default-behavior
2024-09-10 13:02:12 +05:30
ashilkn
d413ed2de0 [mob][auth] Update flutter version in github workflows 2024-08-29 20:46:24 +05:30
Manav Rathi
ac5d37a9e3 Not helping, this is just causing it to run twice 2024-08-28 20:38:25 +05:30
Manav Rathi
cfe9178301 Experiment to try and reduce the latency 2024-08-27 20:00:38 +05:30
Neeraj Gupta
b9f8f55a30 [mob] Upgrade crowdin config 2024-08-27 15:59:07 +05:30
ashilkn
55b4ce8326 [mob][photos] Update flutter version in github workflows 2024-08-27 14:09:27 +05:30
Manav Rathi
8813b0cf1c [meta] Run PRs lint checks for pull requests from external forks
Currently, for PRs opened by external contributors, the various lint checks
don't run (sometimes causing code that fails basic lint checks to be committed
to main).

From my current understanding (I find the docs around this confusing), we need
to instead use the "pull_request" target. Refs:

* https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
* https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/

Note that even then, we will need a manual step to approve running the lints for
first time contributors. Which is fine, at least we'll see the option, unlike
right now where they just can't be run until the code hits main.
2024-08-26 21:50:04 +05:30
ashilkn
54a0a09251 Update auth github workflows to use flutter 3.24.0 2024-08-21 15:14:41 +05:30
Manav Rathi
4ea6f1cbfc [server] Fix lint failures on CI 2024-08-14 11:30:32 +05:30
Manav Rathi
7d13666a2e @/next => @/base 2024-07-18 18:55:33 +05:30
Manav Rathi
a8c267e2b0 [meta] Change translation cron schedule Tue => Mon 2024-07-09 10:48:05 +05:30
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