From b085e8edc958e3febade359b48219c1fc6c07dde Mon Sep 17 00:00:00 2001 From: Pavel Vetokhin Date: Wed, 6 Sep 2023 21:50:48 +0300 Subject: [PATCH] Rename solution.yml to systems.yml --- .dx/sources.yml | 2 +- .dx/{solution.yml => systems.yml} | 0 .dx/tasks/pipeline/status.yml | 4 ++-- .dx/tasks/solution/status.yml | 4 ++-- .github/workflows/pipeline-beyond-doubt.yml | 2 +- .github/workflows/solution-beyond-doubt.yml | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) rename .dx/{solution.yml => systems.yml} (100%) diff --git a/.dx/sources.yml b/.dx/sources.yml index 1d7ebeeb..08df2996 100644 --- a/.dx/sources.yml +++ b/.dx/sources.yml @@ -55,7 +55,7 @@ cmd: > ansible-lint sources.yml - solution.yml + systems.yml strip_empty_ends: false changed_when: false - name: Analyze diff --git a/.dx/solution.yml b/.dx/systems.yml similarity index 100% rename from .dx/solution.yml rename to .dx/systems.yml diff --git a/.dx/tasks/pipeline/status.yml b/.dx/tasks/pipeline/status.yml index af1af71d..fc6d0fe2 100644 --- a/.dx/tasks/pipeline/status.yml +++ b/.dx/tasks/pipeline/status.yml @@ -10,7 +10,7 @@ register: pipeline_cid changed_when: false -- name: Capture pipeline status +- name: Capture status ansible.builtin.command: cmd: docker {{ docker_entity }} inspect {{ pipeline_image }}:{{ pipeline_cid.stdout[:7] }} register: pipeline_status @@ -18,7 +18,7 @@ - pipeline_status.rc != 0 failed_when: false -- name: Pipeline status command +- name: Status command ansible.builtin.debug: msg: "{{ pipeline_status.cmd|join(' ') }}" when: pipeline_status is changed diff --git a/.dx/tasks/solution/status.yml b/.dx/tasks/solution/status.yml index e76989e7..8518245f 100644 --- a/.dx/tasks/solution/status.yml +++ b/.dx/tasks/solution/status.yml @@ -11,7 +11,7 @@ register: solution_cid changed_when: false -- name: Capture solution status +- name: Capture status ansible.builtin.command: cmd: docker {{ docker_entity }} inspect {{ solution_image }}:{{ solution_cid.stdout[:7] }} register: solution_status @@ -19,7 +19,7 @@ - solution_status.rc != 0 failed_when: false -- name: Solution status command +- name: Status command ansible.builtin.debug: msg: "{{ solution_status.cmd|join(' ') }}" when: solution_status is changed diff --git a/.github/workflows/pipeline-beyond-doubt.yml b/.github/workflows/pipeline-beyond-doubt.yml index dbc1d09e..664f26ea 100644 --- a/.github/workflows/pipeline-beyond-doubt.yml +++ b/.github/workflows/pipeline-beyond-doubt.yml @@ -41,7 +41,7 @@ jobs: GITHUB_ACTOR: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: > - ansible-playbook solution.yml + ansible-playbook systems.yml -e maven_host=maven.pkg.github.com -e docker_host=ghcr.io -e environ=${{ matrix.environ.name }} diff --git a/.github/workflows/solution-beyond-doubt.yml b/.github/workflows/solution-beyond-doubt.yml index acbe19be..8f55afdb 100644 --- a/.github/workflows/solution-beyond-doubt.yml +++ b/.github/workflows/solution-beyond-doubt.yml @@ -93,7 +93,7 @@ jobs: tools: python docker token: ${{ secrets.GITHUB_TOKEN }} - run: > - ansible-playbook solution.yml -t compile + ansible-playbook systems.yml -t compile -e docker_host=${{ env.DOCKER_HOST }} -e usage=${{ matrix.usage }} -e prefs=${{ matrix.prefs }} @@ -127,7 +127,7 @@ jobs: name: solution-${{ matrix.usage }}-${{ matrix.prefs }} path: solutions/target/context - run: > - ansible-playbook solution.yml -t test + ansible-playbook systems.yml -t test -e docker_host=${{ env.DOCKER_HOST }} -e test_failure_ignore=true -e usage=${{ matrix.usage }} @@ -169,7 +169,7 @@ jobs: name: solution-${{ matrix.usage }}-${{ matrix.prefs }} path: solutions/target/context - run: > - ansible-playbook solution.yml -t package + ansible-playbook systems.yml -t package -e docker_host=${{ env.DOCKER_HOST }} -e focus=solution -e usage=${{ matrix.usage }}