-
Notifications
You must be signed in to change notification settings - Fork 2
69 lines (69 loc) · 2.35 KB
/
tiledb.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
name: tiledb
on:
schedule:
- cron: "0 1 * * *" # Every night at 1 AM UTC (8 PM EST; 9 PM EDT)
workflow_dispatch:
jobs:
tiledb:
runs-on: ubuntu-latest
name: tiledb
env:
TZ: "America/New_York"
steps:
- name: Clone nightlies CI repo
uses: actions/checkout@v3
with:
repository: TileDB-Inc/conda-forge-nightly-controller
path: ci
- name: Clone feedstock
uses: actions/checkout@v3
with:
repository: TileDB-Inc/tiledb-feedstock
ref: main
path: tiledb-feedstock
ssh-key: ${{ secrets.SSH_PRIVATE_KEY_TILEDB }}
- name: Clone source
uses: actions/checkout@v3
with:
repository: TileDB-Inc/TileDB
ref: dev
path: TileDB
- name: Obtain date
run: bash ci/scripts/obtain-date.sh
- name: Obtain version
run: bash ci/scripts/tiledb/obtain-version.sh
- name: Obtain commit
run: bash ci/scripts/obtain-commit.sh TileDB
- name: Pull from upstream feedstock
run: bash ci/scripts/pull-upstream-feedstock.sh tiledb-feedstock
- name: Update recipe
run: bash ci/scripts/tiledb/update-recipe.sh
- name: Update channels
run: bash ci/scripts/update-channels.sh tiledb-feedstock
- name: Add and commit
run: bash ci/scripts/add-and-commit.sh tiledb-feedstock
- name: Install conda-smithy with micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-name: env
create-args: conda-smithy
cache-environment: true
- name: Rerender feedstock
shell: bash -l {0}
run: bash ci/scripts/rerender-feedstock.sh tiledb-feedstock
- name: Push update to GitHub
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'TileDB-Inc/conda-forge-nightly-controller' && github.event_name != 'pull_request' }}
run: bash ci/scripts/push-update.sh tiledb-feedstock
issue:
permissions:
issues: write
runs-on: ubuntu-latest
needs: tiledb
if: ( failure() || cancelled() ) && github.repository_owner == 'TileDB-Inc' && github.event_name == 'schedule'
steps:
- uses: actions/checkout@v3
- name: Open Issue
env:
GH_TOKEN: ${{ github.token }}
TZ: "America/New_York"
run: bash scripts/open-issue.sh