From 433823e4f5f4040768b8d0f34e82ca55d6ea1178 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe <13301940+andersy005@users.noreply.github.com> Date: Wed, 15 May 2024 11:20:15 -0700 Subject: [PATCH 1/2] add catalog.yaml --- .github/workflows/validate-catalog.yaml | 27 +++++++++++++++++++++++++ feedstock/catalog.yaml | 9 +++++++++ 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/validate-catalog.yaml create mode 100644 feedstock/catalog.yaml diff --git a/.github/workflows/validate-catalog.yaml b/.github/workflows/validate-catalog.yaml new file mode 100644 index 0000000..82c1363 --- /dev/null +++ b/.github/workflows/validate-catalog.yaml @@ -0,0 +1,27 @@ +name: Catalog + +on: + pull_request: + branches: + push: + branches: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + validate: + runs-on: ubuntu-latest + defaults: + run: + shell: bash -l {0} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: validate feedstock entry + uses: leap-stc/data-catalog-actions/leap-catalog@main + with: + single-feedstock: "./feedstock/catalog.yaml" \ No newline at end of file diff --git a/feedstock/catalog.yaml b/feedstock/catalog.yaml new file mode 100644 index 0000000..210587e --- /dev/null +++ b/feedstock/catalog.yaml @@ -0,0 +1,9 @@ +# All the information important to cataloging. +"ncviewjs:meta_yaml_url": "https://github.com/leap-stc/cmip6-leap-feedstock/blob/main/feedstock/meta.yaml" +tags: + - cmip6 + - gcs + - zarr +links: + - label: DOI + url: https://zenodo.org/badge/latestdoi/618127503 From 8d4517f4e4569b5eb2a5a3488c580861f8e98f20 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 18:21:38 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/validate-catalog.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-catalog.yaml b/.github/workflows/validate-catalog.yaml index 82c1363..0a79e9e 100644 --- a/.github/workflows/validate-catalog.yaml +++ b/.github/workflows/validate-catalog.yaml @@ -24,4 +24,4 @@ jobs: - name: validate feedstock entry uses: leap-stc/data-catalog-actions/leap-catalog@main with: - single-feedstock: "./feedstock/catalog.yaml" \ No newline at end of file + single-feedstock: "./feedstock/catalog.yaml"