Commit graph

136 commits

Author SHA1 Message Date
Manav Rathi 55454f9454
[web] Fix nightly build
Got broken by yesterday's changes to payments.
2024-04-05 08:57:24 +05:30
Manav Rathi d84ee7223a
[server] Build ARM images when publishing 2024-04-04 21:57:44 +05:30
Manav Rathi 39228270c1
Deploy 2024-04-04 15:40:17 +05:30
Manav Rathi 4255e48abb
Convert payments app to use Vite - Part 1
(Doesn't compile)
2024-04-04 11:10:34 +05:30
Manav Rathi 7f23b31bbc
[meta] Update READMEs to mention the new Auth Desktop app
Fixes https://github.com/ente-io/ente/issues/1268
2024-04-01 09:26:07 +05:30
Prateek Sunal cc2c8e3e26 fix: libffi7 missing error in appimage 2024-03-30 00:54:16 +05:30
Prateek Sunal d21f0146ec fix: macos sha256 sum generation 2024-03-29 01:48:21 +05:30
Prateek Sunal 86d5e636df fix: generated sha256 sums for windows and macos 2024-03-29 01:21:52 +05:30
Manav Rathi 212b2663d0
Add payments deployment scripts 2024-03-28 17:42:54 +05:30
Manav Rathi 741c968c8a
Fix typo 2024-03-27 13:10:05 +05:30
Manav Rathi 6588880b31
Use the correct commit, not the current one 2024-03-27 13:02:46 +05:30
Manav Rathi cb45a070be
Tweaks 2024-03-27 12:58:17 +05:30
Manav Rathi fc8e79fbe9
Remove double namespacing 2024-03-27 12:54:29 +05:30
Manav Rathi 7c0f41166c
Add a first cut of the publish script 2024-03-27 12:42:29 +05:30
Prateek Sunal ee34291a54 fix: disable aab build if nightly or beta 2024-03-25 23:42:31 +05:30
Prateek Sunal bc7309665d fix: linux error 2024-03-25 23:17:21 +05:30
Prateek Sunal 61f1610c8d fix: error on windows 2024-03-25 23:14:51 +05:30
Prateek Sunal 19c2e50ef2 feat: add system tray for desktop 2024-03-23 19:18:30 +05:30
Prateek Sunal 9e6e91fe7e Merge remote-tracking branch 'origin/main' into beta 2024-03-23 18:26:11 +05:30
Manav Rathi bbeac2bdf0
[crowdin] Invalidate existing translations when source strings change
Don't upload existing translation when syncing with Crowdin. This way, we let
the existing translations be invalidated when we change the source string (this
was not happening previously since we also upload the (older) translations when
we upload the changed source strings).
2024-03-23 15:26:34 +05:30
Manav Rathi 19c2f07a19
[meta] Fix the docs deployment workflow
Fix what I accidentally broke in https://github.com/ente-io/ente/pull/1149
2024-03-20 16:46:18 +05:30
Manav Rathi fa3f249a7a
[meta] Omit unnecessary reruns of workflows when deploying
When we merge main into a deploy/* branch
(e.g. https://github.com/ente-io/ente/pull/1147), all changes get pulled in not
just the one related to that deployment, and this causes almost all of the path
based workflows to run again unnecessarily. Exclude the various "deploy/**"
branches to stop these unnecessary workflows from being triggered.
2024-03-19 12:59:04 +05:30
Prateek Sunal 99fbfea65f chore: bump flutter to v3.19.3 2024-03-18 18:41:34 +05:30
Prateek Sunal 2a84f7810d Merge remote-tracking branch 'origin/main' into beta 2024-03-15 19:58:35 +05:30
Manav Rathi 7ddfeb93dd
Fix up the workflow 2024-03-14 17:32:54 +05:30
Prateek Sunal 5634b50528 Merge remote-tracking branch 'origin/main' into beta 2024-03-14 15:35:28 +05:30
Manav Rathi 1abf7edb99
[meta] Reduce the frequency of the sync translations cron
Every day is too much noise - we really only need this

- When a string gets changed in the source translation, in which case this
  workflow gets triggered automatically anyway.

- Before we do a new release (this doesn't automatically happen, but the
  workflow can be triggered manually if needed).

For now, reduce the frequency of the daily job to pull new translations from
Crowdin: now it'll only happen on Tuesdays and Fridays (just an arbitrary
choice).
2024-03-14 09:32:30 +05:30
vishnukvmd df316463ef Ignore linter on the f-droid branch 2024-03-13 14:57:19 +05:30
vishnukvmd f8d956d47f Fix path to APK 2024-03-13 12:22:11 +05:30
Vishnu Mohandas 92de88e778
[photos] Update flow for Independent APK (#1074) 2024-03-13 11:46:04 +05:30
Neeraj Gupta 077ba04664 [cli-release.yml] Pass release version in build flag 2024-03-13 11:43:19 +05:30
vishnukvmd 8f525cb88d Update Github Action for Photos 2024-03-13 11:27:24 +05:30
Manav Rathi b15901df67
[workflows] Prevent duplicate runs of lint workflows after merging a PR 2024-03-12 14:14:18 +05:30
Manav Rathi 8c23090abd
Remove placeholders 2024-03-12 09:56:07 +05:30
Manav Rathi 6efe2cd5fd
Add a push trigger to register the workflow
See https://stackoverflow.com/questions/63362126/github-actions-how-to-run-a-workflow-created-on-a-non-master-branch-from-the-wo
2024-03-12 09:53:58 +05:30
Manav Rathi 4feea01879
[web] Support preview deployments 2024-03-12 09:52:34 +05:30
Manav Rathi de166645b0 Point to the web alias for shared albums during nightly deployments 2024-03-11 13:20:58 +05:30
Manav Rathi 976a76ae23 [docs] Add a workflow to do a preflight verification of build on each PR 2024-03-11 10:59:47 +05:30
Prateek Sunal d1ce545e5f chore: bump flutter in auth workflow 2024-03-10 12:24:50 +05:30
Prateek Sunal 9dad24313c fix: auth desktop workflow 2024-03-10 12:24:26 +05:30
Manav Rathi 8058d2bfd4 Add production deployments 2024-03-08 15:20:16 +05:30
Manav Rathi 5d4486fce3 Add web-nightly and update existing 2024-03-08 14:09:41 +05:30
Manav Rathi 37913ffbc7 Fix the branch name 2024-03-08 13:38:34 +05:30
Manav Rathi 215e89427d
[WIP] [docs] Deploy docs (#742)
Add a GitHub workflow to deploy docs. If this works, will start using
this same approach for the other web apps in our repo.
2024-03-08 13:30:28 +05:30
Manav Rathi 2eb95ab215 Move the docs deployment to the new project, its final resting place 2024-03-08 13:26:41 +05:30
Manav Rathi 236d7e2f49 Fix the deploy workflow path 2024-03-08 13:03:50 +05:30
vishnukvmd 0ca29d2f83 [auth] Update workflow 2024-03-08 12:53:59 +05:30
vishnukvmd bd455825e6 Enable AAB upload to PlayStore 2024-03-08 12:37:39 +05:30
vishnukvmd b15d05050a Lower Flutter version 2024-03-08 12:37:27 +05:30
Manav Rathi 05d13979db Remove GitHub deployments
Not integrating GitHub deployments for now since creating a deployment
(anywhere) causes "This branch has not been deployed" message to appear on
unrelated branches.

Also, the Discord /github webhook doesn't support deployment status events
anyway - Discord accepts and responds to the webhook with a 204 but it doesn't
appear in the channel. This is not a big issue, we can easily massage the
payload ourselves, but just mentioning this for posterity. Refs:

* [Corresponding issue on Discord](https://github.com/discord/discord-api-docs/issues/6203#issuecomment-1608151265)

* [A general recipe](https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22)

---

For deleting the existing deployment I had to

```
gh api /repos/ente-io/ente/deployments --jq=".[].id"
gh api --method DELETE -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "/repos/ente-io/ente/deployments/1375794893"
```

This helpful hint taken from https://github.com/orgs/community/discussions/46375. Thanks!
2024-03-08 12:30:58 +05:30