From 751c247a61a37540601a67e9e37e41dfd26f8130 Mon Sep 17 00:00:00 2001 From: Adam Hopkins <127156771+simpat-adam@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:13:24 -0600 Subject: [PATCH] [ODS-6260] hard code workflow files to use 4.0 data standard (#975) --- .../workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml | 2 +- .../Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml | 4 +++- .github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml | 5 ++++- .github/workflows/Pkg EdFi.Ods.Minimal.Template.yml | 2 +- .../workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml | 2 +- .../Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml | 5 ++++- .github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml | 4 +++- .github/workflows/Pkg EdFi.Ods.Populated.Template.yml | 3 ++- 8 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml index 791518f0bb..f0e420f84d 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml @@ -14,7 +14,7 @@ on: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo] env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json" diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml index 8eb61d25d7..1b4704c729 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml @@ -14,7 +14,8 @@ on: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo ,triggered-from-tpdmartifacts-repo] env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" + TPDM_ARTIFACT_REFERENCE: "Data-Standard-v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json" @@ -59,6 +60,7 @@ jobs: with: repository: Ed-Fi-Alliance-OSS/Ed-Fi-TPDM-Artifacts path: Ed-Fi-TPDM-Artifacts/ + ref: ${{ env.TPDM_ARTIFACT_REFERENCE }} - name: Is pull request branch exists in Ed-Fi-TPDM-Artifacts working-directory: ./Ed-Fi-ODS/ shell: powershell diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml index 22e138d1d9..91546270af 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml @@ -12,8 +12,10 @@ on: workflow_dispatch: repository_dispatch: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo ,triggered-from-tpdmartifacts-repo] + env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" + TPDM_ARTIFACT_REFERENCE: "Data-Standard-v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json" @@ -57,6 +59,7 @@ jobs: with: repository: Ed-Fi-Alliance-OSS/Ed-Fi-TPDM-Artifacts path: Ed-Fi-TPDM-Artifacts/ + ref: ${{ env.TPDM_ARTIFACT_REFERENCE }} - name: Is pull request branch exists in Ed-Fi-TPDM-Artifacts working-directory: ./Ed-Fi-ODS/ shell: powershell diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml index c7eb752a34..81077476d4 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml @@ -14,7 +14,7 @@ on: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo] env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json" diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml index 8b89e20ed5..5d28e1b3da 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml @@ -14,7 +14,7 @@ on: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo] env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json" diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml index 467d200e06..20912840e3 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml @@ -12,8 +12,10 @@ on: workflow_dispatch: repository_dispatch: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo ,triggered-from-tpdmartifacts-repo] + env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" + TPDM_ARTIFACT_REFERENCE: "Data-Standard-v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json" @@ -58,6 +60,7 @@ jobs: with: repository: Ed-Fi-Alliance-OSS/Ed-Fi-TPDM-Artifacts path: Ed-Fi-TPDM-Artifacts/ + ref: ${{ env.TPDM_ARTIFACT_REFERENCE }} - name: Is pull request branch exists in Ed-Fi-TPDM-Artifacts working-directory: ./Ed-Fi-ODS/ shell: powershell diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml index 131ad7a0aa..5f7e8cc555 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml @@ -14,7 +14,8 @@ on: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo ,triggered-from-tpdmartifacts-repo] env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" + TPDM_ARTIFACT_REFERENCE: "Data-Standard-v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json" @@ -58,6 +59,7 @@ jobs: with: repository: Ed-Fi-Alliance-OSS/Ed-Fi-TPDM-Artifacts path: Ed-Fi-TPDM-Artifacts/ + ref: ${{ env.TPDM_ARTIFACT_REFERENCE }} - name: Is pull request branch exists in Ed-Fi-TPDM-Artifacts working-directory: ./Ed-Fi-ODS/ shell: powershell diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml index 323af46f4f..42a6d670cd 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml @@ -12,8 +12,9 @@ on: workflow_dispatch: repository_dispatch: types: [triggered-from-implementation-repo ,triggered-from-datastandard-repo] + env: - EDFI_STANDARD_REFERENCE: "main" + EDFI_STANDARD_REFERENCE: "v4.0.0" INFORMATIONAL_VERSION: "6.2" BUILD_INCREMENTER: "1" AZURE_ARTIFACT_URL: "https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json"