Skip to content

Commit 33706da

Browse files
chore: create alpha release
1 parent 244ac56 commit 33706da

File tree

1 file changed

+129
-96
lines changed

1 file changed

+129
-96
lines changed

.circleci/config.yml

+129-96
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,25 @@ jobs:
213213
name: cargo nextest
214214
command: TEST_LOG= RUST_LOG=info RUST_LOG_SPAN_EVENTS=full RUST_BACKTRACE=1 cargo nextest run --workspace --failure-output immediate-final --no-fail-fast
215215

216+
# changelog:
217+
# docker:
218+
# - image: orhunp/git-cliff
219+
changelog:
220+
docker:
221+
- image: quay.io/influxdb/changelogger:d7093c409adedd8837ef51fa84be0d0f8319177a
222+
steps:
223+
- checkout
224+
- run:
225+
name: Generate Changelog
226+
command: |
227+
PRODUCT=Core changelogger
228+
- store_artifacts:
229+
path: changelog_artifacts/
230+
- persist_to_workspace:
231+
root: .
232+
paths:
233+
- changelog_artifacts
234+
216235
# Build a dev binary.
217236
#
218237
# Compiles a binary with the default ("dev") cargo profile from the influxdb3 source
@@ -515,6 +534,15 @@ jobs:
515534
- run: |
516535
echo build executed successfully
517536
537+
# For alpha release, the process will be
538+
# - create a PR with version changes (should it include changelog as well?)
539+
# - that PR can be merged (v3.0.0-alpha.20250120)
540+
#
541+
#
542+
# - git tag same version `v3.0.0-alpha.20250120`
543+
# - this git tagged version will include changelog
544+
# - publish both images and binaries (create binary called latest or default by copying the version)
545+
518546
workflows:
519547
version: 2
520548
snapshot:
@@ -551,100 +579,105 @@ workflows:
551579
- sign-packages
552580
ci:
553581
jobs:
554-
- fmt:
555-
<<: *any_filter
556-
- lint:
557-
<<: *any_filter
558-
- inclusivity:
582+
# - fmt:
583+
# <<: *any_filter
584+
# - lint:
585+
# <<: *any_filter
586+
# - inclusivity:
587+
# <<: *any_filter
588+
# - cargo-audit:
589+
# <<: *any_filter
590+
# - test:
591+
# <<: *any_filter
592+
# - build-dev:
593+
# # This workflow requires secrets stored in the environment.
594+
# # These are not passed to workflows executed on forked
595+
# # repositories. In this case, skip the workflow, as it
596+
# # will be executed on merge to main anyways.
597+
# <<: *nofork_filter
598+
# name: build-dev-<< matrix.target >>
599+
# matrix:
600+
# parameters:
601+
# target:
602+
# - aarch64-apple-darwin
603+
# - aarch64-unknown-linux-gnu
604+
# - aarch64-unknown-linux-musl
605+
# - x86_64-pc-windows-gnu
606+
# - x86_64-unknown-linux-gnu
607+
# - x86_64-unknown-linux-musl
608+
# - doc:
609+
# <<: *any_filter
610+
#
611+
# changelog should be added here - where to source date from when releasing
612+
#
613+
- changelog:
559614
<<: *any_filter
560-
- cargo-audit:
561-
<<: *any_filter
562-
- test:
563-
<<: *any_filter
564-
- build-dev:
565-
# This workflow requires secrets stored in the environment.
566-
# These are not passed to workflows executed on forked
567-
# repositories. In this case, skip the workflow, as it
568-
# will be executed on merge to main anyways.
569-
<<: *nofork_filter
570-
name: build-dev-<< matrix.target >>
571-
matrix:
572-
parameters:
573-
target:
574-
- aarch64-apple-darwin
575-
- aarch64-unknown-linux-gnu
576-
- aarch64-unknown-linux-musl
577-
- x86_64-pc-windows-gnu
578-
- x86_64-unknown-linux-gnu
579-
- x86_64-unknown-linux-musl
580-
- doc:
581-
<<: *any_filter
582-
- build-release:
583-
<<: *release_filter
584-
name: build-release-<< matrix.target >>
585-
matrix:
586-
parameters:
587-
target:
588-
- aarch64-apple-darwin
589-
- aarch64-unknown-linux-gnu
590-
- aarch64-unknown-linux-musl
591-
- x86_64-pc-windows-gnu
592-
- x86_64-unknown-linux-gnu
593-
- x86_64-unknown-linux-musl
594-
- build-packages:
595-
<<: *release_filter
596-
requires:
597-
- build-release
598-
- check_package_deb_arm64:
599-
<<: *release_filter
600-
requires:
601-
- build-packages
602-
- check_package_deb_amd64:
603-
<<: *release_filter
604-
requires:
605-
- build-packages
606-
- check_package_rpm:
607-
<<: *nofork_filter
608-
name:
609-
check_package_rpm-<< matrix.arch >>
610-
matrix:
611-
parameters:
612-
arch: [ x86_64, aarch64 ]
613-
requires:
614-
- build-packages
615-
- sign-packages:
616-
<<: *release_filter
617-
requires:
618-
- build-packages
619-
- check_package_rpm
620-
- check_package_deb_arm64
621-
- check_package_deb_amd64
622-
- test
623-
- publish-packages:
624-
<<: *release_filter
625-
matrix:
626-
parameters:
627-
destination: [ releases ]
628-
requires:
629-
- build-release
630-
- sign-packages
631-
- test
632-
- doc
633-
- lint
634-
- fmt
635-
- cargo-audit
636-
- build-docker:
637-
<<: *docker_filter
638-
name: build-docker-amd64
639-
platform: amd64
640-
resource_class: 2xlarge+
641-
- build-docker:
642-
<<: *docker_filter
643-
name: build-docker-arm64
644-
platform: arm64
645-
resource_class: arm.2xlarge
646-
- publish-docker:
647-
<<: *docker_filter
648-
requires:
649-
- build-docker-amd64
650-
- build-docker-arm64
615+
# - build-release:
616+
# <<: *release_filter
617+
# name: build-release-<< matrix.target >>
618+
# matrix:
619+
# parameters:
620+
# target:
621+
# - aarch64-apple-darwin
622+
# - aarch64-unknown-linux-gnu
623+
# - aarch64-unknown-linux-musl
624+
# - x86_64-pc-windows-gnu
625+
# - x86_64-unknown-linux-gnu
626+
# - x86_64-unknown-linux-musl
627+
# - build-packages:
628+
# <<: *release_filter
629+
# requires:
630+
# - build-release
631+
# - check_package_deb_arm64:
632+
# <<: *release_filter
633+
# requires:
634+
# - build-packages
635+
# - check_package_deb_amd64:
636+
# <<: *release_filter
637+
# requires:
638+
# - build-packages
639+
# - check_package_rpm:
640+
# <<: *nofork_filter
641+
# name:
642+
# check_package_rpm-<< matrix.arch >>
643+
# matrix:
644+
# parameters:
645+
# arch: [ x86_64, aarch64 ]
646+
# requires:
647+
# - build-packages
648+
# - sign-packages:
649+
# <<: *release_filter
650+
# requires:
651+
# - build-packages
652+
# - check_package_rpm
653+
# - check_package_deb_arm64
654+
# - check_package_deb_amd64
655+
# - test
656+
# - publish-packages:
657+
# <<: *release_filter
658+
# matrix:
659+
# parameters:
660+
# destination: [ releases ]
661+
# requires:
662+
# - build-release
663+
# - sign-packages
664+
# - test
665+
# - doc
666+
# - lint
667+
# - fmt
668+
# - cargo-audit
669+
# - build-docker:
670+
# <<: *docker_filter
671+
# name: build-docker-amd64
672+
# platform: amd64
673+
# resource_class: 2xlarge+
674+
# - build-docker:
675+
# <<: *docker_filter
676+
# name: build-docker-arm64
677+
# platform: arm64
678+
# resource_class: arm.2xlarge
679+
# - publish-docker:
680+
# <<: *docker_filter
681+
# requires:
682+
# - build-docker-amd64
683+
# - build-docker-arm64

0 commit comments

Comments
 (0)