-
Notifications
You must be signed in to change notification settings - Fork 1
/
2022-3.1-py39.yml
82 lines (63 loc) · 2.5 KB
/
2022-3.1-py39.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
77
78
79
80
81
82
jobs:
- job: run_profile_collection_2022_3_1_py39
pool:
vmImage: 'ubuntu-latest'
displayName: "${{ parameters.beamline_acronym }}:"
variables:
- template: .azure-templates/common-vars.yml
- name: BEAMLINE_ACRONYM
value: ${{ parameters.beamline_acronym }}
- name: CAPROTO_COMMAND
value: "python -m caproto.ioc_examples.pathological.spoof_beamline"
- name: CONDA_ENV_NAME
value: 2022-3.1-py39
# DOI: https://doi.org/10.5281/zenodo.7084149
# URL: https://zenodo.org/record/7084149/files/2022-3.1-py39.tar.gz?download=1
- name: ZENODO_ID
value: 7084149
- name: MD5_CHECKSUM
value: 86ff87edf730a197e4c48d6b33f2e978
strategy:
matrix:
2022_3_1_py39:
OPHYD_CONTROL_LAYER: pyepics
CONDA_CHANNEL_NAME: conda-forge
PYTHON_VERSION: 3.9
# Commenting out caproto OPHYD_CONTROL_LAYER test due to
# https://github.com/caproto/caproto/issues/696.
# py37_caproto:
# OPHYD_CONTROL_LAYER: caproto
# CONDA_CHANNEL_NAME: nsls2forge
# PYTHON_VERSION: 3.7
steps:
# Check the env
- template: .azure-templates/check-env.yml
# TODO: uncomment the block below once all profile repos are
# "profile_collection". Some of them are not compliant with the name and
# single profile per repo approach. See the list of those below.
# # Check the startup/ dir exists
# - template: .azure-templates/check-startup-dir-exists.yml
# Get pyOlog and databroker configs
- template: .azure-templates/get-configs.yml
# Prepare a test profile dir
- template: .azure-templates/prepare-test-profile-dir.yml
# Install system packages
- template: .azure-templates/install-system-packages.yml
# Start mongodb service
- template: .azure-templates/start-mongo.yml
# Start redis service
- template: .azure-templates/start-redis.yml
# Start docker service
# - template: .azure-templates/start-docker.yml
# Check services and system packages
- template: .azure-templates/check-services-and-pkgs.yml
# Download and install miniconda
- template: .azure-templates/install-miniconda.yml
# Create conda env
- template: .azure-templates/create-conda-env-archive.yml
# Perform beamline-specific actions
- template: .azure-templates/bl-specific.yml
# Start caproto IOC and start IPython with startup files
- template: .azure-templates/run-tests.yml
# Display bluesky logs
- template: .azure-templates/display-bluesky-logs.yml