Commit Graph
91 Commits
Author SHA1 Message Date
TC Johnson a73485ab9a Changed Earthfile code-linux job to use new cache_tag scheme 2025-09-08 12:35:24 -05:00
TC Johnson 68c3d29184 Branch specific build caches
Pushing new branch will cause a dedicated build cache to be created
for that branch. This will help avoic scenarios where branches were
causing updates to our build cache which would then be out of sync
with main and caused nightlies to fail.
2025-09-07 22:21:14 -05:00
TC Johnson e5e3fd03c1 Version update: v0.4.6 → v0.4.7
Commented crates and python publishing to get release published
2025-06-03 11:37:16 -05:00
TC Johnson e5bd711724 Version update: v0.4.6 → v0.4.7 2025-06-03 10:24:08 -05:00
TC Johnson cd71551f87 Changelog and releasing readme updates 2025-06-03 10:15:13 -05:00
TC Johnson 1a0184db3a Version update: v0.4.5 → v0.4.6 2025-05-14 18:44:53 -05:00
TC Johnson 78b4a2bee2 Version update: v0.4.5 → v0.4.6 2025-05-14 17:56:46 -05:00
TC Johnson 5f09068108 Changelog and CI Script updates 2025-05-14 17:52:12 -05:00
TC Johnson 4aceb48ad0 Version update: v0.4.4 → v0.4.5 2025-05-13 19:04:14 -05:00
TC Johnson eb42b7cf2b Changelog updates 2025-05-13 18:48:51 -05:00
TC Johnson f16c31bc40 Version update: v0.4.3 → v0.4.4 2025-03-21 21:42:47 -05:00
TC Johnson 8bb60de1e0 Update Changelog for Release 2025-03-21 21:22:45 -05:00
TC Johnson 806953a919 Version update: v0.4.2 → v0.4.3 2025-02-19 18:56:50 -06:00
TC Johnson 5f9ac987cc Version update: v0.4.2 → v0.4.3 2025-02-19 17:48:15 -06:00
TC Johnson f0931a389b Version update: v0.4.1 → v0.4.2 2025-02-19 17:07:53 -06:00
TC Johnson 1f15360ca6 Fixing broken RPM packaging [skip ci] 2025-02-19 16:51:38 -06:00
TC Johnson 19f10537e4 Version update: v0.4.1 → v0.4.2 2025-02-19 14:47:36 -06:00
TC Johnson e785112d17 Version update: v0.4.1 → v0.4.2 2025-02-18 22:41:35 -06:00
TC Johnson c198064b90 Version update: v0.4.0 → v0.4.1 2024-10-25 14:35:08 -05:00
TC Johnson 0909068270 Version update: v0.4.0 → v0.4.1 2024-10-24 20:33:53 -05:00
TC Johnson 512569abb1 Version update: v0.4.0 → v0.4.1 2024-10-24 19:27:30 -05:00
TC Johnson 59630dbe8c Version update: v0.3.4 → v0.4.0 2024-10-20 11:43:43 -05:00
TC Johnson 6eac54bbc9 Version update: v0.3.3 → v0.3.4 2024-08-01 19:19:34 -05:00
TC Johnson f26303669b Updated changelog for v0.3.4 patch release 2024-08-01 19:11:34 -05:00
TC Johnson ab582b8d3e Another tweak to GitLab secure storage 2024-07-19 15:49:29 -05:00
TC Johnson b3e388e853 Fixed pointer to GitLab secure file storage
There was a filename mismatch for the package signing private
key between the distribution scripts and Gitlab's secure file
storage. Changed the private key filename in the script to
match the storage.
2024-07-19 15:25:33 -05:00
TC Johnson 571bd45783 Added --delete option to rsync push to repo server
The rsync push successfully put the new repo files on the repo
server, but also left the original files in place which caused
old packages and repo errata to build up over time. Adding the
--delete switch results removal of files on the repo server
that were deleted as part of the the distribution scripts
"Clean and reset the workspaces" section.
2024-07-19 14:40:31 -05:00
TC Johnson c9d2b354f7 Further adventures in nightly release automation
Pushing this up in order to end-to-end test automated nightly
releases.
 Please enter the commit message for your changes. Lines starting
2024-07-19 14:08:25 -05:00
TC Johnson 6c0b645ba6 Commiting and pushing so I can test on a RPM build machine 2024-07-17 15:18:59 -05:00
TC Johnson 30413e7f70 Saving my work so I can switch back to main for a few minutes of troubleshooting 2024-07-17 11:17:54 -05:00
TC Johnson ae46f32187 Fixed CICD missing params 2024-07-14 22:58:26 -05:00
TC Johnson f535c508bc Forgot some thens in the rpm if statements 2024-07-14 22:35:07 -05:00
TC Johnson 59a69e7839 Manually set nightly to true in Earthfile to test rest of process 2024-07-14 22:13:53 -05:00
TC Johnson 579abedcab Found Earthly doc saying ENVAR should be in quotes 2024-07-14 21:15:02 -05:00
TC Johnson 7dadd2fbea Changed IS_NIGHTLY var checks to string from bool 2024-07-14 19:15:09 -05:00
TC Johnson 5ebd17a702 Fixed rsync orchestration -> repo server 2024-07-14 18:48:21 -05:00
TC Johnson fc7debba3f Adding automatic nightly release builds
- Restructured linux repo directory structure to include Stable and Nightly releases
- Reworked Earthfile to pass IS_NIGHTLY boolean to package build scripts for use in
file names
- Added nightly pipeline to CICD config yaml. Pipeline is triggered by IS_NIGHTLY
variable
- Two distribution scripts now exist, one for Stable and one for Nightly
- Reworked RPM build spec files to create appropriate file names
- Reworked debian release generation scripts
- RPM repo directory structure is prepped for arm64 builds
- Switched from scp to rsync for moving the completed repo from ochestration
to repo server
- Created schedule in Gitlab UI to trigger nightly release at 2300 Central Time
2024-07-14 17:22:50 -05:00
TC Johnson 8c297acdee Version update: v0.3.2 → v0.3.3 2024-07-07 12:32:33 -05:00
TC Johnson d344248b39 Updated changelog for v0.3.3 release 2024-07-07 12:27:55 -05:00
TC Johnson 4d9787fb86 Fixes scp from build machines to orchestrator
Each machine needed a script this specified that machine's arch
and OS type. Also added a rule on the cache and test jobs to not
run if the dry run trigger is present. [ci dryrun]
2024-04-29 17:07:40 -05:00
TC Johnson 37dbe70e05 Testing dry run trigger
The trigger is [ci dryrun]
2024-04-29 16:26:13 -05:00
TC Johnson bd4600576f Switched to regex trigger
The previous trigger condition wasn't liked by Gitlab's
yaml parser. I'm switching to trying a commit message
based regex trigger. This message does not contain the
trigger and so should not fire the dry run.
2024-04-29 16:22:58 -05:00
TC Johnson 0a1a37f048 Replaced missing 'if:' on line 249. 2024-04-29 16:12:37 -05:00
TC Johnson fa1ca77d35 Further dry run trigger refinements
The dry run should now be configured if changes to .gitlab-ci.yml,
Earthfile, contents of scripts/cicd, or contents of package arrive
as the result of a push OR merge but NOT when a tag is present. I
think that will prevent the dry run executing alongside the actual
release process when a new release tag is pushed but that also
contains changes to the above mentioned files. <fingers crossed emoji>
2024-04-29 16:03:38 -05:00
TC Johnson c33f0f19da Added Earthfile condition and RPM spec fix
Dry run will now trigger for Earthfile changes. I also reordered the
changelog in veilid-server.spec to descending to correct that error.

Commented out the crates.io publishing dry run. This branch does not
have access to the protected variables.
2024-04-29 15:26:03 -05:00
TC Johnson 038f4d2121 Added CICD dry run
This is the first attempt at setting up a dry run pipeline
to test changes to the CICD config without actually publishing
the compiled binaries and packages built by the process.

