Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit building packages to tags and master #4414

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,14 @@ jobs:
command: |
./tools/pkg/publish.sh

filters: &all_tags
tags:
only: /^\d+\.\d+\.\d+([a-z0-9\-\+])*/
filters:
- &all_tags
tags:
only: /^\d+\.\d+\.\d+([a-z0-9\-\+])*/
- &all_tags_and_master
<<: *all_tags
branches:
only: master

workflows:
version: 2
Expand All @@ -743,67 +748,67 @@ workflows:
executor: otp_27
platform: debian-bookworm
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: debian-bullseye
executor: otp_27
platform: debian-bullseye
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: debian-buster
executor: otp_27
platform: debian-buster
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: ubuntu-oracular
executor: otp_27
platform: ubuntu-oracular
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: ubuntu-noble
executor: otp_27
platform: ubuntu-noble
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: ubuntu-jammy
executor: otp_27
platform: ubuntu-jammy
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: ubuntu-focal
executor: otp_27
platform: ubuntu-focal
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: rockylinux-9
executor: otp_27
platform: rockylinux-9
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: rockylinux-8
executor: otp_27
platform: rockylinux-8
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: almalinux-9
executor: otp_27
platform: almalinux-9
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
- package:
name: almalinux-8
executor: otp_27
platform: almalinux-8
context: mongooseim-org
filters: *all_tags
filters: *all_tags_and_master
# ======== BASE DOCKER BUILDS ========
- build_in_docker:
name: otp_27_docker
Expand Down