Skip to content

Commit

Permalink
Include tools cid to pipeline hash tree
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok committed Sep 6, 2023
1 parent 8e1d2e4 commit 7dbfd1a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .dx/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
antrun:run@units
antrun:run@integrations
antrun:run@overall
chdir: "{{ playbook_dir }}/../tools"
chdir: "{{ playbook_dir }}/../.tools"
strip_empty_ends: false
changed_when: true
when: >
Expand Down
1 change: 1 addition & 0 deletions .dx/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ environ: green

dx_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=.dx')[:7] }}"
env_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=.env/' ~ environ)[:7] }}"
tool_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=.tools')[:7] }}"
test_cid: "{{ lookup('ansible.builtin.pipe', 'git write-tree --prefix=tests')[:7] }}"

lib_version: 0.1.0-{{ lib_cid }}
Expand Down
1 change: 1 addition & 0 deletions .dx/tasks/pipeline/status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
stdin: |
{{ dx_cid }}
{{ env_cid }}
{{ tool_cid }}
{{ test_cid }}
register: pipeline_tag
changed_when: false
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ updates:
ignore:
- dependency-name: "org.smecalculus.bezmen:*"
- package-ecosystem: "maven"
directory: "/tools"
directory: "/.tools"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline-beyond-doubt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- .dx/**
- .env/**
- .github/**
- tools/**
- .tools/**
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- .dx/**
- .env/**
- .github/**
- tools/**
- .tools/**
workflow_dispatch:

jobs:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/solution-convincing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true
env:
JACOCO_UNITS: tools/target/coverage/units/jacoco.xml
JACOCO_UNITS: .tools/target/coverage/units/jacoco.xml
- uses: madrapps/[email protected]
if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_INTEGRATIONS) != '' }}
with:
Expand All @@ -88,7 +88,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true
env:
JACOCO_INTEGRATIONS: tools/target/coverage/integrations/jacoco.xml
JACOCO_INTEGRATIONS: .tools/target/coverage/integrations/jacoco.xml
- uses: madrapps/[email protected]
if: ${{ github.event_name == 'pull_request' && hashFiles(env.JACOCO_OVERALL) != '' }}
with:
Expand All @@ -97,4 +97,4 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true
env:
JACOCO_OVERALL: tools/target/coverage/overall/jacoco.xml
JACOCO_OVERALL: .tools/target/coverage/overall/jacoco.xml
File renamed without changes.
File renamed without changes.

0 comments on commit 7dbfd1a

Please sign in to comment.