Skip to content

Commit e3a86c3

Browse files
committed
Update snapshot files
1 parent 5d3b591 commit e3a86c3

File tree

2 files changed

+117
-117
lines changed

2 files changed

+117
-117
lines changed

tests/__snapshots__/test_git_repo.ambr

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -667,46 +667,46 @@
667667
'cmds': list([
668668
'flux build tests/testdata/cluster2/flux (abs)',
669669
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
670-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
670+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
671671
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
672672
]),
673673
}),
674674
"Kustomization 'flux-system/cluster-apps'": dict({
675675
'cmds': list([
676676
'flux build tests/testdata/cluster2/apps (abs)',
677677
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
678-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
678+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
679679
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
680680
]),
681681
}),
682682
"Kustomization 'flux-system/cluster-apps-ingress-nginx'": dict({
683683
'cmds': list([
684684
'flux build tests/testdata/cluster2/apps/networking/ingress-nginx/app (abs)',
685685
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
686-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
686+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
687687
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
688688
]),
689689
}),
690690
"Kustomization 'flux-system/cluster-apps-ingress-nginx-certificates'": dict({
691691
'cmds': list([
692692
'flux build tests/testdata/cluster2/apps/networking/ingress-nginx/certificates (abs)',
693693
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
694-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
694+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
695695
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
696696
]),
697697
}),
698698
"Kustomization 'flux-system/cluster-apps-kubernetes-dashboard'": dict({
699699
'cmds': list([
700700
'flux build tests/testdata/cluster2/apps/monitoring/kubernetes-dashboard/app (abs)',
701701
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
702-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
702+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
703703
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
704704
]),
705705
}),
706706
"Kustomization 'tests/testdata/cluster2'": dict({
707707
'cmds': list([
708708
"(tests/testdata/cluster2 (abs)) kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$' .",
709-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
709+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
710710
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
711711
]),
712712
}),
@@ -732,22 +732,22 @@
732732
'cmds': list([
733733
'flux build tests/testdata/cluster3/namespaces/overlays/cluster3 (abs)',
734734
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
735-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
735+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
736736
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
737737
]),
738738
}),
739739
"Kustomization 'flux-system/tenants'": dict({
740740
'cmds': list([
741741
'flux build tests/testdata/cluster3/tenants/overlays/cluster3 (abs)',
742742
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
743-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
743+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
744744
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
745745
]),
746746
}),
747747
"Kustomization 'tests/testdata/cluster3'": dict({
748748
'cmds': list([
749749
"(tests/testdata/cluster3 (abs)) kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$' .",
750-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
750+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
751751
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
752752
]),
753753
}),
@@ -779,30 +779,30 @@
779779
'cmds': list([
780780
'flux build tests/testdata/cluster4/flux (abs)',
781781
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
782-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
782+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
783783
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
784784
]),
785785
}),
786786
"Kustomization 'flux-system/cluster-apps'": dict({
787787
'cmds': list([
788788
'flux build tests/testdata/cluster4/apps (abs)',
789789
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
790-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
790+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
791791
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
792792
]),
793793
}),
794794
"Kustomization 'flux-system/cluster-apps-kubernetes-dashboard'": dict({
795795
'cmds': list([
796796
'flux build tests/testdata/cluster4/apps/monitoring/kubernetes-dashboard (abs)',
797797
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
798-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
798+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
799799
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
800800
]),
801801
}),
802802
"Kustomization 'tests/testdata/cluster4'": dict({
803803
'cmds': list([
804804
"(tests/testdata/cluster4 (abs)) kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$' .",
805-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
805+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
806806
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
807807
]),
808808
}),
@@ -822,14 +822,14 @@
822822
'cmds': list([
823823
'flux build tests/testdata/cluster5/clusters/prod (abs)',
824824
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
825-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
825+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
826826
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
827827
]),
828828
}),
829829
"Kustomization 'tests/testdata/cluster5'": dict({
830830
'cmds': list([
831831
"(tests/testdata/cluster5 (abs)) kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$' .",
832-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
832+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
833833
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
834834
]),
835835
}),
@@ -855,22 +855,22 @@
855855
'cmds': list([
856856
'flux build tests/testdata/cluster6/apps (abs)',
857857
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
858-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
858+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
859859
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
860860
]),
861861
}),
862862
"Kustomization 'flux-system/flux-system'": dict({
863863
'cmds': list([
864864
'flux build tests/testdata/cluster6/cluster (abs)',
865865
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
866-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
866+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
867867
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
868868
]),
869869
}),
870870
"Kustomization 'tests/testdata/cluster6'": dict({
871871
'cmds': list([
872872
"(tests/testdata/cluster6 (abs)) kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$' .",
873-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
873+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
874874
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
875875
]),
876876
}),
@@ -902,30 +902,30 @@
902902
'cmds': list([
903903
'flux build tests/testdata/cluster7/flux/apps (abs)',
904904
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
905-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
905+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
906906
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
907907
]),
908908
}),
909909
"Kustomization 'flux-system/charts'": dict({
910910
'cmds': list([
911911
'flux build tests/testdata/cluster7/flux/charts (abs)',
912912
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
913-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
913+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
914914
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
915915
]),
916916
}),
917917
"Kustomization 'flux-system/flux-system'": dict({
918918
'cmds': list([
919919
'flux build tests/testdata/cluster7/clusters/home (abs)',
920920
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
921-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
921+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
922922
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
923923
]),
924924
}),
925925
"Kustomization 'tests/testdata/cluster7'": dict({
926926
'cmds': list([
927927
"(tests/testdata/cluster7 (abs)) kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$' .",
928-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
928+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
929929
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
930930
]),
931931
}),
@@ -964,38 +964,38 @@
964964
'cmds': list([
965965
'flux build tests/testdata/cluster/apps/prod (abs)',
966966
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
967-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
967+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
968968
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
969969
]),
970970
}),
971971
"Kustomization 'flux-system/flux-system'": dict({
972972
'cmds': list([
973973
'flux build tests/testdata/cluster/clusters/prod (abs)',
974974
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
975-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
975+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
976976
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
977977
]),
978978
}),
979979
"Kustomization 'flux-system/infra-configs'": dict({
980980
'cmds': list([
981981
'flux build tests/testdata/cluster/infrastructure/configs (abs)',
982982
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
983-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
983+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
984984
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
985985
]),
986986
}),
987987
"Kustomization 'flux-system/infra-controllers'": dict({
988988
'cmds': list([
989989
'flux build tests/testdata/cluster/infrastructure/controllers (abs)',
990990
"kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$'",
991-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
991+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
992992
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
993993
]),
994994
}),
995995
"Kustomization 'tests/testdata/cluster'": dict({
996996
'cmds': list([
997997
"(tests/testdata/cluster (abs)) kustomize cfg grep 'kind=^(Kustomization|ConfigMap|Secret)$' .",
998-
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository'",
998+
"kustomize cfg grep 'spec.sourceRef.kind=GitRepository|OCIRepository|ExternalArtifact'",
999999
"kustomize cfg grep 'kind=^(ConfigMap|Secret)$'",
10001000
]),
10011001
}),

0 commit comments

Comments
 (0)