-
-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathrun_tutorial.yml
73 lines (68 loc) · 8.28 KB
/
run_tutorial.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
# This is a pipeline that weaves a tutorial, then uploads the resultant
# .PDF and other reports as (buildkite, not Julia) artifacts. The `coppermind`
# configuration memoizes the result, so that identical inputs don't get
# weavd multiple times.
env:
# Encrypted credentials to allow uploading to our S3 bucket that coppermind caches to
SECRET_BUILDKITE_S3_ACCESS_KEY_ID: "WTTuQqw0HjdHmvlwRzeQyFz/3QOl2lVn9ZhAr+zGGh3JBNIlMKWiXQlIZdvh5d0BOIXH+hNi7t62nfltP6rZwuaPKK4G1erIkwFsr4s9H/UQLmyZRrYZsNzaXxYm34mhQe9pEvK7Ewv3RI3wEPZSs4vOXFfTMlPMllMHPOAJCTg3OJuuhLD/qMmBjmAPClpE/ZKzwhzdRvB3kRGt63NRHDia5170gNOpBYcpbt7dDonkeWtn5Ri0YFSGpfTPdMONamLq5zKLqNJcmbbU5B1lFJXpm+msckPCfI4iuY0kF27JoWDALU+X6ZoSDcdLc/qsSYvVEC5HXjJARPOevofkjA==;U2FsdGVkX18msUyQ0k4CYDnHKj7/SzHYIVaSkPu68Lw0Nf0Pg+rjiig35VTXQo1u"
SECRET_BUILDKITE_S3_SECRET_ACCESS_KEY: "PZ/yImpWOe8AXhkHVd/AQWZv6YpNxEkJIklEVXBhOZG/MbFI75R7bNAGFgkjfB3ataZiZbeQnQha0CWnrk/62lQlnfDo7q+71Cg1SheCZxw+pHAumDUUqd6OEvHbs9wf66PNNB/lAPBZZrb/v+0E3LKxoe+Bf7WAz7DiXLsB9jdbvely3CX/xIgzUI4B5Vsg5rQ5H9UnYFoEHgiZNhUGdD+plZnJ2qNN8x4OZIMEwyBNLwpmkAmRMxjQzD3IoyGFcHuOhEr4igZ1D+XtQ5sTfW4KTKjewn7mHUldSGiBsgEhpmy6kpodsIDhhC8Ittd/DbfPS3cQknCvfj++fU/WvQ==;U2FsdGVkX19e3zOwkCXS7ceL8n+wE8Jy0ywueT/N/lu5BL0XSEB3OoseNjzLwR6iSQrx//e5N+TkVRcOIDTW3Q=="
BUILDKITE_S3_DEFAULT_REGION: "us-east-1"
# Encrypted SSH deploy key that allows us to deploy to SciMLTutorialsOutput
SECRET_SSH_DEPLOY_KEY: "Ujn02S5BNLZ24iSM+ZnmesECunjdP3qgSezFeanvyoAxI7Pd/U2PMwC77NRGB2l36VmeRK/p2COfD4dbQoOHdW6liJWXL9AtRxVO96enneBD56ms9z33qGgnnPFC1zBv6NE9VuaA9G6pI+uihKxoBsFztey/ioDoWOKfvtWZXWt+gkDR6HKuRDwAklkNLmuJWgAcPm+aVKEgZnov63AEt1+5ocsFiF7ynRgnZZ4AaYQip9SDKuvrOEohI/vM7fcESoMVr6uYtAdIi6LzTWbLxqlSIc/BSPr607JrGXzV6fxL0BMII8xO+6f4CzJe0LQFz+nMtOjBm9qigpHtwwj8Yw==;U2FsdGVkX18W9XeaOW8UmmRMuMGOH8m0yVeWRKDmKk6TcZgNh9g1GMCYvcu/95OmvidK0pwjdERxntnZlspLLeRWVY5jH7CAY9Kz6Q293K3IzMUac3y8nQCQVtOx8J2vtms/Uw36aS+xVkOBXe9xartFB+R3KcBv7XhpNCi0BX+Nf+Mpcoa6S4Fj/csk14DdhWDDvxGhqu9u5RZkibggDnsD5g5bTdDDVq96LVIYmtVEL27iTs0NcrvLfomQ3HqatpWCjLawSYcELxQMTKD5TWt4wADTtFP2HEjXkroa8R6SEM9AmvlSVjnSoW8kAdhpH09NWfEIIsysAHErp27NBAdbnPlPvAR1z/XHpkFQdm2w7owzylTl2pTKliqi1jmGJEByMvH7FN+kYImuSYAgxq8totRGTwejOqI8X91BJr9OE4/KdPjol07UPaqSqE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M7mlab1F9utozeXAvmATHg6QoPZ7/1SgqenTUIFcaGUkjxmeoNgFxWopkqndTQBCt447VIDbx2/TyoIJWBundx0Nnr4EgFfXVqzo71VC8vgB+XtRpOFfuaRP0q/kMynbAo6lLP1Lw2hoJi151CcoFkQLhS1bRHrVMQNT4UgE8HEf4L/D/BGVz0OJA7j9K0ZJwNuIfmkOIcygmpmD/TB3PsA4+RCxVD3Ohx1TyR8T0muzZ6zyA5CPPcAewpfIzpyo142C20YmGk0i7yjY/nUB4Cao+wXaYBFl+KuskLuGHjLcp+9LxnAqhr7tpRzxQlurG67mDiIKBHCNXQXi2vkM2gj6AedrNEqUsJjaHVsz8SeJgdrWRJI1WrM7hZFwpS1ksH8/n+d7dFDmhvgEl/df9zbcE3wDy6CR6We/yU/rDtbbov/1cnlMi7+FgzC2xRtM4DG2uZO9OFzi/MLvz3LrknF7JZEqhXOhK0dUCuaZ7baeRDcd0XP6WE6FUArPRK1xX6aS3lEtppM26g6way+LjcVwdO86PckJNa3d++bAlm2OyCi2zgy0sYE3SXyMob69B1lZwY/h5+HFXGDGESIoVOqz1os1IDt5icRDgA0Y/budjKv87H+v1uLyOzTiuJ+lzx+64bWMrazUhvl1LG/JxB01LXq5b8oyt8F5HwRQump1tW3Q0qgvOWe2DsP/TfR1cftXulrxt7R2P3SXDpnILzfkOKBk+5TGew78xQDlzc+yEIsuUfk8h9dztClag+OiSZGAs9SDkco967swnY1Qs51IGLTE/l6FOsx+78WsetoYiA+o8vps04fRPHme+n1+FSYhs4dql0ZC1RP+2+EN6YeKbdkzrKt72nLbtZSl7GqIxAzFxTxt2w3+CVJiiO/YOb8JJTPzguTesjmuBMWxtF+mk+8u/cQqPHbOYHLZKxY785r4yLHi9VokkjlnjZrwSJfMqUeL9N+S/kKex"
steps:
- label: ":hammer: {PATH}"
key: "tutorial-{SANITIZED_PATH}"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- staticfloat/coppermind:
inputs:
# We are sensitive to the actual tutorial changing
- {PATH}
# We are sensitive to the source code of this package changing
- src/**/*.jl
# We are sensitive to our overall dependencies changing
- ./*.toml
outputs:
- html/**/*.html
- markdown/**/*.md
- notebook/**/*.ipynb
- pdf/**/*.pdf
- script/**/*.jl
s3_prefix: s3://julialang-buildkite-artifacts/scimltutorials
timeout_in_minutes: 360
commands: |
# Instantiate, to install the overall project dependencies
echo "--- Instantiate"
julia --project=. -e 'using Pkg; Pkg.instantiate()'
# Run tutorial
echo "+++ Run tutorial for {PATH}"
julia --project=. weave_tutorials.jl "{PATH}"
agents:
queue: "juliacpu"
fastcpu: true
- label: ":rocket: Publish {PATH}"
plugins:
# Use coppermind to download the tutorial results that were calculated in the
# weaving job above. Note we still list `outputs` here, since we have the
# option to extract only a subset of them here.
- staticfloat/coppermind:
input_from: "tutorial-{SANITIZED_PATH}"
outputs:
- html/**/*.html
- markdown/**/*.md
- notebook/**/*.ipynb
- pdf/**/*.pdf
- script/**/*.jl
s3_prefix: s3://julialang-buildkite-artifacts/scimltutorials
- staticfloat/ssh-agent:
keyvars:
- "SSH_DEPLOY_KEY"
agents:
queue: "juliacpu"
fastcpu: true
commands: .buildkite/publish_tutorials_output.sh
# Don't run this unless we're on the master branch, and not until the actual weave
# command has had a chance to run.
depends_on: "tutorial-{SANITIZED_PATH}"
branches: "master"