@@ -77,30 +77,38 @@ s remove -y -t ./go/s.yaml
7777rm -rf ./go/code/target
7878cd ..
7979
80- echo " test nodejs runtime with auto ..."
80+
81+ echo " test nodejs runtime with provision config mode=drain ..."
8182cd nodejs
82- export fc_component_function_name=nodejs18-$( uname) -$( uname -m) -$RANDSTR
83+ export fc_component_function_name=nodejs18-provision-drain-$( uname) -$( uname -m) -$RANDSTR
84+ s deploy -y -t s_provision_drain.yaml
85+ s invoke -e ' {"hello":"fc nodejs provision config mode=drain"}' -t s_provision_drain.yaml
86+ s info -y -t s_provision_drain.yaml
87+ s remove -y -t s_provision_drain.yaml
88+
89+ echo " test nodejs runtime with auto ..."
90+ export fc_component_function_name=nodejs18-nas-auto-$( uname) -$( uname -m) -$RANDSTR
8391s deploy -y -t s_auto.yaml
8492s invoke -e ' {"hello":"fc nodejs with auto"}' -t s_auto.yaml
8593s info -y -t s_auto.yaml
8694s remove -y -t s_auto.yaml
8795
8896echo " test nodejs runtime with oss config auto ..."
89- export fc_component_function_name=nodejs18-$( uname) -$( uname -m) -$RANDSTR
97+ export fc_component_function_name=nodejs18-oss-auto- $( uname) -$( uname -m) -$RANDSTR
9098s deploy -y -t ./s_oss_config_auto.yaml
9199s invoke -e ' {"hello":"fc nodejs with oss config auto"}' -t ./s_oss_config_auto.yaml
92100s info -y -t ./s_oss_config_auto.yaml
93101s remove -y -t ./s_oss_config_auto.yaml
94102
95103echo " test nodejs runtime with more vpc and nas auto ..."
96- export fc_component_function_name=nodejs16-$( uname) -$( uname -m) -$RANDSTR
104+ export fc_component_function_name=nodejs16-multi-nas-auto- $( uname) -$( uname -m) -$RANDSTR
97105s deploy -y -t ./s_lock_auto.yaml
98106s invoke -e ' {"hello":"fc nodejs with more vpc and nas auto"}' -t ./s_lock_auto.yaml
99107s info -y -t ./s_lock_auto.yaml
100108s remove -y -t ./s_lock_auto.yaml
101109
102110echo " test nodejs runtime with tags ..."
103- export fc_component_function_name=nodejs16-$( uname) -$( uname -m) -$RANDSTR
111+ export fc_component_function_name=nodejs16-tags- $( uname) -$( uname -m) -$RANDSTR
104112s deploy -y -t ./s_tags.yaml
105113s deploy -y -t ./s_tags2.yaml
106114s deploy -y -t ./s_tags3.yaml
0 commit comments