-
Notifications
You must be signed in to change notification settings - Fork 37
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
Updated nightwatch workflow inputs and added Estuary app to trigger workflow #1319
Conversation
Hey @FleetAdmiralButter @tim-yao , |
I can see the triggered action. So I guess it's working as expected? For the two new vars, @FleetAdmiralButter do you have any suggestion? |
Hi @tim-yao @MarkCalvert, since E2E_ESTUARY_URL and E2E_ESTUARY_TOKEN_PATH are consumed by a script in the Lagoon project itself, it should be configured in CMDB as a build-time variable. Though I don't think we need to configure E2E_ESTUARY_TOKEN_PATH - the path to the service account token will always be in |
I support fewer vars, it can reduce the maintenance work but it's up to you guys to decide. |
@tim-yao @FleetAdmiralButter I don't have access to CMDB, so can one of you add the variables? |
@FleetAdmiralButter @MarkCalvert I would like to change the workflow name to |
@FleetAdmiralButter It will need to be implemented into existing projects and new project templates. I am not sure what's the best way to do it now. Can you help on this? Thanks! |
@MarkCalvert The path to the service account token (/run/secrets/kubernetes.io/serviceaccount/token) is a standard path in Kubernetes, so technically that information is public already. Could we set default values in the script? Like:
|
@FleetAdmiralButter Ahh I see, good to know. |
Removed the env variables using Lagoon CLI and added default values in the script. |
Changed
https://github.com/dpc-sdp/estuary/blob/79da49c5866435436a14795c288fc8a9a2cceaa4/pkg/github/server.go#L53
E2E
input and logictrigger-e2e.sh
script to use the Estuary app to trigger e2e testing.