From 4cd53f3d11b24ac30b0878f58b3c40b923313ae8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 22 Jul 2021 21:05:55 +0200 Subject: [PATCH] ci: remove unused variables Signed-off-by: Jens Langhammer --- azure-pipelines-outpost.yml | 6 ------ azure-pipelines.yml | 4 ---- 2 files changed, 10 deletions(-) diff --git a/azure-pipelines-outpost.yml b/azure-pipelines-outpost.yml index 26aac9f6d..b24aa7e6e 100644 --- a/azure-pipelines-outpost.yml +++ b/azure-pipelines-outpost.yml @@ -6,12 +6,6 @@ trigger: - next - version-* -variables: - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/pull/') }}: - branchName: ${{ replace(variables['System.PullRequest.SourceBranch'], '/', '-') }} - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/') }}: - branchName: ${{ replace(variables['Build.SourceBranchName'], 'refs/heads/', '') }} - stages: - stage: generate jobs: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5f03da0c7..8c7cfefe3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,10 +17,6 @@ variables: POSTGRES_DB: authentik POSTGRES_USER: authentik POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77" - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/pull/') }}: - branchName: ${{ replace(variables['System.PullRequest.SourceBranch'], '/', '-') }} - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/') }}: - branchName: ${{ replace(variables['Build.SourceBranchName'], 'refs/heads/', '') }} stages: - stage: Lint_and_test