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

change path to fix windows log #5692

Merged

Conversation

anandrkskd
Copy link
Contributor

@anandrkskd anandrkskd commented Apr 26, 2022

Signed-off-by: anandrkskd [email protected]

What type of PR is this:

/kind tests

What does this PR do / why we need it:
This PR will fix the broken link to the logs for the windows CI tests.
Which issue(s) this PR fixes:

Fixes #5680

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

@netlify
Copy link

netlify bot commented Apr 26, 2022

Deploy Preview for odo-docusaurus-preview canceled.

Name Link
🔨 Latest commit eeca16a
🔍 Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/626790e8401daf00088841f6

@openshift-ci openshift-ci bot requested review from cdrage and rm3l April 26, 2022 06:28
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.4% 0.4% Duplication

@odo-robot
Copy link

odo-robot bot commented Apr 26, 2022

Unit Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Apr 26, 2022

Windows Tests (OCP) on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Apr 26, 2022

Kubernetes Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Apr 26, 2022

OpenShift Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented Apr 26, 2022

Validate Tests on commit finished successfully.
View logs: TXT HTML

@dharmit
Copy link
Member

dharmit commented Apr 26, 2022

Fixes #

Is it #5681 that this PR will fix?

@anandrkskd
Copy link
Contributor Author

Is it #5681 that this PR will fix?

No Dharmit, that issue is related ginkgo. This issue will fix #5680

Fixes #5680

@dharmit
Copy link
Member

dharmit commented Apr 26, 2022

Is it #5681 that this PR will fix?

No Dharmit, that issue is related ginkgo. This issue will fix #5680

Fixes #5680

OK, thanks.

Btw, putting Fixes #<issue-number> technique works only when you put it in the PR description. Saying based on my observation on this very PR. 😉

@dharmit
Copy link
Member

dharmit commented Apr 26, 2022

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Apr 26, 2022
@openshift-ci
Copy link

openshift-ci bot commented Apr 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dharmit

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Apr 26, 2022
@openshift-merge-robot openshift-merge-robot merged commit 96ea52e into redhat-developer:main Apr 26, 2022
@anandrkskd
Copy link
Contributor Author

Btw, putting Fixes # technique works only when you put it in the PR description. Saying based on my observation on this very PR.

I guess it worked for me 😸

@anandrkskd anandrkskd deleted the fix-windows-PR-log branch April 26, 2022 07:36
Copy link
Contributor

@feloy feloy left a comment

Choose a reason for hiding this comment

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

Sorry, I'm sending these comments a little late

@@ -20,7 +20,7 @@ echo "RESULT: $RESULT"
# save log
source .ibm/pipelines/functions.sh
ibmcloud login --apikey "${API_KEY}" -r "${IBM_REGION}"
sshpass -p $WINDOWS_PASSWORD scp -o StrictHostKeyChecking=no Administrator@$WINDOWS_IP:/tmp/${LOGFILE} /tmp/${LOGFILE}
sshpass -p $WINDOWS_PASSWORD scp -o StrictHostKeyChecking=no Administrator@$WINDOWS_IP:~/AppData/Local/Temp/${LOGFILE} /tmp/${LOGFILE}
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you use the TEMP environment variable value instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, I can see the use of /tmp in other places in the script, can you update them also?

Copy link
Contributor

Choose a reason for hiding this comment

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

My bad, this script is running on the Linux side, right?

cdrage pushed a commit to cdrage/odo that referenced this pull request Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ibmcloud command failing on windows
4 participants