-
Notifications
You must be signed in to change notification settings - Fork 20
Framework understands GALASA_HOME env var and system property. #394
Conversation
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build failed, see http://localhost:8001/api/v1/namespaces/tekton-pipelines/services/tekton-dashboard:http/proxy/#/namespaces/galasa-build/pipelineruns/repo-framework-pr-394-9kdp5 for details. If you are unable to do so, please contact a member of the Galasa team. |
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build failed, see http://localhost:8001/api/v1/namespaces/tekton-pipelines/services/tekton-dashboard:http/proxy/#/namespaces/galasa-build/pipelineruns/repo-framework-pr-394-568dw for details. If you are unable to do so, please contact a member of the Galasa team. |
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build successful |
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build successful |
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build successful |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arron may have more suggestions still so dont take my approval as the only one. But looking through looks to make this a lot ore readable. As just discussed, there are a few areas like the location of Creds which could do with some more logging (trace).
But nice refactor assuming all working.
I didnt review much of the mocks but nice to see the tests
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build successful |
...ent/dev.galasa.framework/src/test/java/dev/galasa/framework/TestFrameworkInitialisation.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build successful |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved subject to suggestions
Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
Build successful |
Signed-off-by: Mike Cobbett 77053+techcobweb@users.noreply.github.com
This PR relates to galasa-dev/projectmanagement#1397
IFileSystem
to isolate the code from access tonio.filesystem
. So file and folder create operations can be mocked-out.IEnvironment
to isolate the code fromSystem.getenv()
andSystem.getProperty()
calls.