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

Compilation test #170

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Compilation test #170

wants to merge 10 commits into from

Conversation

AaronJhaj
Copy link
Contributor

No description provided.

@galasa-team
Copy link

Build successful

* Upgrade versions of Galasa projects inttests uses, as out of date

Signed-off-by: Jade Carino <jade.carino@ibm.com>

* Bump CICSTS dependency to 0.25.0

Signed-off-by: Jade Carino <jade.carino@ibm.com>

* Remove GitHubIssue annotation for RSE defect as is now fixed

Signed-off-by: Jade Carino <jade.carino@ibm.com>

* Annotate Docker inttests with GitHubIssue as there is a defect causing them to fail

Signed-off-by: Jade Carino <jade.carino@ibm.com>

---------

Signed-off-by: Jade Carino <jade.carino@ibm.com>
jadecarino and others added 5 commits February 27, 2023 11:13
Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
)

* uplift dependency on galasa framework to 0.26.0 instead of 0,.25.0

Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>

* bump up versions to match the uber obr manually

Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>

---------

Signed-off-by: Mike Cobbett <77053+techcobweb@users.noreply.github.com>
…resource available (#175)

Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
@galasa-team
Copy link

Build successful

@@ -57,6 +57,10 @@ private Path setupSimPlatform() throws ResourceUnavailableException, IOException
refactorSimplatform(simplatformParent);

outputFiles("simplatform-refactored", simplatformParent, false);


makeGradleProperties();
Copy link
Contributor

@jadecarino jadecarino Mar 9, 2023

Choose a reason for hiding this comment

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

I think what this test is doing, is taking files that already exist in the Simplatform repository on Github and putting them in a new file structure for a test to use. As the gradle.properties file you are trying to create does not exist in Github, you will have to create it then allow it to be copied over like the other folders are. Similar to what is happening on line 53.

  • Remove this method and call a method on like 54 called 'createParentGradleProperties(simplatformParent)' and implement this method doing a similar thing to what createParentSettings does, but for your gradle.properties file.

private void makeGradleProperties() throws IOException{
String gradleProperties = "gradle.properties";
String obr = "sourceMaven=https://development.galasa.dev/main/maven-repo/obr/";
Path gradlePropertiesFile = testRunDirectory.resolve("/.gradle/" + gradleProperties);
Copy link
Contributor

Choose a reason for hiding this comment

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

Move this same logic into a different method called createParentGradleProperties as mentioned in my last comment.

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.

5 participants