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

feat: documentation examples github action #315

Conversation

ThibaultFy
Copy link
Member

@ThibaultFy ThibaultFy commented Jun 1, 2023

Summary

Github actions to run the examples in subprocess and docker mode every night with a message left on substra-ci

Official PR is now on the substra-ci repository: https://github.com/owkin/substra-ci/pull/97

@linear
Copy link

linear bot commented Jun 1, 2023

FL-573 [Release] GA to test documentation examples

Context and user need:
To meliorate the release process, we want to test the doc example every night and not at each release

Functional spec:
For the doc, run all the examples (this will require to parametrize the example with the client mode)
Nightly slack message

Technical spec:
Parametrize client mode on examples
Actions to launch test every night.
Slack message on connect-ci

Acceptance criteria:
Nighlty test for documentation exmaple (subprocess + docker mode)

@ThibaultFy ThibaultFy force-pushed the thibaultfouqueray/fl-573-release-ga-to-test-documentation-examples branch from ca79563 to 8d4c36b Compare June 5, 2023 15:49
ThibaultFy added 28 commits June 6, 2023 14:25
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
@ThibaultFy ThibaultFy force-pushed the thibaultfouqueray/fl-573-release-ga-to-test-documentation-examples branch from 3cbcc9f to 938ac49 Compare June 6, 2023 12:25
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
@ThibaultFy ThibaultFy marked this pull request as ready for review June 6, 2023 16:19
@ThibaultFy ThibaultFy requested a review from a team as a code owner June 6, 2023 16:19
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update Iris example with the changes implied by [SubstraFL #120](https://github.com/Substra/substrafl/pull/120) compute plan builder ([#313](https://github.com/Substra/substra-documentation/pull/313))
- Add caution for frontend cookies when several backends in local ([#308](https://github.com/Substra/substra-documentation/pull/308))
- Update Substra examples to use new `get_task_output_asset` Substra function ([#317](https://github.com/Substra/substra-documentation/pull/317))
- Add Github actions to run examples in subprocess and docker mode every night ([#315](https://github.com/Substra/substra-documentation/pull/315))
Copy link
Contributor

Choose a reason for hiding this comment

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

Are CI changes relevant to the changelog ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahah I knew you were going to ask :p I guess it can be interesting for contributors to now that new GA are available, but no strong opinion really...

Copy link
Contributor

Choose a reason for hiding this comment

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

Could we put this inside the CI repo instead of here, so we wouldn't have to duplicate these files?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sounds obvious now you said it... Of course. I opened a PR here https://github.com/owkin/substra-ci/pull/97

@linear
Copy link

linear bot commented Jun 8, 2023

FL-573 [Release] GA to test documentation examples

Context and user need:
To meliorate the release process, we want to test the doc example every night and not at each release

Functional spec:
For the doc, run all the examples (this will require to parametrize the example with the client mode)
Nightly slack message

Technical spec:
Parametrize client mode on examples
Actions to launch test every night.
Slack message on connect-ci

Acceptance criteria:
Nighlty test for documentation exmaple (subprocess + docker mode)

@ThibaultFy ThibaultFy closed this Jun 8, 2023
@SdgJlbl SdgJlbl deleted the thibaultfouqueray/fl-573-release-ga-to-test-documentation-examples branch July 18, 2023 11:50
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