Skip to content

Commit

Permalink
Pull request 1177: fix stable dnr-rulesets auto-build specs — make ar…
Browse files Browse the repository at this point in the history
…tifact abailable in master

Squashed commit of the following:

commit 243faf1
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Wed Jan 22 13:12:42 2025 +0200

    fix comment

commit 1f00a99
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Wed Jan 22 12:29:59 2025 +0200

    fix stable dnr-rulesets auto-build specs — make artifact abailable in master
  • Loading branch information
slavaleleka authored and maximtop committed Jan 22, 2025
1 parent 0201caf commit f10bc50
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions bamboo-specs/dnr-rulesets-auto-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ DoNothing:
BRANCH="${bamboo.planRepository.branchName}"
echo "Build and deployment is not supported on branch ${BRANCH}, skipping"
requirements:
# Since the artifact is being published from a non-master branch, it should still be available in the master branch
artifacts: &artifacts
- name: dnr-rulesets.tgz
location: packages/dnr-rulesets/
pattern: dnr-rulesets.tgz
shared: true
required: true
requirements: &requirements
- adg-docker: 'true'
- extension: 'true'

Expand Down Expand Up @@ -165,26 +172,17 @@ branch-overrides:
pnpm clean
echo "Size after cleanup:" && du -h | tail -n 1
artifacts:
- name: dnr-rulesets.tgz
location: packages/dnr-rulesets/
pattern: dnr-rulesets.tgz
shared: true
required: true
requirements:
- adg-docker: 'true'
- extension: 'true'
artifacts: *artifacts
requirements: *requirements

# runs plan every 3 hours
triggers:
- cron:
expression: 0 0 */3 * * ?

branches:
<<: *branches
branches: *branches

notifications:
<<: *notifications
notifications: *notifications

labels: []

Expand Down

0 comments on commit f10bc50

Please sign in to comment.