The dry run should be triggered by any changes to .gitlab-ci.yml
or changes to any of the scripts under scripts/cicd/.
2024-04-29 14:40:07 -05:00
TC Johnson 6c6be00feb Calling bash explicitly
The paths work now, but the scripts are not set with execute permission.
I don't know if that permission will survive the transfer from my machine
across the git and runner stuff so I added an explicit call for bash instead.
2024-04-28 20:39:18 -05:00
TC Johnson 2821e4ee18 It was a typo in the script name
Was missing the r in ctrl then spread via copy paste. Fixed the typo and
reverted the paths to relative because that should work just fine.
2024-04-28 19:24:45 -05:00
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 bdb7ad32f2 Version update: v0.3.1 → v0.3.2 2024-04-28 17:33:07 -05:00
TC Johnson b1fc71f5db Updated changelog for v0.3.2 2024-04-28 17:26:27 -05:00
TC Johnson c969df33d8 Merge branch 'main' into add-cicd-scripts
[ci skip]
2024-04-21 13:47:17 -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 Johnson 3effd2deef Version update: v0.3.0 → v0.3.1
Signed-off-by: TC Johnson <tc@veilid.org>
2024-04-04 19:35:13 -05:00
TC Johnson 9d3ee579d3 Version update: v0.2.5 → v0.3.0 2024-03-27 21:11:00 -05:00
TC Johnson dcd4c0d22a Version update: v0.2.4 -> v0.2.5
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
2023-11-06 20:51:41 -06:00
TC Johnson cc5cb8a8b0 Version update: v0.2.3 → v0.2.4 2023-10-15 12:24:59 -05:00
TC Johnson 618b092e8b Add private or dev network setup docs
Guides and config templates for use in setting up private
Veilid networks for independent or development needs.
2023-09-21 08:24:09 -05:00
TC Johnson 6e9610ecd2 Dev network setup docs
Added guilds for setting up a public bootstrap, a dev network,
and config templates for dev nodes. Added link in the contribution
guide to dev network setup guide.
2023-09-18 21:28:56 -05:00
TC Johnson 9f92d486b8 Rename bootstrap setup file
Renamed to match other docs format
2023-09-18 09:00:30 -05:00
TC Johnson 09916efcf0 Add bootstrap setup instructions
Guide to setting up bootstrap servers
2023-09-18 08:57:26 -05:00
TC Johnson 6831eb37ad Merge remote-tracking branch 'upstream/main' 2023-09-18 08:54:51 -05:00
TC Johnson fa13f95a10 Version update: v0.2.2 → v0.2.3
- Security fix for WS denial of service
- Support for latest Rust 1.72
2023-09-17 13:21:57 -05:00
TC Johnson 91b7130fae Update releasing instructions
Added steps to publish to crates.io
2023-09-16 19:11:53 -05:00
TC Johnson 4485e4d51d Update releasing instructions
Added steps for publishing to crates.io
2023-09-16 19:08:45 -05:00
TC Johnson 06c0abead8 Version update: v0.2.1 → v0.2.2 2023-09-16 17:32:16 -05:00
TC Johnson 84e3303cec Cleaned up .md files syntax
Used the VScode markdownlint utility to make the syntax and
formatting of multuple .md files so that they are more correct.
2023-09-12 08:43:09 -05:00
TC Johnson 69cb0beb36 Make Python README a bit more descriptive
Adding in a little more text to help the reader better understand
what this module is, its prereqs, and point to the demo app as
an example how an app is structured.
2023-09-04 11:07:50 -05:00
TC Johnson 65826b219b Version update: v0.2.0 → v0.2.1 2023-09-03 19:45:12 -05: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 783b7cc59c Fix packaging version parsing
Comments added to Cargo.toml caused faulty parsing of the version
number by package/cargo_version.sh. Adding the -w switch to grep
fixes this by matching on the whole word 'version' and not matching
on words such as 'Bumpversion'.
2023-09-02 10:50:58 -05:00
TC Johnson 2c46a159a3 Version update: v0.1.10 → v0.2.0 2023-09-02 09:45:56 -05:00
TC Johnson 8b2c573298 Add Windows note to CHANGELOG 2023-09-02 09:43:49 -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
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 Johnson 513116e672 Version update: v0.1.9 → v0.1.10 2023-08-20 11:37:18 -05:00
TC Johnson dfeecdde0d Version update: v0.1.8 → v0.1.9 2023-08-19 17:35:52 -05:00
TC Johnson c69ed60cd2 Revise release process
Version bumping was causing an issue where a new git tag and commit was created
before Cargo.toml was updated. This merge turns off auto tag and commit creation
and moves them to the process document.
2023-08-19 17:19:17 -05:00
TC Johnson 04c26e48f0 'Version update: 0.1.7 → 0.1.8' 2023-08-18 20:27:01 -05:00
TC Johnson f49592927e Fix Python Install Instructions
Changed the references from veilid_python to veilid to match the
package name as it is in Pypi.
2023-08-18 19:59:44 -05:00
TC Johnson 38a61d385c Add standard and custom Python gitignore
Added the standard Python entries to gitignore plus included
veilid-python/demo/.demokeys to prevent personal keys from
being saved in the upstream repository
2023-08-05 15:17:28 +00:00
TC Johnson f4d71457da Add docs and mod version bumping
Added and modified documentation for the contribution process.
Added the code of conduct file.
Modified bump version's conf to auto create tags and commits.
2023-08-01 21:37:38 -05:00
TC Johnson 035a650159 Merge branch 'main' into add-contributor-docs 2023-08-01 13:46:58 -05:00
TC Johnson 4951e983c7 Release 0.1.5 2023-07-22 12:02:10 -05:00
TC Johnson e1ef4f14fb Removed CHANGELOG.md from veilid-cli directory 2023-07-21 16:14:27 -05:00
TC Johnson 546535bd73 Add contributor guide and code of conduct markdown documents 2023-07-20 22:49:26 -05:00
TC Johnson c2d0aad973 service restart if running, instructs to start if not 2023-07-17 20:55:45 -05:00
TC Johnson 090147b556 Switch - to _ in .deb filenames so dpkg-scanpackages can discern arch 2023-07-15 00:09:55 -05:00
TC Johnson 73838ab2aa Switch - to _ in .deb filenames so dpkg-scanpackages can discern arch 2023-07-14 23:50:22 -05:00
TC Johnson d18a1e3e28 edit instruction to systemctl enable 2023-07-14 20:47:03 -05:00