Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
feat: Add tags to gocd build instances
Browse files Browse the repository at this point in the history
  • Loading branch information
jdmulloy committed Nov 3, 2022
1 parent 37431d4 commit 8b407f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playbooks/continuous_delivery/launch_instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
state: present
tags:
Name: "{{ automation_prefix }} {{ unique_key_name.stdout }}"
gocd_pipeline_url: "{{ lookup('ansible.builtin.env', 'GO_SERVER_URL')|default('', True) }}/tab/build/detail/{{ lookup('ansible.builtin.env', 'GO_PIPELINE_NAME')|default('', True) }}/{{ lookup('ansible.builtin.env', 'GO_PIPELINE_LABEL')|default('', True) }}/{{ lookup('ansible.builtin.env', 'GO_STAGE_NAME')|default('', True) }}/{{ lookup('ansible.builtin.env', 'GO_STAGE_COUNTER')|default('', True) }}/{{ lookup('ansible.builtin.env', 'GO_JOB_NAME_COUNTER')|default('', True) }}"
gocd_pipepline_name: "{{ lookup('ansible.builtin.env', 'GO_PIPELINE_NAME')|default('', True) }}"
gocd_pipepline_label: "{{ lookup('ansible.builtin.env', 'GO_PIPELINE_LABEL')|default('', True) }}"
gocd_pipepline_counter: "{{ lookup('ansible.builtin.env', 'GO_PIPELINE_COUNTER')|default('', True) }}"
gocd_stage_counter: "{{ lookup('ansible.builtin.env', 'GO_STAGE_COUNTER')|default('', True) }}"
retries: 6
delay: 15

Expand Down

0 comments on commit 8b407f6

Please sign in to comment.