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

fix: remove init migrate #1009

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Conversation

guilhem-barthes
Copy link
Contributor

Description

How has this been tested?

Checklist

  • changelog was updated with notable changes
  • documentation was updated

@guilhem-barthes
Copy link
Contributor Author

/e2e --tests sdk,substrafl,doc,mnist,camelyon,frontend --refs substra-backend=feat/align-task-profiling-function-profiling,substra-frontend=feat/align-task-profiling-function-profiling

@Owlfred
Copy link

Owlfred commented Oct 7, 2024

End to end tests: ❌ FAILURE

Jobs status:

  • Camelyon / camelyon,frontend:
  • Dispatch Jobs: ✔️
  • Documentation / doc:
  • MNIST / mnist,frontend:
  • SubstraFL / substrafl,frontend:
  • SubstraSDK / sdk:

It'll stay between us, no one needs to know.

@guilhem-barthes
Copy link
Contributor Author

/e2e --tests sdk,substrafl,doc,mnist,camelyon,frontend --refs substra-backend=feat/align-task-profiling-function-profiling,substra-frontend=feat/align-task-profiling-function-profiling

@Owlfred
Copy link

Owlfred commented Oct 9, 2024

End to end tests: ❌ FAILURE

“You shall not pass!” ― Gandalf, The Lord of the Rings, The Fellowship of the Ring

@guilhem-barthes
Copy link
Contributor Author

/e2e --tests sdk,substrafl,doc,mnist,camelyon,frontend

@Owlfred
Copy link

Owlfred commented Oct 9, 2024

End to end tests: ❌ FAILURE

Jobs status:

  • Camelyon / camelyon,frontend:
  • Dispatch Jobs: ✔️
  • Documentation / doc:
  • MNIST / mnist,frontend:
  • SubstraFL / substrafl,frontend:
  • SubstraSDK / sdk:

It'll stay between us, no one needs to know.

@guilhem-barthes
Copy link
Contributor Author

/e2e --tests sdk,substrafl,doc,mnist,camelyon,frontend

@Owlfred
Copy link

Owlfred commented Oct 9, 2024

End to end tests: ❌ FAILURE

That's a shame.

@guilhem-barthes
Copy link
Contributor Author

/e2e --tests sdk,substrafl,doc,mnist,camelyon,frontend

@Owlfred
Copy link

Owlfred commented Oct 10, 2024

End to end tests: ❌ FAILURE

Jobs status:

  • Camelyon / camelyon,frontend:
  • Dispatch Jobs: ✔️
  • Documentation / doc:
  • MNIST / mnist,frontend:
  • SubstraFL / substrafl,frontend:
  • SubstraSDK / sdk:

Better luck next time!

@guilhem-barthes
Copy link
Contributor Author

/e2e --tests sdk,substrafl,doc,mnist,camelyon,frontend

@Owlfred
Copy link

Owlfred commented Oct 10, 2024

End to end tests: ✔️ SUCCESS

“To infinity and beyond!” ― Buzz Lightyear, Toy Story

@@ -6,7 +6,6 @@ metadata:
{{ include "substra.labels" . | nindent 4 }}
app.kubernetes.io/name: {{ template "substra.fullname" . }}-migrations
annotations:
"helm.sh/hook": post-install,post-upgrade
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not very familiar with helm hook, but are we changing the triggers for the migration job?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before, we had this job (which did migrations) +this job applied after the deployment stabilised which did migration + user/organization management. This PR remove the init container doing migration in the server, and trigger the job when the deployment is started

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry I'm not sure I follow which jobs are which when you say "this job" and "this job". Afaik the migration job is the only one job we have.

@guilhem-barthes
Copy link
Contributor Author

/e2e

1 similar comment
@guilhem-barthes
Copy link
Contributor Author

/e2e

@Owlfred
Copy link

Owlfred commented Oct 11, 2024

End to end tests: ✔️ SUCCESS

Awesome! 🎉

…InitContainer`

Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
…of `init-migrate`

Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
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