Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e79e0c6
/version
Aug 27, 2025
24c463b
Merge branch 'main' into develop
jamesfwood Sep 3, 2025
907c1fa
/version 0.14.0-alpha.1
jamesfwood Sep 3, 2025
dd8f1fe
Upgraded Terraform null provider to v3.2.0
Sep 25, 2025
8b03e13
Merge pull request #50 from podaac/PODAAC-7031
sdcolli1 Sep 29, 2025
7c83cc9
/version 0.14.0-alpha.2
Sep 29, 2025
d6a476e
Add automatic project assignment workflow
tloubrieu-jpl Feb 13, 2026
42dfce2
/version 0.14.0-alpha.3
tloubrieu-jpl Feb 13, 2026
5a7e6bb
update to java 21
sliu008 Mar 4, 2026
591963e
more changes to have java 21
sliu008 Mar 11, 2026
132e1ac
Add automatic team/project assignment workflow
tloubrieu-jpl Mar 14, 2026
591056a
/version 0.14.0-alpha.4
tloubrieu-jpl Mar 14, 2026
e728752
Add automatic team/project assignment workflow
tloubrieu-jpl Mar 14, 2026
0723436
/version 0.14.0-alpha.5
tloubrieu-jpl Mar 14, 2026
bf8930b
update libs
sliu008 Mar 18, 2026
5e0f725
Remove workflow: add-to-project.yml
tloubrieu-jpl Apr 12, 2026
3e2eb62
/version 0.14.0-alpha.6
tloubrieu-jpl Apr 12, 2026
20f5c4c
Deploy workflow: org-add-to-project.yml
tloubrieu-jpl Apr 12, 2026
7598118
/version 0.14.0-alpha.7
tloubrieu-jpl Apr 12, 2026
408a878
Deploy workflow: org-close-pr-status.yml
tloubrieu-jpl Apr 12, 2026
01d0c18
Remove workflow: team-assignment.yml
tloubrieu-jpl Apr 12, 2026
f1789af
/version 0.14.0-alpha.8
tloubrieu-jpl Apr 12, 2026
ff22215
Deploy workflow: org-team-assignment.yml
tloubrieu-jpl Apr 12, 2026
a7384a5
/version 0.14.0-alpha.9
tloubrieu-jpl Apr 12, 2026
a2da1bd
update for cumulus consolidation
sliu008 Jun 22, 2026
bf97ba8
update gradle in buiid
sliu008 Jun 22, 2026
848ff81
update dockerfile for grandle and cumulus message adapter
sliu008 Jun 22, 2026
3849c27
update gradel to 8.8
sliu008 Jun 22, 2026
6aa33ed
Potential fix for pull request finding
sliu008 Jun 23, 2026
99294d5
Merge branch 'develop' into feature/java21
sliu008 Jun 23, 2026
a17b409
update changelog
sliu008 Jun 24, 2026
004a569
Merge pull request #52 from podaac/feature/java21
sliu008 Jun 24, 2026
73734de
/version 0.14.0-alpha.10
sliu008 Jun 24, 2026
4b93498
/deploy sit
sliu008 Jun 25, 2026
e46f040
Merge branch 'develop' into feature/java21
sliu008 Jun 25, 2026
2b019c2
Merge pull request #53 from podaac/feature/java21
sliu008 Jun 25, 2026
7a18d5d
/version 0.14.0-alpha.11
sliu008 Jun 25, 2026
f588353
release 0.14.0
sliu008 Jun 26, 2026
de7b4bd
/version 0.14.0-rc.1
sliu008 Jun 26, 2026
39867e0
update forge
sliu008 Jul 2, 2026
cd67971
/version 0.14.0-rc.2
sliu008 Jul 2, 2026
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
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ jobs:
# Checks out this repository and sets up the build/test environment with
# gradle
- name: Checkout project sources
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up JDK 11
uses: actions/setup-java@v4
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '11'
java-version: '21'

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v5
with:
gradle-version: 7.6.4
gradle-version: 8.8

#########################################################################
# Versioning (featuring weird gradle output work-arounds)
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:

- name: Test and coverage
run: |
gradle wrapper --gradle-version 7.6.4
#gradle wrapper --gradle-version 8.8
./gradlew test
./gradlew mergeJUnitReports

Expand All @@ -253,7 +253,7 @@ jobs:
github.event.head_commit.message == '/deploy sit' ||
github.event.head_commit.message == '/deploy uat' ||
github.event.head_commit.message == '/deploy sandbox'
uses: ncipollo/release-action@v1.12.0
uses: ncipollo/release-action@v1.20.0
with:
tag: ${{ env.the_version }}
artifacts: "dist/*.zip, build/libs/*.jar"
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:
github.event.head_commit.message == '/deploy sit' ||
github.event.head_commit.message == '/deploy uat' ||
github.event.head_commit.message == '/deploy sandbox'
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/Dockerfile
Expand All @@ -330,7 +330,7 @@ jobs:
#########################################################################
# Deploy to AWS via Terraform
#########################################################################
- uses: hashicorp/setup-terraform@v2
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 0.13.6

Expand Down Expand Up @@ -365,4 +365,4 @@ jobs:
terraform --version
source bin/config.sh ${{ env.TARGET_ENV_LOWERCASE }}
terraform plan -var-file=tfvars/"${{ env.TARGET_ENV_LOWERCASE }}".tfvars -var="app_version=${{ env.the_version }}" -out="tfplan"
terraform apply -auto-approve tfplan
terraform apply -auto-approve tfplan
129 changes: 129 additions & 0 deletions .github/workflows/org-add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# used to triage new issues and PRs on project board, so not to miss external feedback or contributions of users.
name: Add to PODAAC Project


