Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 56448711e8 |
@@ -46,7 +46,7 @@ parameters:
|
|||||||
variables:
|
variables:
|
||||||
# Tenant-specific values are expected in a variable group (see templates/variables-tenant.yml).
|
# Tenant-specific values are expected in a variable group (see templates/variables-tenant.yml).
|
||||||
# Uncomment the line below after creating the group in your Azure DevOps project.
|
# Uncomment the line below after creating the group in your Azure DevOps project.
|
||||||
# - group: vg-astral-tenant
|
- group: vg-astral-cqre
|
||||||
- template: templates/variables-common.yml
|
- template: templates/variables-common.yml
|
||||||
- name: BACKUP_FOLDER
|
- name: BACKUP_FOLDER
|
||||||
value: tenant-state
|
value: tenant-state
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ schedules:
|
|||||||
variables:
|
variables:
|
||||||
# Tenant-specific values are expected in a variable group (see templates/variables-tenant.yml).
|
# Tenant-specific values are expected in a variable group (see templates/variables-tenant.yml).
|
||||||
# Uncomment the line below after creating the group in your Azure DevOps project.
|
# Uncomment the line below after creating the group in your Azure DevOps project.
|
||||||
# - group: vg-astral-tenant
|
- group: vg-astral-cqre
|
||||||
- template: templates/variables-common.yml
|
- template: templates/variables-common.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ schedules:
|
|||||||
variables:
|
variables:
|
||||||
# Tenant-specific values are expected in a variable group (see templates/variables-tenant.yml).
|
# Tenant-specific values are expected in a variable group (see templates/variables-tenant.yml).
|
||||||
# Uncomment the line below after creating the group in your Azure DevOps project.
|
# Uncomment the line below after creating the group in your Azure DevOps project.
|
||||||
# - group: vg-astral-tenant
|
- group: vg-astral-cqre
|
||||||
- template: templates/variables-common.yml
|
- template: templates/variables-common.yml
|
||||||
- name: ROLLING_PR_TITLE_INTUNE
|
- name: ROLLING_PR_TITLE_INTUNE
|
||||||
value: "Intune drift review (rolling)"
|
value: "Intune drift review (rolling)"
|
||||||
@@ -129,7 +129,7 @@ jobs:
|
|||||||
FULL_RUN=1
|
FULL_RUN=1
|
||||||
MODE="full"
|
MODE="full"
|
||||||
REASON="forced by parameter forceFullRun=true"
|
REASON="forced by parameter forceFullRun=true"
|
||||||
elif [ "$PRAGUE_HOUR" = "00" ]; then
|
elif [ "$LOCAL_HOUR" = "$(FULL_RUN_HOUR)" ]; then
|
||||||
FULL_RUN=1
|
FULL_RUN=1
|
||||||
MODE="full"
|
MODE="full"
|
||||||
REASON="scheduled midnight full run"
|
REASON="scheduled midnight full run"
|
||||||
@@ -138,7 +138,7 @@ jobs:
|
|||||||
MODE="light"
|
MODE="light"
|
||||||
REASON="default hourly light run"
|
REASON="default hourly light run"
|
||||||
fi
|
fi
|
||||||
echo "Run mode decision: $MODE ($REASON; Prague local time: $PRAGUE_NOW)"
|
echo "Run mode decision: $MODE ($REASON; local time ($(BACKUP_TIMEZONE)): $LOCAL_NOW)"
|
||||||
echo "##vso[task.setvariable variable=FULL_RUN]$FULL_RUN"
|
echo "##vso[task.setvariable variable=FULL_RUN]$FULL_RUN"
|
||||||
echo "##vso[task.setvariable variable=FULL_RUN;isOutput=true]$FULL_RUN"
|
echo "##vso[task.setvariable variable=FULL_RUN;isOutput=true]$FULL_RUN"
|
||||||
workingDirectory: "$(Build.SourcesDirectory)"
|
workingDirectory: "$(Build.SourcesDirectory)"
|
||||||
@@ -1382,7 +1382,7 @@ jobs:
|
|||||||
MODE="full"
|
MODE="full"
|
||||||
FULL_RUN=1
|
FULL_RUN=1
|
||||||
MODE_REASON="forced by parameter forceFullRun=true"
|
MODE_REASON="forced by parameter forceFullRun=true"
|
||||||
elif [ "$PRAGUE_HOUR" = "00" ]; then
|
elif [ "$LOCAL_HOUR" = "$(FULL_RUN_HOUR)" ]; then
|
||||||
MODE="full"
|
MODE="full"
|
||||||
FULL_RUN=1
|
FULL_RUN=1
|
||||||
MODE_REASON="scheduled midnight full run"
|
MODE_REASON="scheduled midnight full run"
|
||||||
@@ -1414,7 +1414,7 @@ jobs:
|
|||||||
APP_REG_SCOPE_REASON="disabled (pipeline variable)"
|
APP_REG_SCOPE_REASON="disabled (pipeline variable)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Run mode decision (Entra): $MODE ($MODE_REASON; Prague local time: $PRAGUE_NOW)"
|
echo "Run mode decision (Entra): $MODE ($MODE_REASON; local time ($(BACKUP_TIMEZONE)): $LOCAL_NOW)"
|
||||||
echo "Enterprise Applications export scope: $ENTERPRISE_SCOPE_REASON"
|
echo "Enterprise Applications export scope: $ENTERPRISE_SCOPE_REASON"
|
||||||
echo "App Registrations export scope: $APP_REG_SCOPE_REASON"
|
echo "App Registrations export scope: $APP_REG_SCOPE_REASON"
|
||||||
echo "##vso[task.setvariable variable=ENTRA_RUN_MODE]$MODE"
|
echo "##vso[task.setvariable variable=ENTRA_RUN_MODE]$MODE"
|
||||||
|
|||||||
Reference in New Issue
Block a user