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

Switch example from using ImageNameSelector to ImageName #112

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

Conversation

HunterGerlach
Copy link

What does this PR do / why we need it

This PR updates the latest 2 versions (2.2.1 and 2.2.2) of the Inner/Outer loop docs to correct a regression in the example code.

ImageNameSelector -> ImageName

PR acceptance criteria

  • Unit Tests
  • E2E Tests
  • Documentation
    Update the sidebar if there is a new file added or an existing filename is changed

How to test changes / Special notes to the reviewer

Take a look at the latest spec and confirm that the update matches the spec.

Copy link
Contributor

@thepetk thepetk left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Member

@michael-valdron michael-valdron left a comment

Choose a reason for hiding this comment

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

/lgtm

@thepetk
Copy link
Contributor

thepetk commented Feb 29, 2024

/retest

@HunterGerlach
Copy link
Author

Is this failure something on my end that I need resolve to help get this merged (e.g. missing test)?

@michael-valdron
Copy link
Member

michael-valdron commented Mar 1, 2024

Is this failure something on my end that I need resolve to help get this merged (e.g. missing test)?

Based on the your changes and the errors given I don't believe so, looking at the logs it appears to be likely change(s) in the allocated resources GitHub actions is providing:

You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 26 MB

Full Log: https://github.com/devfile/devfile-web/actions/runs/8088608076

@michael-valdron
Copy link
Member

michael-valdron commented Mar 1, 2024

Based on the your changes and the errors given I don't believe so, looking at the logs it appears to be likely change(s) in the allocated resources GitHub actions is providing:

You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 26 MB

Full Log: https://github.com/devfile/devfile-web/actions/runs/8088608076

@thepetk @Jdubrick We'll need to open a bug to address this soon.

@michael-valdron
Copy link
Member

Based on the your changes and the errors given I don't believe so, looking at the logs it appears to be likely change(s) in the allocated resources GitHub actions is providing:

You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 26 MB

Full Log: https://github.com/devfile/devfile-web/actions/runs/8088608076

@thepetk @Jdubrick We'll need to open a bug to address this soon.

Opened a bug issue: devfile/api#1464

@thepetk
Copy link
Contributor

thepetk commented Mar 1, 2024

Based on the your changes and the errors given I don't believe so, looking at the logs it appears to be likely change(s) in the allocated resources GitHub actions is providing:

You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 26 MB

Full Log: https://github.com/devfile/devfile-web/actions/runs/8088608076

@thepetk @Jdubrick We'll need to open a bug to address this soon.

Opened a bug issue: devfile/api#1464

Yeah I agree with @michael-valdron. I've tried also to see if there is any the code, the package.json deps or the ubuntu release here #116 but it seems we have insufficient resources from github runner.

@Jdubrick
Copy link
Contributor

Jdubrick commented Apr 2, 2024

/retest

@thepetk thepetk force-pushed the docs/fix-outerloop-code-example branch from 1762d7c to 997d1b0 Compare April 3, 2024 08:56
@openshift-ci openshift-ci bot removed the lgtm label Apr 3, 2024
Copy link

openshift-ci bot commented Apr 3, 2024

New changes are detected. LGTM label has been removed.

Copy link
Member

@michael-valdron michael-valdron left a comment

Choose a reason for hiding this comment

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

Needs rebase to recent changes.

Copy link

openshift-ci bot commented Apr 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: HunterGerlach, Jdubrick, thepetk

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

Copy link
Member

@michael-valdron michael-valdron left a comment

Choose a reason for hiding this comment

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

Looking into the broken image links reported:

-  /home/runner/work/devfile-web/devfile-web/dist/cypress/apps/landing-page-e2e/scr     (1280x720)
     eenshots/app.cy.ts/Docs -- Version 2.0.0 -- Section Get started -- Page Quick st               
     art with Eclipse Che -- has valid links (failed).png                                           
  -  /home/runner/work/devfile-web/devfile-web/dist/cypress/apps/landing-page-e2e/scr     (1280x720)
     eenshots/app.cy.ts/Docs -- Version 2.0.0 -- Section Get started -- Page Developi               
     ng with devfiles -- has valid links (failed).png

Some of the images in our guides may no longer exist which is why E2E check is failing.

cc: @HunterGerlach

Copy link
Member

@michael-valdron michael-valdron left a comment

Choose a reason for hiding this comment

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

Looking into the broken image links reported:

-  /home/runner/work/devfile-web/devfile-web/dist/cypress/apps/landing-page-e2e/scr     (1280x720)
     eenshots/app.cy.ts/Docs -- Version 2.0.0 -- Section Get started -- Page Quick st               
     art with Eclipse Che -- has valid links (failed).png                                           
  -  /home/runner/work/devfile-web/devfile-web/dist/cypress/apps/landing-page-e2e/scr     (1280x720)
     eenshots/app.cy.ts/Docs -- Version 2.0.0 -- Section Get started -- Page Developi               
     ng with devfiles -- has valid links (failed).png

Some of the images in our guides may no longer exist which is why E2E check is failing.

cc: @HunterGerlach

Error message might be misleading here, I think it could be, based on the guides in question, referring to the domain switch of eclipse.org to eclipse.dev and is not satisfied with the redirection response.

@michael-valdron
Copy link
Member

Looking into the broken image links reported:

-  /home/runner/work/devfile-web/devfile-web/dist/cypress/apps/landing-page-e2e/scr     (1280x720)
     eenshots/app.cy.ts/Docs -- Version 2.0.0 -- Section Get started -- Page Quick st               
     art with Eclipse Che -- has valid links (failed).png                                           
  -  /home/runner/work/devfile-web/devfile-web/dist/cypress/apps/landing-page-e2e/scr     (1280x720)
     eenshots/app.cy.ts/Docs -- Version 2.0.0 -- Section Get started -- Page Developi               
     ng with devfiles -- has valid links (failed).png

Some of the images in our guides may no longer exist which is why E2E check is failing.
cc: @HunterGerlach

Error message might be misleading here, I think it could be, based on the guides in question, referring to the domain switch of eclipse.org to eclipse.dev and is not satisfied with the redirection response.

@HunterGerlach Fixed the links in question and opened a PR against your branch: HunterGerlach#1

@michael-valdron
Copy link
Member

Can confirm the eclipse domain change is the cause of the e2e tests failing: HunterGerlach#1 (comment)

@michael-valdron
Copy link
Member

This is blocked by devfile/api#1573

@Jdubrick
Copy link
Contributor

devfile/api#1573 has been completed. Once this PR gets a rebase I believe the E2E tests should pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants