@@ -10,40 +10,28 @@ steps:
1010 repo : " MetaCell/NetPyNE-UI"
1111 revision : " ${{CF_BRANCH}}"
1212 stage : " clone"
13- when :
14- branch :
15- only :
16- - " ${{CF_BRANCH}}"
1713 BuildingNetPyNE-UI :
1814 title : Building NetPyNE-UI
1915 type : build
2016 stage : build
2117 image_name : netpyne-ui
2218 working_directory : ${{main_clone}}
23- tag : ' ${{CF_SHORT_REVISION}}'
19+ tag : ' ${{CF_BRANCH_TAG_NORMALIZED}}-${{ CF_SHORT_REVISION}}-${{CF_BUILD_TIMESTAMP }}'
2420 build_arguments :
2521 - NETPYNE_VERSION=${{NETPYNE_VERSION}}
2622 - WORKSPACE_VERSION=${{WORKSPACE_VERSION}}
2723 - PYGEPPETTO_VERSION=${{PYGEPPETTO_VERSION}}
2824 - JUPYTER_GEPPETTO_VERSION=${{JUPYTER_GEPPETTO_VERSION}}
2925 - BUILD_ARGS=${{BUILD_ARGS}}
3026 registry : ${{REGISTRY}}
31- when :
32- branch :
33- only :
34- - " ${{CF_BRANCH}}"
3527 BuildingHub :
3628 title : Building Hub
3729 type : build
3830 stage : " build"
3931 image_name : netpyne-hub
4032 working_directory : k8s
41- tag : ' ${{CF_SHORT_REVISION}}'
33+ tag : ' ${{CF_BRANCH_TAG_NORMALIZED}}-${{ CF_SHORT_REVISION}}-${{CF_BUILD_TIMESTAMP }}'
4234 registry : ${{REGISTRY}}
43- when :
44- branch :
45- only :
46- - " ${{CF_BRANCH}}"
4735 installing_chart :
4836 type : helm
4937 stage : deploy
@@ -61,10 +49,8 @@ steps:
6149 custom_value_files :
6250 - ' cf_values.yaml'
6351 custom_values :
64- - ' hub_image_tag=${{CF_SHORT_REVISION}}'
65- - ' singleuser_image_tag=${{CF_SHORT_REVISION}}'
66- - ' singleuser_cpu_limit=${{CPU_MAX}}'
67- - ' singleuser_cpu_guarantee=${{CPU_MIN}}'
52+ - ' hub_image_tag=${{CF_BRANCH_TAG_NORMALIZED}}-${{CF_SHORT_REVISION}}-${{CF_BUILD_TIMESTAMP}}'
53+ - ' singleuser_image_tag=${{CF_BRANCH_TAG_NORMALIZED}}-${{CF_SHORT_REVISION}}-${{CF_BUILD_TIMESTAMP}}'
6854 - ' singleuser_memory_limit=${{MEMORY_MAX}}'
6955 - ' singleuser_memory_guarantee=${{MEMORY_MIN}}'
7056 - ' proxy_secretToken=${{SECRET_TOKEN}}'
0 commit comments