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

Use Ballerina Central Production environment for Project API tests #5541

Closed
gayaldassanayake opened this issue Aug 6, 2024 · 1 comment · Fixed by #5569
Closed

Use Ballerina Central Production environment for Project API tests #5541

gayaldassanayake opened this issue Aug 6, 2024 · 1 comment · Fixed by #5569

Comments

@gayaldassanayake
Copy link
Contributor

Description:
$ subject

Describe your problem(s)
Currently, the Project API tests keep failing often in the automated GitHub daily builds. Upon investigation, the problem is usually with the availability of the dev environment of Asgadio during LK off hours, which in turn causes the dev, and stage environments of the Ballerina Central to not work.

Describe your solution(s)
According to the offline discussion with @azinneera @keizer619 @tharindu-nw @anuruddhal, we can use the production central environment for the tests.

All the packages in the org bctestorg is daily removed from the Ballerina central (dev, prod, and stage), therefore this wouldn't spam the central. Moreover, to avoid these push/ pull requests pollute the central stats, we can use TEST_MODE_ACTIVE env to set the Ballerina-Central-Telemetry-Disabled header in Central calls.

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@gayaldassanayake
Copy link
Contributor Author

Need to send 10.x, 9.x (similar to master PR), 7.x (similar to 8.x) once master, 8.x PRs are merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
1 participant