fix: Fix the pipeline
This commit is contained in:
		@@ -144,7 +144,7 @@ steps:
 | 
			
		||||
      - yq -i "del(.status)"  /tmp/appset.yaml
 | 
			
		||||
      - yq -i "del(.spec.generators[].list.elements[] | select(.branch == \"$ARGO_APP_BRANCH\"))" /tmp/appset.yaml
 | 
			
		||||
      - yq -i "del(.spec.generators[].list.elements[] | select(.commit_sha == \"$ARGO_APP_IMAGE_TAG\"))" /tmp/appset.yaml
 | 
			
		||||
      - yq '. *= load("./kube/applicationset.yaml")' /tmp/appset.yaml
 | 
			
		||||
      - yq -i '. *= load("./kube/applicationset.yaml")' /tmp/appset.yaml
 | 
			
		||||
      - envsubst  < ./kube/main.yaml > /tmp/elements.yaml
 | 
			
		||||
      - yq -i '.spec.generators[].list.elements += load("/tmp/elements.yaml")' /tmp/appset.yaml
 | 
			
		||||
      - kubectl apply -f /tmp/appset.yaml
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user