on:
issues:
types: [opened]
pull_request:
types: [opened]

jobs:
add-to-project:
runs-on: ubuntu-latest
steps:
- name: Add to project
uses: actions/add-to-project@v1
with:
project-url: https://github.com/orgs/podaac/projects/75
github-token: ${{ secrets.PROJECTS_PAT }}

- name: Set status to needs:triage
uses: actions/github-script@v8
with:
github-token: ${{ secrets.PROJECTS_PAT }}
script: |
const projectNumber = 75; // Update this with your actual project number
const org = 'podaac';

// Get the project ID
const projectQuery = `
query($org: String!, $number: Int!) {
organization(login: $org) {
projectV2(number: $number) {
id
fields(first: 20) {
nodes {
... on ProjectV2SingleSelectField {
id
name
options {
id
name
}
}
}
}
}
}
}
`;

const projectData = await github.graphql(projectQuery, {
org: org,
number: projectNumber
});

const project = projectData.organization.projectV2;
const statusField = project.fields.nodes.find(field => field.name === 'Status');
const triageOption = statusField?.options.find(option => option.name === 'needs:triage');

if (!triageOption) {
core.warning('Could not find "needs:triage" status option');
return;
}

// Get the item ID that was just added
const itemType = context.eventName === 'issues' ? 'Issue' : 'PullRequest';
const itemNumber = context.payload.issue?.number || context.payload.pull_request?.number;

const itemQuery = `
query($org: String!, $repo: String!, $number: Int!) {
repository(owner: $org, name: $repo) {
${itemType === 'Issue' ? 'issue' : 'pullRequest'}(number: $number) {
projectItems(first: 10) {
nodes {
id
project {
id
}
}
}
}
}
}
`;

const itemData = await github.graphql(itemQuery, {
org: org,
repo: context.repo.repo,
number: itemNumber
});

const items = itemType === 'Issue'
? itemData.repository.issue.projectItems.nodes
: itemData.repository.pullRequest.projectItems.nodes;

const projectItem = items.find(item => item.project.id === project.id);

if (!projectItem) {
core.warning('Could not find project item');
return;
}

// Update the status field
const updateMutation = `
mutation($projectId: ID!, $itemId: ID!, $fieldId: ID!, $value: String!) {
updateProjectV2ItemFieldValue(
input: {
projectId: $projectId
itemId: $itemId
fieldId: $fieldId
value: { singleSelectOptionId: $value }
}
) {
projectV2Item {
id
}
}
}
`;

await github.graphql(updateMutation, {
projectId: project.id,
itemId: projectItem.id,
fieldId: statusField.id,
value: triageOption.id
});

core.info('Successfully set status to needs:triage');
127 changes: 127 additions & 0 deletions .github/workflows/org-close-pr-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Directly move the closed PR to a close status in the PODAAC project
# to avoid unnecessary clutter and manual triage in the "needs:triage" column.
name: Update Closed PR Status in PODAAC project

on:
pull_request:
types: [closed]

jobs:
update-pr-status:
runs-on: ubuntu-latest
steps:
- name: Set status to closed
uses: actions/github-script@v7
with:
github-token: ${{ secrets.PROJECTS_PAT }}
script: |
const projectNumber = 75;
const org = 'podaac';
const prNumber = context.payload.pull_request.number;
const isMerged = context.payload.pull_request.merged;

console.log(`PR #${prNumber} was ${isMerged ? 'merged' : 'closed without merging'}`);

// Get the project ID and status field information
const projectQuery = `
query($org: String!, $number: Int!) {
organization(login: $org) {
projectV2(number: $number) {
id
fields(first: 20) {
nodes {
... on ProjectV2SingleSelectField {
id
name
options {
id
name
}
}
}
}
}
}
}
`;

const projectData = await github.graphql(projectQuery, {
org: org,
number: projectNumber
});

const project = projectData.organization.projectV2;
const statusField = project.fields.nodes.find(field => field.name === 'Status');
const closedOption = statusField?.options.find(option => option.name === 'closed');

if (!closedOption) {
core.warning('Could not find "closed" status option in project');
return;
}

// Get the PR's project item
const itemQuery = `
query($org: String!, $repo: String!, $number: Int!) {
repository(owner: $org, name: $repo) {
pullRequest(number: $number) {
projectItems(first: 10) {
nodes {
id
project {
id
}
}
}
}
}
}
`;

const itemData = await github.graphql(itemQuery, {
org: org,
repo: context.repo.repo,
number: prNumber
});

const items = itemData.repository.pullRequest.projectItems.nodes;
const projectItem = items.find(item => item.project.id === project.id);

if (!projectItem) {
console.log('PR is not in the project, skipping status update');
return;
}

// Update the status field to "closed"
const updateMutation = `
mutation($projectId: ID!, $itemId: ID!, $fieldId: ID!, $value: String!) {
updateProjectV2ItemFieldValue(
input: {
projectId: $projectId
itemId: $itemId
fieldId: $fieldId
value: { singleSelectOptionId: $value }
}
) {
projectV2Item {
id
}
}
}
`;

await github.graphql(updateMutation, {
projectId: project.id,
itemId: projectItem.id,
fieldId: statusField.id,
value: closedOption.id
});

console.log(`✅ Successfully set status to "closed" for PR #${prNumber}`);

core.summary
.addHeading(`PR Status Updated`)
.addList([
`PR #${prNumber} was ${isMerged ? 'merged' : 'closed'}`,
`Project status updated to "closed"`
])
.write();
Loading
Loading