-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathscenario.qdt.yml
76 lines (67 loc) · 2.05 KB
/
scenario.qdt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# yaml-language-server: $schema=https://raw.githubusercontent.com/qgis-deployment/qgis-deployment-toolbelt-cli/refs/heads/main/docs/schemas/scenario/qdt_scenario.json
metadata:
title: "Demonstration scenario of QGIS Deployment Toolbelt"
id: qdt-demo-scenario
description: >-
Demonstration scenario of QGIS Deployment Toolbelt capabilities.
# Toolbelt settings
settings:
# LOCAL_WORK_DIR: ~/.cache/qgis-deployment-toolbelt/demo/
# QGIS_EXE_PATH:
# linux: /usr/bin/qgis
# mac: /usr/bin/qgis
# windows: "%PROGRAMFILES%/QGIS/3_28/bin/qgis-ltr-bin.exe"
SCENARIO_VALIDATION: true
# Deployment workflow, step by step
steps:
- name: Find installed QGIS
uses: qgis-installation-finder
with:
version_priority:
- "3.40"
- "3.34.9"
- "3.28"
- "3.38"
- "3.36"
- "3.32"
search_paths:
- "%PROGRAMFILES%/QGIS"
if_not_found: warning
- name: Download profiles from remote git repository
uses: qprofiles-downloader
with:
source: https://github.com/qgis-deployment/qgis-deployment-toolbelt-cli.git
protocol: git_remote
branch: main
- name: Synchronize downloaded profiles with installed ones
uses: qprofiles-synchronizer
with:
sync_mode: overwrite
- name: Download plugins referenced in installed profiles
uses: qplugins-downloader
with:
force: false
threads: 5
- name: Synchronize downloaded plugins with those in installed profiles
uses: qplugins-synchronizer
with:
action: create_or_restore
profile_ref: installed
- name: Create shortcuts for profiles
uses: shortcuts-manager
with:
action: create_or_restore
include:
- profile: qdt_demo
label: "QDT - Demo profile"
desktop: true
start_menu: true
- profile: QDT Viewer Mode
label: "QDT - Viewer profile"
desktop: true
start_menu: true
- name: Set splash screen
uses: splash-screen-manager
with:
action: create_or_restore
strict: false