Commit Graph

12 Commits

Author SHA1 Message Date
DevTekVE 963d356173 ci: Improvements on the mirror and prebuilt flow (#386)
* Remove redundant git lfs pull command

The `git lfs pull` command in the GitHub workflow is redundant and has been removed. Additionally, the `sync-lfs.sh` script has been updated to push all LFS objects to the origin repository.

* using force push instead of trying to merge

* Bumping ssh agent to 0.9.0

* Syntax

---------

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
2024-08-03 21:29:00 -04:00
Jason Wen 61f7690265 ci: Update build number on dev builds with Discord notification (#381) 2024-08-02 11:38:25 -04:00
Jason Wen aae38ac5ab GitLab Pipelines: Add script for syncing LFS between comma and sunnypilot
This commit adds a new script, 'sync-lfs.sh'. This script assists by syncing the git large file storage (LFS) system. It backs up the current LFS configuration, uses the comma-separated configuration for operations like fetch and pull, and then restores the original configuration before pushing to the origin's main branch.
2024-06-12 16:21:43 -04:00
DevTekVE a0dd4d7359 Adding sanity checking and using a different method for the actual artifact being built 2024-02-14 17:51:26 +00:00
Jason Wen 83a1c8d6a9 CI: Fix commit message for prebuilt branches 2023-12-09 19:58:28 -05:00
Jason Wen e19383d5f0 CI: Post notifications to Discord 2023-12-09 11:58:25 +00:00
DevTekVE c48d1bee55 Update Gitlab Pipeline user configurations 2023-12-05 18:19:18 +00:00
DevTekVE 29c65ff033 Dont create folder with sudo 2023-11-11 13:45:44 +01:00
DevTekVE 050c38d0ab Merge remote-tracking branch 'origin/master-priv' into master-priv
# Conflicts:
#	release/ci/install_gitlab_runner.sh
2023-11-11 09:50:11 +01:00
DevTekVE aad8cd295b Update GitLab runner scripts and add sudo permissions
The GitLab Runner installation and uninstallation scripts have been refined, including directory management improvements and user handling enhancements. The install script now exports the base directory for subprocess availability and validates script arguments presence. An uninstall script has been added for smoother user experience. Additionally, sudo permissions have been granted to the gitlab-runner user group in both scripts and the .gitlab-ci.yml file, enhancing workflow efficiency.
2023-11-11 09:47:58 +01:00
DevTekVE bcf6cd8e1a Add sudo permissions to gitlab-runner
This update adds sudo permissions to the gitlab-runner user group. The .gitlab-ci.yml file has been altered to change user ownership of ${OUTPUT_DIR} in the after_script phase. In install_gitlab_runner.sh, we also add gitlab-runner to the sudo group and explicitly grant it NOPASSWD: ALL rights in the sudoers file.
2023-11-11 08:31:51 +01:00
DevTekVE 87b4ca54b6 Add CI/CD pipeline and Docker support 2023-10-24 17:13:32 +00:00