Skip to content

Use more clearly fake data for ci #2226

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

Merged
merged 1 commit into from
May 5, 2025
Merged

Conversation

ChristopherChudzicki
Copy link
Contributor

@ChristopherChudzicki ChristopherChudzicki commented May 5, 2025

What are the relevant tickets?

None

Description (What does it do?)

This seems to resolve a build issue during CI, though I don't have a great explanation.

See comment on code.

How can this be tested?

CI should pass.

Copy link

github-actions bot commented May 5, 2025

OpenAPI Changes

Show/hide No detectable change.

Copy link

github-actions bot commented May 5, 2025

OpenAPI Changes

Show/hide No detectable change.

NEXT_PUBLIC_ORIGIN: https://ci.learn.mit.edu
NEXT_PUBLIC_MITOL_API_BASE_URL: https://api.ci.learn.mit.edu
NEXT_PUBLIC_ORIGIN: https://cifake.learn.mit.edu
NEXT_PUBLIC_MITOL_API_BASE_URL: https://api.cifake.learn.mit.edu
Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://ci.learn.mit.edu is, at time of writing, a heroku app, though https://api.ci.learn.mit.edu doesn't seem to be

Intent here was not to hit actual servers.

This change makes the CI nextjs build take about 90 seconds, which it had been previously compared to:

@ChristopherChudzicki ChristopherChudzicki changed the title Changing some test vars? Use more clearly fake data for ci May 5, 2025
@ChristopherChudzicki ChristopherChudzicki marked this pull request as ready for review May 5, 2025 17:14
@ChristopherChudzicki ChristopherChudzicki merged commit 67968be into main May 5, 2025
13 checks passed
@ChristopherChudzicki ChristopherChudzicki deleted the cc/more-fake-test-urls branch May 5, 2025 17:25
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.

2 participants