Skip to content

Commit

Permalink
restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperDramsch committed Jan 23, 2025
1 parent c2cccc6 commit 5aff6c7
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 38 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ bar
*.grib
*.nc
*.npz
*.json
*.zarr/
~$images.pptx
test.py
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2024-2025 Anemoi Contributors
Copyright {{ year }} {{ authors }}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
File renamed without changes.
64 changes: 37 additions & 27 deletions sync-files/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,25 @@ group:
- source: sync-files/workflows/python/
dest: .github/workflows/
deleteOrphaned: true
- source: sync-files/configs/python-dependabot.yml
dest: .github/dependabot.yml
repos: |
ecmwf/anemoi-datasets
ecmwf/anemoi-inference
ecmwf/anemoi-registry
ecmwf/anemoi-transform
ecmwf/anemoi-utils
# Push common Anemoi configs
- files:
- source: sync-files/configs/anemoi-license
- source: sync-files/configs/anemoi/
dest: ./
- source: sync-files/configs/general/license
dest: LICENSE
- source: sync-files/configs/anemoi-codeowners
dest: .github/CODEOWNERS
- source: sync-files/configs/anemoi-pre-commit.yml
dest: .pre-commit-config.yml
- source: sync-files/configs/anemoi-readthedocs.yml
dest: .readthedocs.yaml
- source: sync-files/configs/anemoi.gitignore
dest: .gitignore
- source: sync-files/template/anemoi-pull_request_template.md
dest: .github/pull_request_template.md
template:
year: 2024-2025
authors: Anemoi Contributors
- source: sync-files/configs/general/python-dependabot.yml
dest: .github/dependabot.yml
repos: |
ecmwf/anemoi-datasets
ecmwf/anemoi-docs
Expand All @@ -42,34 +38,48 @@ group:
ecmwf/anemoi-transform
ecmwf/anemoi-utils
# Anemoi Core specific
- files:
- source: sync-files/configs/anemoi-license
- source: sync-files/configs/general/license
dest: LICENSE
- source: sync-files/configs/anemoi-license
template:
year: 2024-2025
authors: Anemoi Contributors
- source: sync-files/configs/general/license
dest: graphs/LICENSE
- source: sync-files/configs/anemoi-license
template:
year: 2024-2025
authors: Anemoi Contributors
- source: sync-files/configs/general/license
dest: models/LICENSE
- source: sync-files/configs/anemoi-license
template:
year: 2024-2025
authors: Anemoi Contributors
- source: sync-files/configs/general/license
dest: training/LICENSE
- source: sync-files/configs/anemoi-contributors
template:
year: 2024-2025
authors: Anemoi Contributors
- source: sync-files/configs/anemoi/CONTRIBUTORS.md
dest: CONTRIBUTORS.md
- source: sync-files/configs/anemoi-codeowners
- source: sync-files/configs/anemoi/.github/CODEOWNERS
dest: .github/CODEOWNERS
- source: sync-files/configs/anemoi.gitignore
dest: .gitignore
- source: sync-files/template/anemoi-pull_request_template.md
- source: sync-files/configs/anemoi/.github/pull_request_template.md
dest: .github/pull_request_template.md
- source: sync-files/configs/anemoi/.gitignore
dest: .gitignore
- source: sync-files/configs/python-dependabot.yml
dest: .github/dependabot.yml
- source: sync-files/workflows/pr-utilities/
dest: .github/workflows/
repos: |
ecmwf/anemoi-core
# Anemoi Datasets specific
- files:
- source: sync-files/configs/anemoi-contributors
- source: sync-files/configs/anemoi/CONTRIBUTORS.md
dest: CONTRIBUTORS.md
template:
repo_name: anemoi-datasets
Expand All @@ -87,7 +97,7 @@ group:
# Anemoi inference specific
- files:
- source: sync-files/configs/anemoi-contributors
- source: sync-files/configs/anemoi/CONTRIBUTORS.md
dest: CONTRIBUTORS.md
template:
repo_name: anemoi-inference
Expand All @@ -105,7 +115,7 @@ group:
# Anemoi registry specific
- files:
- source: sync-files/configs/anemoi-contributors
- source: sync-files/configs/anemoi/CONTRIBUTORS.md
dest: CONTRIBUTORS.md
template:
repo_name: anemoi-registry
Expand All @@ -123,7 +133,7 @@ group:
# Anemoi transform specific
- files:
- source: sync-files/configs/anemoi-contributors
- source: sync-files/configs/anemoi/CONTRIBUTORS.md
dest: CONTRIBUTORS.md
template:
repo_name: anemoi-transform
Expand All @@ -141,7 +151,7 @@ group:
# Anemoi utils specific
- files:
- source: sync-files/configs/anemoi-contributors
- source: sync-files/configs/anemoi/CONTRIBUTORS.md
dest: CONTRIBUTORS.md
template:
repo_name: anemoi-utils
Expand Down
9 changes: 0 additions & 9 deletions sync-files/workflows/python/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ on:
types: [created]

jobs:
quality:
uses: ecmwf-actions/reusable-workflows/.github/workflows/qa-precommit-run.yml@v2
with:
skip-hooks: "no-commit-to-branch"

checks:
uses: ecmwf-actions/reusable-workflows/.github/workflows/qa-pytest-pyproject.yml@v2

deploy:
needs: [checks, quality]
uses: ecmwf-actions/reusable-workflows/.github/workflows/cd-pypi.yml@v2
secrets: inherit

0 comments on commit 5aff6c7

Please sign in to comment.