File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,14 @@ def export_variable(var_name, var_value):
8585 path = os .getenv ('CF_VOLUME_PATH' ) if os .getenv ('CF_VOLUME_PATH' ) != None else './'
8686 with open (path + '/env_vars_to_export' , 'a' ) as a_writer :
8787 a_writer .write (var_name + "=" + var_value + '\n ' )
88+
89+ if os .getenv ('CF_VOLUME_PATH' ) == None : os .mkdir ('/meta' )
90+ with open ('/meta/env_vars_to_export' , 'a' ) as a_writer :
91+ a_writer .write (var_name + "=" + var_value + '\n ' )
92+
8893 print ("Exporting variable: " + var_name + "=" + var_value )
8994
9095##############################################################
9196
9297if __name__ == "__main__" :
93- main ()
98+ main ()
Original file line number Diff line number Diff line change 11kind : step-type
22metadata :
33 name : argo-cd-sync
4- version : 0.4.2
4+ version : 0.4.3
55 isPublic : true
66 description : Syncs Argo CD apps managed by our GitOps Runtimes
77 sources :
5555 },
5656 "IMAGE_TAG": {
5757 "type": "string",
58- "default": "0.4.2 "
58+ "default": "0.4.3 "
5959 }
6060 }
6161 }
You can’t perform that action at this time.
0 commit comments