Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitpod prebuilds #102

Merged
merged 23 commits into from
Jul 26, 2024
Merged

Gitpod prebuilds #102

merged 23 commits into from
Jul 26, 2024

Conversation

Carbrex
Copy link
Member

@Carbrex Carbrex commented Jul 20, 2024

Also closes #97

After this pr, we can enable gitpod prebuilds for this repo and reduce the starting time of gitpod workspace to 3-4 minutes compared to 6-8 minutes without prebuilds on gitpod large workspace.

To try gitpod prebuilds follow the steps in gitpod-prebuilds.md but since it isn't merged follow steps 2-5 and put my fork github.com/Carbrex/lila-docker and gitpod-prebuilds branch on gitpod instead of your fork.

fast-setup command for opinionated setup.
pull and status command for status of github repos in repos/ dir.

Carbrex added 12 commits July 4, 2024 00:11
commit cf410f1
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Thu Jul 4 00:06:42 2024 +0530

    Pull all repos if it gitpod prebuild was run

commit d71db12
Merge: 471e831 0b33b4c
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:59:40 2024 +0530

    Merge remote-tracking branch 'refs/remotes/origin/faster-gitpod' into faster-gitpod

commit 471e831
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:59:30 2024 +0530

    Fix repo url

commit 0b33b4c
Merge: b207f3b ed9799b
Author: Lakshya Kumar <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:42:06 2024 +0530

    Merge branch 'lichess-org:main' into faster-gitpod

commit b207f3b
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:27:47 2024 +0530

    Remove repo

commit 384bce0
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:22:20 2024 +0530

    Change repo to check if prebuild is triggered

commit b99ecec
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:17:42 2024 +0530

    Deleting workflow

commit 14a36dc
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:14:35 2024 +0530

    Update checkoutLocation

commit e7702d3
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:11:33 2024 +0530

    Move additionalRepos to top

commit 8239cd9
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:05:58 2024 +0530

    Move additionalRepos to top

commit 1c70c4f
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:03:40 2024 +0530

    Update checkoutLocation

commit 0704cdd
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 15:01:00 2024 +0530

    Update checkoutLocation to a string

commit 1587c7e
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jul 2 14:40:52 2024 +0530

    Add additional repositories to .gitpod.yml and update lila-docker script for fast setup

