Commit e61b1aa
authored
chore: swap deployEnv to opt in when environment already exists (#5262)
The new logic with no flags is:
1. Check whether workload is uninitialized. If so, prompt for workload init.
2. Check whether environment is uninitialized. If so, prompt for env init, then proceed directly to env deploy.
3. Deploy workload.
Now, there is no extra prompt for environment deployment at any time. The behavior is purely opt-in, which actually I think makes more sense.1 parent 3a73f6e commit e61b1aa
3 files changed
Lines changed: 5 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | 400 | | |
408 | 401 | | |
409 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
949 | 948 | | |
950 | 949 | | |
951 | 950 | | |
952 | 951 | | |
953 | | - | |
954 | 952 | | |
955 | 953 | | |
956 | 954 | | |
957 | 955 | | |
958 | 956 | | |
959 | 957 | | |
960 | | - | |
961 | 958 | | |
962 | 959 | | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
968 | 963 | | |
969 | 964 | | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | 965 | | |
990 | 966 | | |
991 | 967 | | |
992 | | - | |
993 | 968 | | |
994 | 969 | | |
995 | 970 | | |
| |||
1002 | 977 | | |
1003 | 978 | | |
1004 | 979 | | |
1005 | | - | |
1006 | 980 | | |
1007 | 981 | | |
1008 | | - | |
1009 | 982 | | |
1010 | 983 | | |
1011 | 984 | | |
| |||
1017 | 990 | | |
1018 | 991 | | |
1019 | 992 | | |
1020 | | - | |
1021 | 993 | | |
1022 | 994 | | |
1023 | 995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments