Commit Graph

80 Commits

Author SHA1 Message Date
TC Johnson
4644b7a401
Hardcoded runner IDs into script paths
The runner ID CI variable resolved to the runners' numeric ID whereas
the project path uses the runners' alpha-numeric formatted ID. Both
IDs show in Gitlab's settings->cicd->runners. For the time being, I've
hardcoded the alpha-numeric ID into the script paths in the CI config.
If we have to retate runners, we will need to update these entries.
2024-04-28 18:58:28 -05:00
TC Johnson
2a73946246
Modified path to CICD scripts in CI config
I thought CICD's working directory was in the project root but the release
failed to find the scripts. I've changed the script executions to absolute
paths. There's a directory is named for the runner's ID, is different on
each machine, and changes if the runner is replaced. There's a variable
that should overcome this, CI_RUNNER_ID, which I've used in the asbolute
paths. Fingers crossed, let's try it again.
2024-04-28 18:21:39 -05:00
TC Johnson
06f344ebb4
Migrating CICD scripts to Veilid repo
Copied CICD scripts into the repository so that the community can make
contributions to the build system. Wrote a brief description of the
build and distribute process. Modified the CICD config to use the repo
hosted scripts. [ci skip]
2024-04-21 13:37:45 -05:00
TC
feeafe290a moved crates and pypi publishing to build_packages stage 2024-04-05 00:53:28 +00:00
TC
e3f396f93d Correcting distribute stage order of execution 2024-04-05 00:46:47 +00:00
TC
30ff93e8df Moved crate and python publishing to a dev machine. The orchestration machine doesn't have the resources for the cargo build steps. 2024-04-04 23:22:10 +00:00
TC
7431a5380a Added crates.io and Pypi release steps to build_repositories job. Maybe it works, maybe it doesn't. We'll find out at next release. 2024-03-03 21:19:21 +00:00
Salvatore Testa
dca57abe16
Use $CI_REGISTRY_IMAGE for the registry path
GitLab will return an error if you have an upper case letter at the
start of your username.

```
invalid reference format: repository name must be lowercase
```

The built-in `$CI_REGISTRY_IMAGE` variable does the right thing.

Closes https://gitlab.com/veilid/veilid/-/issues/352
2023-12-25 14:02:40 -08:00
TC
5b5a568f2f Removed the manual trigger from tests -- YOLO 2023-11-03 01:48:07 +00:00
Δ ǀ Ξ ȼ
d38f3cb42f
Refactored Earthfile to improve caching
Targets have been parallelized so that initial push of the container cache should build the whole build a little quicker, plus the container should now use the cache for more of the build and so speed up normal builds to just the compilation and test of the code that has changed

The `build_cache` target now builds a `build-cache:latest` container that is stored in the GitLab project Container Registry, and then used (if it exists) by the `test_build` target.  The `build_cache` task runs under 3 conditions, 1. the container does not exist, 2. if scheduled, 3. if run manually from the Pipelines page in the GitLab interface.

It is recommended that the build is set up to run on a weekly schedule via the `Pipeline schedules` page in GitLab with the schedule of `0 2 * * 6`.
2023-10-31 11:17:13 +00:00
TC
b931a5b87e
Switch unit tests back to manual execution 2023-09-04 14:41:34 +00:00
TC Johnson
6f191cb8a8
CI config and Changelog tweaks
Fixed a few typos before releasing v0.2.1
2023-09-03 19:43:46 -05:00
TC Johnson
d0850e95fb
Refine MR unit tests and contribution guide
Changed the name of the unit tests CI job to accuratly reflect
that both AMD64 and ARM64 tests are executed.

