File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[core]
22 remote = calkit
3+ autostage = true
34['remote "calkit"']
45 url = https://api.calkit.io/projects/calkit/example-basic/dvc
56 auth = custom
Original file line number Diff line number Diff line change 1+ name : Run pipeline
2+
3+ on : push
4+
5+ permissions :
6+ contents : write
7+
8+ jobs :
9+ main :
10+ name : Run
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Configure Git credentials
15+ run : |
16+ git config user.name github-actions[bot]
17+ git config user.email 41898282+github-actions[bot]@users.noreply.github.com
18+ - name : Setup Miniforge
19+ uses : conda-incubator/setup-miniconda@v3
20+ with :
21+ miniforge-version : latest
22+ auto-activate-base : true
23+ conda-remove-defaults : true
24+ - run : pip install calkit-python
25+ - name : Restore DVC cache
26+ id : cache-dvc-restore
27+ uses : actions/cache/restore@v4
28+ with :
29+ path : .dvc/cache
30+ key : ${{ runner.os }}-dvc-cache
31+ - run : calkit config remote-auth
32+ env :
33+ CALKIT_DVC_TOKEN : ${{ secrets.CALKIT_DVC_TOKEN }}
34+ - run : dvc pull
35+ - run : calkit run
36+ - run : calkit save -am "Run pipeline"
37+ env :
38+ CALKIT_DVC_TOKEN : ${{ secrets.CALKIT_DVC_TOKEN }}
39+ - name : Save DVC cache
40+ id : cache-dvc-save
41+ uses : actions/cache/save@v4
42+ with :
43+ path : .dvc/cache
44+ key : ${{ steps.cache-dvc-restore.outputs.cache-primary-key }}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: A basic Calkit exmple project.
55git_repo_url : https://github.com/calkit/example-basic
66dependencies :
77 - docker
8- - mamba
8+ - conda
99questions :
1010 - Can we make reproducibility simple?
1111datasets :
Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ stages:
6060 nfiles: 2
6161 - path: paper/paper.tex
6262 hash: md5
63- md5: af281fec490bfff26b5954baa2e177d6
64- size: 577
63+ md5: 6455fc859c8b1838f22d5ac74223b323
64+ size: 604
6565 outs:
6666 - path: paper/paper.pdf
6767 hash: md5
68- md5: 272ef20d54a4c536be5a92693164a735
69- size: 92833
68+ md5: 6f1fec0754597ecdb78cf0e9852884ad
69+ size: 92860
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ \section{Section 1}
3535
3636\pagebreak
3737\section {Section 2 }
38- Lorem Ipsum \\
38+
39+ This is the second section of the paper.
3940
4041% --/Paper--
4142
You can’t perform that action at this time.
0 commit comments