-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
119 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dependencies: | | ||
ecmwf/ecbuild | ||
ecmwf/eckit | ||
dependency_branch: develop | ||
parallelism_factor: 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
build: | ||
modules: | ||
- ninja | ||
dependencies: | ||
- ecmwf/ecbuild@develop | ||
- ecmwf/eckit@develop | ||
parallel: 64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: cd | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
jobs: | ||
deploy: | ||
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2 | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,40 @@ | ||
name: ci | ||
|
||
# Controls when the workflow will run | ||
on: | ||
|
||
# Trigger the workflow on all pushes, except on tag creation | ||
# Trigger the workflow on push to master or develop, except tag creation | ||
push: | ||
branches: | ||
- '**' | ||
- 'master' | ||
- 'develop' | ||
tags-ignore: | ||
- '**' | ||
- '**' | ||
|
||
# Trigger the workflow on all pull requests | ||
# Trigger the workflow on pull request | ||
pull_request: ~ | ||
|
||
# Allow workflow to be dispatched on demand | ||
# Trigger the workflow manually | ||
workflow_dispatch: ~ | ||
|
||
jobs: | ||
# Trigger after public PR approved for CI | ||
pull_request_target: | ||
types: [labeled] | ||
|
||
# Calls a reusable CI workflow to build & test the current repository. | ||
# It will pull in all needed dependencies and produce a code coverage report on success. | ||
ci: | ||
name: ci | ||
uses: ecmwf-actions/reusable-workflows/.github/workflows/ci.yml@v1 | ||
jobs: | ||
# Run CI including downstream packages on self-hosted runners | ||
downstream-ci: | ||
name: downstream-ci | ||
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} | ||
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci.yml@main | ||
with: | ||
odc: ecmwf/odc@${{ github.event.pull_request.head.sha || github.sha }} | ||
codecov_upload: true | ||
notify_teams: true | ||
build_package_inputs: | | ||
self_coverage: true | ||
dependencies: | | ||
ecmwf/ecbuild | ||
ecmwf/eckit | ||
dependency_branch: develop | ||
secrets: | ||
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }} | ||
secrets: inherit | ||
|
||
# Build downstream packages on HPC | ||
downstream-ci-hpc: | ||
name: downstream-ci-hpc | ||
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }} | ||
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main | ||
with: | ||
odc: ecmwf/odc@${{ github.event.pull_request.head.sha || github.sha }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Manage labels of pull requests that originate from forks | ||
name: label-public-pr | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
label: | ||
uses: ecmwf-actions/reusable-workflows/.github/workflows/label-pr.yml@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Notify new issue | ||
|
||
on: | ||
issues: | ||
types: | ||
- "opened" | ||
|
||
jobs: | ||
notify: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify new issue | ||
uses: ecmwf-actions/notify-teams-issue@v1 | ||
with: | ||
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Notify new PR | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- "opened" | ||
|
||
jobs: | ||
notify: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Notify new PR | ||
uses: ecmwf-actions/notify-teams-pr@v1 | ||
with: | ||
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: sync | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Trigger the workflow on all pushes | ||
push: | ||
branches: | ||
- "**" | ||
tags: | ||
- "**" | ||
|
||
# Trigger the workflow when a branch or tag is deleted | ||
delete: ~ | ||
|
||
jobs: | ||
# Calls a reusable CI workflow to sync the current with a remote repository. | ||
# It will correctly handle addition of any new and removal of existing Git objects. | ||
sync: | ||
name: sync | ||
uses: ecmwf-actions/reusable-workflows/.github/workflows/sync.yml@v2 | ||
secrets: | ||
target_repository: odb/odc | ||
target_username: ClonedDuck | ||
target_token: ${{ secrets.BITBUCKET_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.4.6 | ||
1.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters