Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update content-api-models to 26.0.0 #100

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Conversation

marjisound
Copy link
Contributor

@marjisound marjisound commented Jan 7, 2025

What does this change?

This PR updates content-api-models to 26.0.0.

In PR #98 multiple updates were introduced, but conflicts arose during the process. To make troubleshooting easier, I’m splitting those updates into smaller, more focused sub-updates, starting with this one.

How to test

I published a snapshot version in both sonatype and npm 11.0.0-PREVIEW.update-content-api-models.2025-01-08T1653.6e4f988c

This changes was tested by making the following updates in MAPI and AR:

I ran MAPI and AR locally. I tested a few articles through rendered-item endpoint in MAPI and made sure this endpoint is pointing to local AR rather than the prod one. e.g. http://localhost:9000/uk/rendered-items/society/2025/jan/08/tories-push-for-new-grooming-inquiry-child-safety-bill-bridget-phillipson

I also tweaked RenderingPlatformPicker in MAPI to give priority to AR rather than DCR. This way, I could AR test articles in the apps.

@marjisound marjisound requested review from a team as code owners January 7, 2025 17:49
@gu-scala-library-release
Copy link
Contributor

@marjisound has published a preview version of this PR with release workflow run #12, based on commit 341c11e:

11.0.0-PREVIEW.update-content-api-models.2025-01-07T1757.341c11e5

Want to make another preview release?

Click 'Run workflow' in the GitHub UI, specifying the update-content-api-models branch, or use the GitHub CLI command:

gh workflow run release.yml --ref update-content-api-models

Want to make a full release after this PR is merged?

Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command:

gh workflow run release.yml

@gu-scala-library-release
Copy link
Contributor

@marjisound has published a preview version of this PR with release workflow run #13, based on commit 6e4f988:

11.0.0-PREVIEW.update-content-api-models.2025-01-08T1653.6e4f988c

Want to make another preview release?

Click 'Run workflow' in the GitHub UI, specifying the update-content-api-models branch, or use the GitHub CLI command:

gh workflow run release.yml --ref update-content-api-models

Want to make a full release after this PR is merged?

Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command:

gh workflow run release.yml

@gu-scala-library-release
Copy link
Contributor

@marjisound has published a preview version of this PR with release workflow run #14, based on commit e445003:

11.0.0-PREVIEW.update-content-api-models.2025-01-10T1154.e4450031

Want to make another preview release?

Click 'Run workflow' in the GitHub UI, specifying the update-content-api-models branch, or use the GitHub CLI command:

gh workflow run release.yml --ref update-content-api-models

Want to make a full release after this PR is merged?

Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command:

gh workflow run release.yml

@@ -28,6 +28,7 @@ jobs:
with:
node-version-file: .nvmrc
registry-url: https://registry.npmjs.org
- uses: sbt/[email protected]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The runner latest version doesn't seem to have sbt anymore. We have to install sbt ourselves. This is happening in other repos too. e.g. https://github.com/guardian/content-api-scala-client/blob/7fbcead38ad66108c50448f53bcea00b2a309474/.github/workflows/ci.yml#L23

Copy link

@waisingyiu waisingyiu left a comment

Choose a reason for hiding this comment

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

It looks great to me!

@marjisound marjisound merged commit 5ffee18 into main Jan 14, 2025
11 checks passed
@marjisound marjisound deleted the update-content-api-models branch January 14, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants