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):
85
85
path = os .getenv ('CF_VOLUME_PATH' ) if os .getenv ('CF_VOLUME_PATH' ) != None else './'
86
86
with open (path + '/env_vars_to_export' , 'a' ) as a_writer :
87
87
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
+
88
93
print ("Exporting variable: " + var_name + "=" + var_value )
89
94
90
95
##############################################################
91
96
92
97
if __name__ == "__main__" :
93
- main ()
98
+ main ()
Original file line number Diff line number Diff line change 1
1
kind : step-type
2
2
metadata :
3
3
name : argo-cd-sync
4
- version : 0.4.2
4
+ version : 0.4.3
5
5
isPublic : true
6
6
description : Syncs Argo CD apps managed by our GitOps Runtimes
7
7
sources :
55
55
},
56
56
"IMAGE_TAG": {
57
57
"type": "string",
58
- "default": "0.4.2 "
58
+ "default": "0.4.3 "
59
59
}
60
60
}
61
61
}
You can’t perform that action at this time.
0 commit comments