From eaf6ff0100bbfa683280ad572044ded050643a68 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:30:35 +0200 Subject: [PATCH 1/2] BC-7854 - add ansible tags --- .github/workflows/push.yml | 2 +- ansible/roles/nuxt-client-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 8505da6cb1..b58cf3dc0f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -105,7 +105,7 @@ jobs: needs: - build_and_push_nuxt - 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/nuxt-client-core/tasks/main.yml b/ansible/roles/nuxt-client-core/tasks/main.yml index 3c28690652..64cf8d2a94 100644 --- a/ansible/roles/nuxt-client-core/tasks/main.yml +++ b/ansible/roles/nuxt-client-core/tasks/main.yml @@ -3,6 +3,8 @@ kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: svc.yml.j2 + tags: + - service - name: Configmap kubernetes.core.k8s: @@ -10,9 +12,13 @@ namespace: "{{ NAMESPACE }}" template: configmap.yml.j2 apply: yes + tags: + - configmap - name: Deployment kubernetes.core.k8s: kubeconfig: ~/.kube/config namespace: "{{ NAMESPACE }}" template: deployment.yml.j2 + tags: + - deployment From c0c7572bd54044f45b4a529cb7e6ee42d1cee6a8 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:13:30 +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 b58cf3dc0f..8505da6cb1 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -105,7 +105,7 @@ jobs: needs: - build_and_push_nuxt - 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: