Skip to content

Commit

Permalink
test get short sha
Browse files Browse the repository at this point in the history
  • Loading branch information
acaiado committed Mar 8, 2024
1 parent 90e9b7b commit 025baa5
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 75 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
echo "Setting TAG_VERSION to ${{ github.event.release.tag_name }}"
echo "TAG_VERSION=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
else
echo "Setting TAG_VERSION to $(git rev-parse --short HEAD)"
echo "TAG_VERSION=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
echo "Setting TAG_VERSION to ${{ github.sha::8 }}"
echo "TAG_VERSION=${{ github.sha::8 }}" >> "$GITHUB_OUTPUT"
fi
- name: Set push image
id: set-push-image
Expand Down
146 changes: 73 additions & 73 deletions src/main/resources/workflows.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<bpmn:sequenceFlow id="Flow_0on0wki" name="No" sourceRef="Gateway_0715s2y" targetRef="Event_0net42z" />
<bpmn:textAnnotation id="TextAnnotation_0dgdz73">
<bpmn:text>If a tag exists then tag_version = tag
Else tag_version = commit sha</bpmn:text>
Else tag_version = commit short sha</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_16kbqzn" associationDirection="None" sourceRef="Activity_1nvjkz2" targetRef="TextAnnotation_0dgdz73" />
<bpmn:textAnnotation id="TextAnnotation_1dglfjn">
Expand Down Expand Up @@ -219,12 +219,6 @@ Else tag_version = commit sha</bpmn:text>
<dc:Bounds x="154" y="311" width="89" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_08i3ypz_di" bpmnElement="Gateway_08i3ypz" isMarkerVisible="true">
<dc:Bounds x="595" y="152" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="578" y="128" width="85" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_166iuj8_di" bpmnElement="Activity_166iuj8">
<dc:Bounds x="1090" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
Expand All @@ -244,34 +238,24 @@ Else tag_version = commit sha</bpmn:text>
<bpmndi:BPMNShape id="Activity_1uwiga4_di" bpmnElement="Activity_12ylalu">
<dc:Bounds x="450" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qkndvx_di" bpmnElement="Event_1qkndvx">
<dc:Bounds x="179" y="372" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="171" y="415" width="52" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0pxcgns_di" bpmnElement="Activity_0v2jbgq">
<dc:Bounds x="695" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1kwldmr_di" bpmnElement="Activity_0hv5qtc">
<dc:Bounds x="845" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1b65hmm_di" bpmnElement="Flow_1b65hmm">
<di:waypoint x="645" y="177" />
<di:waypoint x="695" y="177" />
<bpmndi:BPMNShape id="Event_1qkndvx_di" bpmnElement="Event_1qkndvx">
<dc:Bounds x="179" y="372" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="659" y="160" width="18" height="14" />
<dc:Bounds x="171" y="415" width="52" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1u7ib6f_di" bpmnElement="Flow_1u7ib6f">
<di:waypoint x="620" y="202" />
<di:waypoint x="620" y="260" />
<di:waypoint x="895" y="260" />
<di:waypoint x="895" y="217" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_08i3ypz_di" bpmnElement="Gateway_08i3ypz" isMarkerVisible="true">
<dc:Bounds x="595" y="152" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="750" y="242" width="15" height="14" />
<dc:Bounds x="578" y="128" width="85" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Group_08z1wvn_di" bpmnElement="Group_08z1wvn">
<dc:Bounds x="420" y="80" width="800" height="210" />
<bpmndi:BPMNLabel>
Expand Down Expand Up @@ -330,6 +314,22 @@ Else tag_version = commit sha</bpmn:text>
<di:waypoint x="390" y="177" />
<di:waypoint x="450" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1b65hmm_di" bpmnElement="Flow_1b65hmm">
<di:waypoint x="645" y="177" />
<di:waypoint x="695" y="177" />
<bpmndi:BPMNLabel>
<dc:Bounds x="659" y="160" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1u7ib6f_di" bpmnElement="Flow_1u7ib6f">
<di:waypoint x="620" y="202" />
<di:waypoint x="620" y="260" />
<di:waypoint x="895" y="260" />
<di:waypoint x="895" y="217" />
<bpmndi:BPMNLabel>
<dc:Bounds x="750" y="242" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_1hqy52q">
Expand All @@ -340,56 +340,56 @@ Else tag_version = commit sha</bpmn:text>
<dc:Bounds x="128" y="255" width="24" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1nvjkz2_di" bpmnElement="Activity_1nvjkz2">
<dc:Bounds x="577" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0df1b0w_di" bpmnElement="Activity_0df1b0w">
<dc:Bounds x="733" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_09cko3x_di" bpmnElement="Activity_09cko3x">
<dc:Bounds x="889" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0net42z_di" bpmnElement="Event_0net42z">
<dc:Bounds x="1042" y="212" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1050" y="188" width="20" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1fdhos9_di" bpmnElement="Activity_1fdhos9">
<dc:Bounds x="315" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0q7hcyb_di" bpmnElement="Gateway_0q7hcyb" isMarkerVisible="true">
<dc:Bounds x="209" y="205" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="207" y="181" width="54" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1fdhos9_di" bpmnElement="Activity_1fdhos9">
<dc:Bounds x="315" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0715s2y_di" bpmnElement="Gateway_0715s2y" isMarkerVisible="true">
<dc:Bounds x="471" y="205" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="475" y="181" width="41" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1nvjkz2_di" bpmnElement="Activity_1nvjkz2">
<dc:Bounds x="577" y="190" width="100" height="80" />
<bpmndi:BPMNShape id="TextAnnotation_0dgdz73_di" bpmnElement="TextAnnotation_0dgdz73">
<dc:Bounds x="577" y="70" width="140" height="70" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0df1b0w_di" bpmnElement="Activity_0df1b0w">
<dc:Bounds x="733" y="190" width="100" height="80" />
<bpmndi:BPMNShape id="TextAnnotation_1dglfjn_di" bpmnElement="TextAnnotation_1dglfjn">
<dc:Bounds x="733" y="70" width="130" height="70" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_09cko3x_di" bpmnElement="Activity_09cko3x">
<dc:Bounds x="889" y="190" width="100" height="80" />
<bpmndi:BPMNShape id="TextAnnotation_0uc6cux_di" bpmnElement="TextAnnotation_0uc6cux">
<dc:Bounds x="889" y="70" width="140" height="70" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_12jxjpp_di" bpmnElement="TextAnnotation_12jxjpp">
<dc:Bounds x="305" y="100" width="155" height="40" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_05mlaa8_di" bpmnElement="Association_05mlaa8">
<di:waypoint x="939" y="190" />
<di:waypoint x="939" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_0q4pu8p_di" bpmnElement="Association_0q4pu8p">
<di:waypoint x="783" y="190" />
<di:waypoint x="783" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_16kbqzn_di" bpmnElement="Association_16kbqzn">
<di:waypoint x="627" y="190" />
<di:waypoint x="627" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_0s2dmz8_di" bpmnElement="Association_0s2dmz8">
<di:waypoint x="365" y="190" />
<di:waypoint x="365" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1suubr2_di" bpmnElement="Flow_1suubr2">
<di:waypoint x="158" y="230" />
<di:waypoint x="209" y="230" />
Expand Down Expand Up @@ -442,22 +442,22 @@ Else tag_version = commit sha</bpmn:text>
<dc:Bounds x="771" y="312" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="TextAnnotation_0uc6cux_di" bpmnElement="TextAnnotation_0uc6cux">
<dc:Bounds x="889" y="70" width="140" height="70" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_1dglfjn_di" bpmnElement="TextAnnotation_1dglfjn">
<dc:Bounds x="733" y="70" width="130" height="70" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_0dgdz73_di" bpmnElement="TextAnnotation_0dgdz73">
<dc:Bounds x="577" y="70" width="140" height="70" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_12jxjpp_di" bpmnElement="TextAnnotation_12jxjpp">
<dc:Bounds x="305" y="100" width="155" height="40" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_16kbqzn_di" bpmnElement="Association_16kbqzn">
<di:waypoint x="627" y="190" />
<di:waypoint x="627" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_0q4pu8p_di" bpmnElement="Association_0q4pu8p">
<di:waypoint x="783" y="190" />
<di:waypoint x="783" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_05mlaa8_di" bpmnElement="Association_05mlaa8">
<di:waypoint x="939" y="190" />
<di:waypoint x="939" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_0s2dmz8_di" bpmnElement="Association_0s2dmz8">
<di:waypoint x="365" y="190" />
<di:waypoint x="365" y="140" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_0s8p8f3">
Expand All @@ -468,12 +468,6 @@ Else tag_version = commit sha</bpmn:text>
<dc:Bounds x="148" y="245" width="24" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1vmuhkc_di" bpmnElement="Event_1vmuhkc">
<dc:Bounds x="1002" y="202" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1010" y="245" width="20" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1rg0g7g_di" bpmnElement="Activity_1rg0g7g">
<dc:Bounds x="229" y="180" width="100" height="80" />
<bpmndi:BPMNLabel />
Expand All @@ -490,6 +484,12 @@ Else tag_version = commit sha</bpmn:text>
<dc:Bounds x="697" y="180" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1vmuhkc_di" bpmnElement="Event_1vmuhkc">
<dc:Bounds x="1002" y="202" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1010" y="245" width="20" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1j5zh2t_di" bpmnElement="Activity_1j5zh2t">
<dc:Bounds x="853" y="180" width="100" height="80" />
<bpmndi:BPMNLabel />
Expand Down

0 comments on commit 025baa5

Please sign in to comment.