Merge branch 'add_nightly_builds' into 'main'

Manually set nightly to true in Earthfile to test rest of process

See merge request veilid/veilid!293
This commit is contained in:
TC 2024-07-15 03:14:49 +00:00
commit d062d60bf5
2 changed files with 9 additions and 9 deletions

View File

@ -337,7 +337,7 @@ nightly_package_amd64_deb:
- build-amd64-deb - build-amd64-deb
script: script:
- earthly bootstrap - earthly bootstrap
- earthly +package-linux-amd64-deb --IS_NIGHTLY="$IS_NIGHTLY" - earthly +package-linux-amd64-deb #--IS_NIGHTLY="$IS_NIGHTLY"
- bash scripts/cicd/build-machine/scp-amd64-debs-to-orchestrator.sh - bash scripts/cicd/build-machine/scp-amd64-debs-to-orchestrator.sh
rules: rules:
- if: $IS_NIGHTLY == "true" - if: $IS_NIGHTLY == "true"
@ -350,7 +350,7 @@ nightly_package_arm64_deb:
- build-arm64-deb - build-arm64-deb
script: script:
- earthly bootstrap - earthly bootstrap
- earthly +package-linux-arm64-deb --IS_NIGHTLY="$IS_NIGHTLY" - earthly +package-linux-arm64-deb #--IS_NIGHTLY="$IS_NIGHTLY"
- bash scripts/cicd/build-machine/scp-arm64-debs-to-orchestrator.sh - bash scripts/cicd/build-machine/scp-arm64-debs-to-orchestrator.sh
rules: rules:
- if: $IS_NIGHTLY == "true" - if: $IS_NIGHTLY == "true"
@ -363,7 +363,7 @@ nightly_package_amd64_rpm:
- build-amd64-rpm - build-amd64-rpm
script: script:
- earthly bootstrap - earthly bootstrap
- earthly +package-linux-amd64-rpm --IS_NIGHTLY="$IS_NIGHTLY" - earthly +package-linux-amd64-rpm #--IS_NIGHTLY="$IS_NIGHTLY"
- bash scripts/cicd/build-machine/scp-amd64-rpms-to-orchestrator.sh - bash scripts/cicd/build-machine/scp-amd64-rpms-to-orchestrator.sh
rules: rules:
- if: $IS_NIGHTLY == "true" - if: $IS_NIGHTLY == "true"

View File

@ -212,10 +212,10 @@ package-linux-amd64-deb:
################################# #################################
COPY --dir package /veilid COPY --dir package /veilid
# veilid-server # veilid-server
RUN /veilid/package/debian/earthly_make_veilid_server_deb.sh amd64 x86_64-unknown-linux-gnu $IS_NIGHTLY RUN /veilid/package/debian/earthly_make_veilid_server_deb.sh amd64 x86_64-unknown-linux-gnu true
SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/ SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/
# veilid-cli # veilid-cli
RUN /veilid/package/debian/earthly_make_veilid_cli_deb.sh amd64 x86_64-unknown-linux-gnu $IS_NIGHTLY RUN /veilid/package/debian/earthly_make_veilid_cli_deb.sh amd64 x86_64-unknown-linux-gnu true
# save artifacts # save artifacts
SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/ SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/
@ -231,10 +231,10 @@ package-linux-amd64-rpm:
COPY +build-linux-amd64/x86_64-unknown-linux-gnu /veilid/target/x86_64-unknown-linux-gnu COPY +build-linux-amd64/x86_64-unknown-linux-gnu /veilid/target/x86_64-unknown-linux-gnu
RUN mkdir -p /rpm-work-dir/veilid-server RUN mkdir -p /rpm-work-dir/veilid-server
# veilid-server # veilid-server
RUN veilid/package/rpm/veilid-server/earthly_make_veilid_server_rpm.sh x86_64 x86_64-unknown-linux-gnu $IS_NIGHTLY RUN veilid/package/rpm/veilid-server/earthly_make_veilid_server_rpm.sh x86_64 x86_64-unknown-linux-gnu true
#SAVE ARTIFACT --keep-ts /root/rpmbuild/RPMS/x86_64/*.rpm AS LOCAL ./target/packages/ #SAVE ARTIFACT --keep-ts /root/rpmbuild/RPMS/x86_64/*.rpm AS LOCAL ./target/packages/
# veilid-cli # veilid-cli
RUN veilid/package/rpm/veilid-cli/earthly_make_veilid_cli_rpm.sh x86_64 x86_64-unknown-linux-gnu $IS_NIGHTLY RUN veilid/package/rpm/veilid-cli/earthly_make_veilid_cli_rpm.sh x86_64 x86_64-unknown-linux-gnu true
# save artifacts # save artifacts
SAVE ARTIFACT --keep-ts /root/rpmbuild/RPMS/x86_64/*.rpm AS LOCAL ./target/packages/ SAVE ARTIFACT --keep-ts /root/rpmbuild/RPMS/x86_64/*.rpm AS LOCAL ./target/packages/
@ -245,10 +245,10 @@ package-linux-arm64-deb:
################################# #################################
COPY --dir package /veilid COPY --dir package /veilid
# veilid-server # veilid-server
RUN /veilid/package/debian/earthly_make_veilid_server_deb.sh arm64 aarch64-unknown-linux-gnu $IS_NIGHTLY RUN /veilid/package/debian/earthly_make_veilid_server_deb.sh arm64 aarch64-unknown-linux-gnu true
SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/ SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/
# veilid-cli # veilid-cli
RUN /veilid/package/debian/earthly_make_veilid_cli_deb.sh arm64 aarch64-unknown-linux-gnu $IS_NIGHTLY RUN /veilid/package/debian/earthly_make_veilid_cli_deb.sh arm64 aarch64-unknown-linux-gnu true
# save artifacts # save artifacts
SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/ SAVE ARTIFACT --keep-ts /dpkg/out/*.deb AS LOCAL ./target/packages/