commit 6239f77
Author: Lakshya Kumar <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 02:40:15 2024 +0530

    Status pull (#2)

    * Add status and pull commands to lila-docker script

    * Update lila-docker script to use `./pull-all` instead of `bash pull-all.sh` for the "status" and "pull" commands

    * Update README.md

    * Update lila-docker

    * Update pull-all

commit 60959ec
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 01:43:26 2024 +0530

    No locks required now

commit 02490a9
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 01:38:37 2024 +0530

    Remove useless if condition

commit f5be783
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 01:24:49 2024 +0530

    Update ci-image.yml to use environment variable for RunCI check

commit 751f1fa
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 01:15:56 2024 +0530

    Trying to trigger gitpod prebuild

commit 0247193
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 01:11:50 2024 +0530

    Update ci-image.yml to use environment variable for RunCI check

commit 26f673c
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 00:42:59 2024 +0530

    Update setup_database flag based on opinionated_setup parameter

commit 3b270e8
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 29 00:26:18 2024 +0530

    fix for non-prebuilds running init

commit 8e21213
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 28 23:56:10 2024 +0530

    format

commit 4c99030
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 28 23:44:53 2024 +0530

    fast_setup

commit 6b5c3db
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 28 22:56:01 2024 +0530

    Try finding the env var when running on gitpod prebuilds

commit 1632f38
Merge: ff417a1 868d6dc
Author: Lakshya Kumar <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 28 22:53:20 2024 +0530

    Merge branch 'lichess-org:main' into faster-gitpod

commit ff417a1
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Wed Jun 19 15:17:02 2024 +0530

    Fix release_lock_error

commit 7fc1fb6
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Wed Jun 19 15:06:42 2024 +0530

    setup lock to avoid errors on gitpod

commit 8a2ffeb
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jun 18 20:45:26 2024 +0530

    chore: Remove unnecessary load_config_to_env call in lila-docker script

commit 11101d6
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jun 18 13:15:01 2024 +0530

    Remove start interval

commit 6a415ea
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Tue Jun 18 13:11:25 2024 +0530

    Refactor setup function to remove unnecessary fast_setup option

commit 0e195fe
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Mon Jun 17 21:46:53 2024 +0530

    dont run gitpod public in fast setup

commit 7273475
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Mon Jun 17 21:09:51 2024 +0530

    Remove unnecessary branch from trigger-webhook.yml

commit 4be744d
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Mon Jun 17 21:09:16 2024 +0530

    try-running

commit 7ba5231
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Mon Jun 17 20:34:12 2024 +0530

    rustfmt

commit ada9c36
Merge: db518c7 10423cf
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Mon Jun 17 20:29:38 2024 +0530

    Merge branch 'main' into faster-gitpod

commit db518c7
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Mon Jun 17 20:15:32 2024 +0530

    Trigger webhook github workflow

commit 9bfd9dd
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 17:53:06 2024 +0530

    Refactor fast_setup function to handle non-502 status codes

commit d832303
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 17:28:57 2024 +0530

    Refactor fast_setup function to handle non-502 status codes

commit a61c041
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 17:20:03 2024 +0530

    Refactor fast_setup function to handle non-502 status codes

commit 108c72e
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 17:14:50 2024 +0530

    chore: Refactor fast_setup function to handle non-502 status codes

commit f45d114
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 17:05:32 2024 +0530

    chore: Update .gitpod.yml to add lila-docker services

commit c40c09e
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 17:03:23 2024 +0530

    chore: Update fast_setup function to include status code and wait time logs

commit c82d4c1
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 16:59:29 2024 +0530

    chore: Update fast_setup function to sleep for 500 seconds instead of 50

commit 2b8e9e2
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 16:58:21 2024 +0530

    chore: Update .gitpod.yml and lila-docker script

commit 638eba6
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 02:51:08 2024 +0530

    chore: Update fast_setup function to use correct flag for first_setup parameter

commit e1f5f00
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 02:45:09 2024 +0530

    chore: Update docker compose command to include the -d flag

commit 0255f8c
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 02:44:39 2024 +0530

    chore: Add lila compile command to fast_setup function

commit d678b4d
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 02:39:52 2024 +0530

    chore: Update docker compose command to remove the -d flag

commit d424253
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 02:36:55 2024 +0530

    chore: Add fast-setup command for opinionated services setup

commit 1e0d5c6
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 02:19:39 2024 +0530

    chore: Add fast-setup command for opinionated services setup

commit e6d2c19
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Sat Jun 15 00:33:48 2024 +0530

    Forgot bbppairings and db setup in add_services func

commit e96afd4
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 14 19:57:41 2024 +0530

    Add db seed prompt for add services

commit 0cb9f99
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 14 18:14:48 2024 +0530

    Remove the need for .clone on password

commit c54045b
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 14 17:58:46 2024 +0530

    rustfmt

commit 7d711ba
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 14 17:57:29 2024 +0530

    dont overwrite existing values in compose profile if not the first setup but add new ones

commit 62500bc
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 14 16:22:45 2024 +0530

    rustfmt

commit 2c4dc09
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 14 16:20:13 2024 +0530

    Update note about adding new services in README and setup function

commit 99183e7
Author: Carbrex <95964955+Carbrex@users.noreply.github.com>
Date:   Fri Jun 14 16:09:06 2024 +0530

    Allow adding new services after initial setup
pull-all Outdated Show resolved Hide resolved
lila-docker Outdated Show resolved Hide resolved
pull-all Outdated Show resolved Hide resolved
pull-all Outdated Show resolved Hide resolved
@fitztrev
Copy link
Member

Pushed some possible changes to Carbrex#3 for your review first

@fitztrev fitztrev merged commit 7257684 into lichess-org:main Jul 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Status command to see if any repos are out-of-date
2 participants