mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-10-01 01:26:08 -04:00
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.
This commit is contained in:
parent
038f4d2121
commit
c33f0f19da
@ -180,7 +180,7 @@ delete_build_machines:
|
|||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
|
||||||
|
|
||||||
# Dryrun release -- triggered by changes in .gitlab-ci.yml or CICD scripts
|
# Dryrun release -- triggered by changes in .gitlab-ci.yml, CICD scripts, or Earthfile
|
||||||
|
|
||||||
dryrun_create_build_machines:
|
dryrun_create_build_machines:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
@ -195,6 +195,7 @@ dryrun_create_build_machines:
|
|||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
||||||
|
|
||||||
dryrun_package_amd64_deb:
|
dryrun_package_amd64_deb:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
@ -211,6 +212,7 @@ dryrun_package_amd64_deb:
|
|||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
||||||
|
|
||||||
dryrun_package_arm64_deb:
|
dryrun_package_arm64_deb:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
@ -227,6 +229,7 @@ dryrun_package_arm64_deb:
|
|||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
||||||
|
|
||||||
dryrun_package_amd64_rpm:
|
dryrun_package_amd64_rpm:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
@ -243,22 +246,24 @@ dryrun_package_amd64_rpm:
|
|||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
||||||
|
|
||||||
dryrun_publish_crates:
|
# dryrun_publish_crates:
|
||||||
stage: build_packages
|
# stage: build_packages
|
||||||
needs:
|
# needs:
|
||||||
- dryrun_create_build_machines
|
# - dryrun_create_build_machines
|
||||||
tags:
|
# tags:
|
||||||
- build-amd64-deb
|
# - build-amd64-deb
|
||||||
script:
|
# script:
|
||||||
- vlt login
|
# - vlt login
|
||||||
- vlt run --command="cargo publish -p veilid-tools --dry-run"
|
# - vlt run --command="cargo publish -p veilid-tools --dry-run"
|
||||||
- vlt run --command="cargo publish -p veilid-core --dry-run"
|
# - vlt run --command="cargo publish -p veilid-core --dry-run"
|
||||||
rules:
|
# rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "push"
|
# - if: $CI_PIPELINE_SOURCE == "push"
|
||||||
changes:
|
# changes:
|
||||||
- .gitlab-ci.yml
|
# - .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
# - scripts/cicd/**/*
|
||||||
|
# - Earthfile
|
||||||
|
|
||||||
dryrun_publish_python:
|
dryrun_publish_python:
|
||||||
stage: build_packages
|
stage: build_packages
|
||||||
@ -274,6 +279,7 @@ dryrun_publish_python:
|
|||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
||||||
|
|
||||||
dryrun_build_repositories:
|
dryrun_build_repositories:
|
||||||
stage: distribute
|
stage: distribute
|
||||||
@ -289,6 +295,7 @@ dryrun_build_repositories:
|
|||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
||||||
|
|
||||||
dryrun_deploy_repos:
|
dryrun_deploy_repos:
|
||||||
stage: distribute
|
stage: distribute
|
||||||
@ -303,6 +310,7 @@ dryrun_deploy_repos:
|
|||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
||||||
|
|
||||||
dryrun_delete_build_machines:
|
dryrun_delete_build_machines:
|
||||||
stage: distribute
|
stage: distribute
|
||||||
@ -318,4 +326,5 @@ dryrun_delete_build_machines:
|
|||||||
- if: $CI_PIPELINE_SOURCE == "push"
|
- if: $CI_PIPELINE_SOURCE == "push"
|
||||||
changes:
|
changes:
|
||||||
- .gitlab-ci.yml
|
- .gitlab-ci.yml
|
||||||
- scripts/cicd/**/*
|
- scripts/cicd/**/*
|
||||||
|
- Earthfile
|
@ -57,7 +57,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Jul 2 2023 TC <tc@veilid.org>
|
|
||||||
- experimental RPM building
|
|
||||||
* Sun Apr 28 2024 Christien Rioux <chris@veilid.org>
|
* Sun Apr 28 2024 Christien Rioux <chris@veilid.org>
|
||||||
- add ipc directory to installation
|
- add ipc directory to installation
|
||||||
|
* Sun Jul 2 2023 TC <tc@veilid.org>
|
||||||
|
- experimental RPM building
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user