-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1241 from JCSDA-internal/release/1.1.0
Release/1.1.0
- Loading branch information
Showing
736 changed files
with
19,711 additions
and
11,730 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
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,28 @@ | ||
--- | ||
name: Bug report | ||
about: Use this template to report bugs | ||
title: "[Bug]" | ||
labels: 'bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Current behavior (describe the bug) | ||
>[Be sure to add a Pipeline, Label, Estimate, Assignees, and Epic](https://jointcenterforsatellitedataassimilation-jedi-docs.readthedocs-hosted.com/en/latest/inside/practices/issues.html) | ||
## To Reproduce | ||
|
||
> What computer are you running on? | ||
> What compilers/modules are you using? | ||
> Steps to reproduce the behavior | ||
1. | ||
2. | ||
3. | ||
... | ||
|
||
## Expected behavior | ||
|
||
## Additional information (optional) |
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,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: JCSDA | ||
url: https://jcsda.org/ | ||
about: JCSDA web site | ||
- name: Forums | ||
url: https://forums.jcsda.org/ | ||
about: JCSDA user/developer forums |
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,26 @@ | ||
--- | ||
name: General issue template | ||
about: Use this template for general issues | ||
title: "[New issue]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Description | ||
>Provide a detailed description of this issue. | ||
>What problem needs to be fixed? What new capability needs to be added? | ||
>If this is a bug, describe the current behavior (or use the bug template). | ||
>[Be sure to add a Pipeline, Label, Estimate, Assignees, and Epic](https://jointcenterforsatellitedataassimilation-jedi-docs.readthedocs-hosted.com/en/latest/inside/practices/issues.html) | ||
## Requirements | ||
|
||
>If this is a new feature: What does the new code need to accomplish? Does it require new software dependencies (e.g. new jedi-stack components or new python modules?) | ||
>If this is a bugfix: What is the expected behavior? | ||
## Acceptance Criteria (Definition of Done) | ||
>What does it mean for this to be finished? | ||
## Dependencies | ||
>What must be done before this can be done? Add issue dependencies in ZenHub as appropriate | ||
>Does this block progress on other issues? Add this issue as a dependency to other ZenHub issues as appropriate |
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,6 +1,7 @@ | ||
version: 0.2 | ||
|
||
env: | ||
shell: bash | ||
parameter-store: | ||
GIT_USER: "/CodeBuild/Git_USER" | ||
GIT_PASS: "/CodeBuild/Git_PASS" | ||
|
@@ -21,7 +22,15 @@ phases: | |
- echo $CODEBUILD_WEBHOOK_TRIGGER | ||
- echo $CODEBUILD_WEBHOOK_BASE_REF | ||
|
||
- if [ "$CODEBUILD_WEBHOOK_EVENT" = "PULL_REQUEST_MERGED" ]; | ||
- gh_source=$(pwd) | ||
- echo ${gh_source} | ||
- echo $CODEBUILD_SRC_DIR | ||
|
||
# Codebuild only runs on PUSH events if HEAD_REF | ||
# is refs/heads/develop (merge to develop). In this | ||
# case CODEBUILD_GIT_BRANCH="develop" | ||
|
||
- if [ "$CODEBUILD_WEBHOOK_EVENT" = "PUSH" ]; | ||
then export CODEBUILD_GIT_BRANCH="develop"; | ||
echo "Merging to develop"; | ||
else export CODEBUILD_GIT_BRANCH=${CODEBUILD_WEBHOOK_HEAD_REF#refs/heads/}; | ||
|
@@ -31,9 +40,9 @@ phases: | |
- echo "CODEBUILD_SOURCE_VERSION=${CODEBUILD_SOURCE_VERSION}" | ||
|
||
- echo "check for same branch names, except for develop" | ||
- if ! [ "$CODEBUILD_GIT_BRANCH" = "develop" ]; then | ||
- if ! [ "$CODEBUILD_GIT_BRANCH" = "develop" ]; then | ||
pip install boto3; | ||
pip install pygithub; | ||
pip install pygithub; | ||
python CI/update_webhook_branchname.py $CODEBUILD_GIT_BRANCH $CODEBUILD_RESOLVED_SOURCE_VERSION; | ||
fi | ||
|
||
|
@@ -45,15 +54,34 @@ phases: | |
- echo ${CODEBUILD_RESOLVED_SOURCE_VERSION} > artifacts/commit_sha.txt | ||
|
||
# get jedi-build-package | ||
- git clone https://$GIT_USER:[email protected]/jcsda-internal/jedi-build-package | ||
- git clone -b feature/ecbuild35 https://$GIT_USER:[email protected]/jcsda-internal/jedi-build-package | ||
|
||
- cd jedi-build-package | ||
- pip install --user -e . | ||
|
||
- ~/.local/bin/jedi-build --gh-token=$GIT_PASS -j 4 --env-id=docker-clang --branch-map atlas:release-stable fckit:release-stable -br ${CODEBUILD_GIT_BRANCH} -p oops -vvv -3 -u --submit-dashboard --site CodeBuild --abort-on-build-errors --abort-on-test-errors | ||
- ~/.local/bin/jedi-build --gh-token=$GIT_PASS -j 4 --env-id=docker-clang --branch-map atlas:release-stable fckit:release-stable -br ${CODEBUILD_GIT_BRANCH} -p oops -vvv -3 -u --submit-dashboard --site CodeBuild --abort-on-build-errors --abort-on-test-errors --cleanup=False 2>&1 | tee jedi_build_output.txt ; test ${PIPESTATUS[0]} -eq 0 | ||
|
||
#find CDASH URL | ||
- Done_path_line=$(grep 'Done.xml' jedi_build_output.txt | tail -1) | ||
- echo $Done_path_line | ||
- Done_path=$(echo ${Done_path_line} | sed 's/Uploaded://') | ||
- echo $Done_path | ||
- cat $Done_path | ||
# retrieve buildID from Done.xml | ||
- buildID=$(cat $Done_path | grep -o -P '(?<=buildId>).*(?=</build)') | ||
- echo ${buildID} | ||
- url=https://cdash.jcsda.org/buildSummary.php?buildid=${buildID} | ||
- echo ${url} | ||
|
||
#create artifacts | ||
- mkdir -p /jcsda/artifacts/ | ||
- echo ${url} > /jcsda/artifacts/cdash-url.txt | ||
- cat /jcsda/artifacts/cdash-url.txt | ||
- echo ${CODEBUILD_GIT_BRANCH} > /jcsda/artifacts/branch_name.txt | ||
- echo ${CODEBUILD_RESOLVED_SOURCE_VERSION} > /jcsda/artifacts/commit_sha.txt | ||
- ls /jcsda/artifacts/ | ||
|
||
|
||
artifacts: | ||
files: | ||
- 'artifacts/*' | ||
name: artifact-oops-clang | ||
- '/jcsda/artifacts/*' | ||
name: oops-clang-url |
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
Oops, something went wrong.