Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/start-jedi-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: start-jedi-ci

on:
pull_request:
branches:
- 'master'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use master or main branches.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just casting a broad net here. This clause is the same on all repos which also makes global changes (which require scripted github interactions) a little easier.

- 'main'
- 'develop'

jobs:
launch-tests:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:

- name: Generate CI App token
id: generate-token
uses: actions/create-github-app-token@v1
with:
# Owner is specified to scope the token to the org install
# otherwise the token will be scoped to the repository.
app-id: 321361
private-key: ${{ secrets.CI_APP_PRIVATE_KEY }}
owner: JCSDA

- name: checkout repository
uses: actions/checkout@v4
with:
path: target_repository

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
# This role only has the permission to write to our lfs archive s3 bucket path.
role-to-assume: arn:aws:iam::747101682576:role/service-role/jedi-ci-action-runner-backend-GitHubActionsIAMRole-HkHdJRVEFw3x
aws-region: us-east-2

- name: Run JEDI CI
uses: JCSDA-internal/jedi-ci@develop
with:
container_version: latest
target_project_name: crtm
test_dependencies: ioda oops gsw ufo-data ufo

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the list of dependencies here, it looks either too long (if it's just for crtm) or too short (if it's for the bundle). What is it supposed to be dependencies for?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eap following up on Yannick's comment, what do these dependencies do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the end-to-end test dependencies (upstream and downstream) needed to build and run CRTM tests using the jedi bundle. Taken from Ben's comment here

Copy link

@ytremolet ytremolet Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still don't see what it's supposed to be. If we want all the downstream repos, there should be a lot more. If it's just upstream there should be less. From the comment above, it's upstream and downstream, so the list should include all the model repos where crtm is used.

test_strategy: INTEGRATION
test_script: run_tests.sh
bundle_repository: https://github.com/JCSDA/jedi-bundle.git
target_repo_dir: target_repository
bundle_branch: develop
jedi_ci_token: ${{ steps.generate-token.outputs.token }}