Browse Source

test: add ci variables

Lucas Severo Alves 4 years ago
parent
commit
f082019b1d
2 changed files with 4 additions and 3 deletions
  1. 4 0
      .github/workflows/e2e.yml
  2. 0 3
      e2e/suite/azure/util.go

+ 4 - 0
.github/workflows/e2e.yml

@@ -15,6 +15,10 @@ env:
   # credentials have been provided before trying to run steps that need them.
   GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
   GCP_SM_SA_JSON: ${{ secrets.GCP_SM_SA_JSON}}
+  AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID}}
+  AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET}}
+  TENANT_ID: ${{ secrets.TENANT_ID}}
+  VAULT_URL: ${{ secrets.VAULT_URL}}
 
 name: e2e tests
 

+ 0 - 3
e2e/suite/azure/util.go

@@ -75,8 +75,5 @@ func deleteAzureKVSecret(secretName, clientID, clientSecret, tenantID, vaultURL
 		return fmt.Errorf("could not delete secret: %w", err)
 	}
 
-	if err != nil {
-		return fmt.Errorf("could not purge secret: %w", err)
-	}
 	return err
 }