Modified the contribution guide to specify that contributors
should work inside their own fork of the project.
2023-08-28 18:58:46 -05:00
Δ ǀ Ξ ȼ
ab51f68c4d Earthly Build Caching in GitLab Container Registry 2023-08-27 17:17:29 +00:00
TC
b77beeb3be Tests passed. This commit is a clean up of .gitlab-ci.yml 2023-08-22 21:49:55 +00:00
TC
9429d3de6e Update .gitlab-ci.yml file 2023-08-22 19:59:59 +00:00
TC
5d714dcf58 Update .gitlab-ci.yml file 2023-08-22 19:40:31 +00:00
TC Johnson
c525a757fd
Move tests off of Digital Ocean
Experimenting with using GitLab SaaS runners to do test CI stages.
2023-08-22 14:36:33 -05:00
TC
86a5accb1a Update .gitlab-ci.yml file 2023-08-02 14:14:18 +00:00
TC
b11ac3331e Update .gitlab-ci.yml file 2023-08-02 03:08:19 +00:00
TC
1f96a5317f Update .gitlab-ci.yml file 2023-08-01 03:30:11 +00:00
TC
1227579048 Update .gitlab-ci.yml file 2023-08-01 03:25:58 +00:00
TC
aedafaebf6 Update .gitlab-ci.yml file 2023-08-01 02:44:28 +00:00
TC
3c68899b75 Update .gitlab-ci.yml file 2023-08-01 01:23:36 +00:00
TC
e36434fa36 Update .gitlab-ci.yml file 2023-08-01 01:19:47 +00:00
TC
f0f6031843 Adding release stage triggered by existence of a tag that matches the v+semver format 2023-08-01 01:08:41 +00:00
TC
9fc114c21d Adding release stage triggered by existence of a tag that matches the v+semver format 2023-08-01 00:59:23 +00:00
TC
7382d70deb Refine ephemeral earthly test machine process 2023-07-22 17:13:08 +00:00
TC
f4fb48b219 Refining ephemeral earthly test machine process 2023-07-22 17:11:51 +00:00
TC
75c8b0c789 Added ephemeral create/delete to test stage. 2023-07-22 17:07:00 +00:00
TC
b28330135a Added jobs to create and delete the ephemeral build machines. 2023-07-21 19:30:33 +00:00
TC
6ee389eb34 Update .gitlab-ci.yml file 2023-07-16 23:51:24 +00:00
TC
d8561c4f50 Update .gitlab-ci.yml file 2023-07-16 21:07:41 +00:00
TC
62b9a3d137 Update .gitlab-ci.yml file 2023-07-16 20:59:37 +00:00
TC
462d9b9e6e Update .gitlab-ci.yml file 2023-07-16 19:46:32 +00:00
TC
3706d81479 Update .gitlab-ci.yml file 2023-07-16 19:30:05 +00:00
TC
e8f50b8042 Update .gitlab-ci.yml file 2023-07-16 19:18:35 +00:00
TC
cbd8fb4e60 Update .gitlab-ci.yml file 2023-07-16 17:04:23 +00:00
TC
68740335ad Removed amd64 from package job name, added arm64.deb to package job scripts 2023-07-15 04:37:30 +00:00
TC
d3f4cd3bf6 Update .gitlab-ci.yml file 2023-07-05 01:04:01 +00:00
TC Johnson
f84efe3b69 Update .gitlab-ci.yml file 2023-07-04 19:53:54 +00:00
TC Johnson
284c2f0be2 Update .gitlab-ci.yml file 2023-07-04 19:49:14 +00:00
TC Johnson
7b1cbc410a Update .gitlab-ci.yml file 2023-07-04 19:30:56 +00:00
TC Johnson
a34de47f01 Update .gitlab-ci.yml file 2023-07-04 19:29:22 +00:00
TC Johnson
3f55afd5a8 Update .gitlab-ci.yml file 2023-07-04 19:21:03 +00:00
TC Johnson
9b764d2d7a Update .gitlab-ci.yml file 2023-07-04 18:31:02 +00:00
TC Johnson
82bcbd2d07 Update .gitlab-ci.yml file 2023-07-04 16:36:25 +00:00
TC Johnson
d36c610ff6 Update .gitlab-ci.yml file 2023-07-04 16:34:48 +00:00
TC Johnson
c47fb70e5d Update .gitlab-ci.yml file 2023-07-04 02:50:50 +00:00
TC Johnson
c59cfbbc59 Removed distribute stage's dependency on test stage 2023-06-23 13:20:00 +00:00