Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Migrate Azure DevOps Project Datasource from SDKv2 to the plugin framework #321

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Skip azure devops project test when no PAT is available
csquire committed Dec 11, 2024
commit 99f58ad40aeb51e6a8beee4665a858c726f624f8
Original file line number Diff line number Diff line change
@@ -10,11 +10,16 @@ import (
)

func TestAccDbtCloudAzureDevOpsProject(t *testing.T) {
//TODO: Remove both env var checks when this gets configurted in CI and the variables are parameterized
if os.Getenv("CI") != "" {
t.Skip("Skipping Azure DevOps Project datasource test in CI " +
"until Azure integration and a personal access token are available")
}

if os.Getenv("DBT_CLOUD_PERSONAL_ACCESS_TOKEN") == "" {
t.Skip("Skipping Azure DevOps Project datasource because no personal access token is available")
}

//TODO: Parameterize these values when a standard method is available for parameterization
adoProjectName := "dbt-cloud-ado-project"
personalAccessToken := os.Getenv("DBT_CLOUD_PERSONAL_ACCESS_TOKEN")