Skip to content

Commit

Permalink
Add github and circleci files
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Mar 25, 2024
1 parent c8d9d6c commit 5ea4eb5
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2.1

# Anchors in case we need to override the defaults from the orb
#baselibs_version: &baselibs_version v7.17.0
#bcs_version: &bcs_version v11.4.0

orbs:
ci: geos-esm/circleci-tools@2

workflows:
build-test:
jobs:
# Build GEOSldas
- ci/build:
name: build-GEOSldas-on-<< matrix.compiler >>
context:
- docker-hub-creds
matrix:
parameters:
compiler: [ifort, gfortran]
#baselibs_version: *baselibs_version
repo: GEOSldas
checkout_fixture: true
mepodevelop: false
persist_workspace: false # Needs to be true to run fv3/gcm experiment, costs extra
18 changes: 18 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.
# Order is important; the last matching pattern takes the most
# precedence.

# LDAS Gatekeepers own all files
* @GEOS-ESM/ldas-gatekeepers

# The LDAS gatekeepers and CMake should know/approve these
/.github/ @GEOS-ESM/cmake-team @GEOS-ESM/ldas-gatekeepers
/.circleci/ @GEOS-ESM/cmake-team @GEOS-ESM/ldas-gatekeepers
/.codebuild/ @GEOS-ESM/cmake-team @GEOS-ESM/ldas-gatekeepers

# The GEOS CMake Team should be notified about changes to the CMakeLists.txt files in this repository
CMakeLists.txt @GEOS-ESM/cmake-team @GEOS-ESM/ldas-gatekeepers

# The GEOS CMake Team should be notified about and approve config changes
/config/ @GEOS-ESM/cmake-team @GEOS-ESM/ldas-gatekeepers
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## :memo: Automatic PR: `develop``release/MAPL-v3`

### Description

<!-- Write your description here -->

## :file_folder: Modified files
<!-- Diff files - START -->
<!-- Diff files - END -->

30 changes: 30 additions & 0 deletions .github/workflows/push-to-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Push to Develop

on:
push:
branches:
- develop

jobs:
pull_request:
name: Create Pull Request
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run the action
uses: devops-infra/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: develop
target_branch: release/MAPL-v3
label: automatic,MAPL3,Skip Changelog
template: .github/PULL_REQUEST_TEMPLATE/auto_pr_to_mapl3.md
get_diff: true
assignee: ${{ github.actor }}
old_string: "<!-- Write your description here -->"
new_string: ${{ github.event.commits[0].message }}
title: Auto PR - develop → MAPL-v3 - ${{ github.event.commits[0].message }}

0 comments on commit 5ea4eb5

Please sign in to comment.