From c8ddd9ea7e279e9ca508fddd68d95d933aea14ff Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:46:58 +0200 Subject: [PATCH 1/2] BC-7854 - add ansible tags --- .github/workflows/push.yml | 2 +- ansible/roles/h5p-staticfiles-server-core/tasks/main.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 28eccd5..7443a7f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -79,7 +79,7 @@ jobs: needs: - build_and_push - branch_meta - uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@main + uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@BC-7854-ansible-tags with: branch: ${{ needs.branch_meta.outputs.branch }} secrets: diff --git a/ansible/roles/h5p-staticfiles-server-core/tasks/main.yml b/ansible/roles/h5p-staticfiles-server-core/tasks/main.yml index d73fcbb..79bfe04 100644 --- a/ansible/roles/h5p-staticfiles-server-core/tasks/main.yml +++ b/ansible/roles/h5p-staticfiles-server-core/tasks/main.yml @@ -4,6 +4,8 @@ namespace: "{{ NAMESPACE }}" template: svc.yml.j2 when: WITH_H5P_EDITOR is defined and WITH_H5P_EDITOR|bool + tags: + - service - name: Configmap kubernetes.core.k8s: @@ -12,6 +14,8 @@ template: configmap.yml.j2 apply: yes when: WITH_H5P_EDITOR is defined and WITH_H5P_EDITOR|bool + tags: + - configmap - name: Deployment kubernetes.core.k8s: @@ -19,3 +23,5 @@ namespace: "{{ NAMESPACE }}" template: deployment.yml.j2 when: WITH_H5P_EDITOR is defined and WITH_H5P_EDITOR|bool + tags: + - deployment From 544adefb68ef4424cd356baa731a0d7f27c39ab2 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:14:46 +0200 Subject: [PATCH 2/2] BC-7854 - push workflow back to main --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7443a7f..28eccd5 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -79,7 +79,7 @@ jobs: needs: - build_and_push - branch_meta - uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@BC-7854-ansible-tags + uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@main with: branch: ${{ needs.branch_meta.outputs.branch }} secrets: