Skip to content

Commit

Permalink
Merge pull request #1094 from OpenLiberty/staging
Browse files Browse the repository at this point in the history
Merge staging to prod - enable the jakarta-websocket guide to run java17 daily build (#1093)
  • Loading branch information
gkwan-ibm authored Oct 29, 2024
2 parents f94e258 + 7510de2 commit aeaeebd
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily-build-java17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Get default repos
if: ${{ github.event_name == 'repository_dispatch' || github.event_name == 'workflow_dispatch' && github.event.inputs.guide == 'all' }}
id: create-list
run: echo "repos=[ 'guide-spring-boot', 'guide-liberty-deep-dive', 'guide-liberty-deep-dive-gradle', 'guide-contract-testing', 'guide-jms-intro' ]" >> $GITHUB_OUTPUT
run: echo "::set-output name=repos::$(python3 .github/workflows/get-guides-java17.py)"
- name: Set input repo
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.guide != 'all' }}
id: input-guide
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/get-guides-java17.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import json

JSON_PATH = ".github/workflows/guides-java17.json"

if __name__ == "__main__":
print(json.load(open(JSON_PATH)))
9 changes: 9 additions & 0 deletions .github/workflows/guides-java17.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
"guide-contract-testing",
"guide-jakarta-websocket",
"guide-jms-intro",
"guide-liberty-deep-dive",
"guide-liberty-deep-dive-gradle",
"guide-spring-boot"
]

3 changes: 2 additions & 1 deletion cloud-hosted-guides.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"grpc-intro" : "/courses/course-v1:IBM+GPXX0BCEN+v1/auto_enroll?next=/courses/course-v1:IBM+GPXX0BCEN+v1/courseware/guided_project/guided_project",
"microprofile-telemetry-jaeger" : "/courses/course-v1:IBM+GPXX0SXIEN+v1/auto_enroll?next=/courses/course-v1:IBM+GPXX0SXIEN+v1/courseware/guided_project/guided_project",
"testcontainers" : "/courses/course-v1:OpenLiberty+GPXX0LEREN+v1/auto_enroll?next=/courses/course-v1:OpenLiberty+GPXX0LEREN+v1/courseware",
"microprofile-config-profile" : "/courses/course-v1:OpenLiberty+GPXX0EZCEN+v1/auto_enroll?next=/courses/course-v1:OpenLiberty+GPXX0EZCEN+v1/courseware"
"microprofile-config-profile" : "/courses/course-v1:OpenLiberty+GPXX0EZCEN+v1/auto_enroll?next=/courses/course-v1:OpenLiberty+GPXX0EZCEN+v1/courseware",
"jms-intro" : "/courses/course-v1:OpenLiberty+GPXX0XDOEN+v1/auto_enroll?next=/courses/course-v1:OpenLiberty+GPXX0XDOEN+v1/courseware"
}
}
6 changes: 3 additions & 3 deletions guide_prereqs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"name": "Java SDK",
"link": "https://developer.ibm.com/languages/java/semeru-runtimes/downloads",
"guides": ["*"],
"exclude": ["jpa-intro", "contract-testing", "jms-intro"]
"exclude": ["jpa-intro", "contract-testing", "jakarta-websocket", "jms-intro", "spring-boot"]
},
{
"name": "Java SDK 17+",
"link": "https://developer.ibm.com/languages/java/semeru-runtimes/downloads",
"guides": ["contract-testing", "jms-intro", "spring-boot"]
"guides": ["contract-testing", "jakarta-websocket", "jms-intro", "spring-boot"]
},
{
"name": "Java SDK 21",
"name": "Java SDK 21+",
"link": "https://developer.ibm.com/languages/java/semeru-runtimes/downloads",
"guides": ["jpa-intro"]
},
Expand Down

0 comments on commit aeaeebd

Please sign in to comment.