SRVOCF-1003: update CI config for faas-console-plugin - #82896
Conversation
- Switch build_root to project_image using Dockerfile.builder - Simplify lint/unit tests to container format with make targets - Add e2e-aws multi-stage test with Serverless and Pipelines operators - Use pipeline_skip_if_only_changed for the steps-based e2e test - Align skip_if_only_changed patterns across all tests including .tekton/
|
@pmeida: This pull request references SRVOCF-1003 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe CI configuration now uses ChangesFaaS console plugin CI
Estimated code review effort: 2 (Simple) | ~15 minutes Sequence Diagram(s)sequenceDiagram
participant CI as AWS CI workflow
participant Cluster as AWS OpenShift cluster
participant Operators as Cluster operators
participant E2E as FaaS console plugin e2e
CI->>Cluster: Start AWS test environment
CI->>Operators: Install Serverless and Pipelines operators
CI->>E2E: Run make e2e with built plugin dependency
E2E->>Cluster: Execute end-to-end checks
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-e2e-aws |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@pmeida: requesting more than one rehearsal in one comment is not supported. If you would like to rehearse multiple specific jobs, please separate the job names by a space in a single command. |
2 similar comments
|
@pmeida: requesting more than one rehearsal in one comment is not supported. If you would like to rehearse multiple specific jobs, please separate the job names by a space in a single command. |
|
@pmeida: requesting more than one rehearsal in one comment is not supported. If you would like to rehearse multiple specific jobs, please separate the job names by a space in a single command. |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-lint |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-unit |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-images |
|
@pmeida: your |
1 similar comment
|
@pmeida: your |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
cfd9792 to
6185720
Compare
|
Waiting for openshift/faas-console-plugin#84 to be merged, to solve permission issue. |
Pre-install yarn deps and Playwright browser once into test-bin, shared by lint, unit, and e2e in parallel rather than each reinstalling at runtime.
6185720 to
b327f91
Compare
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-e2e-aws |
|
@matejvasek: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-images |
|
@matejvasek: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-e2e-aws |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-lint |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-unit |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
Added a temporary |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-e2e-aws |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
@pmeida have you tried re-running update: I see it's the added ref |
9987f00 to
b327f91
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse pull-ci-openshift-faas-console-plugin-master-e2e-aws |
|
@pmeida: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@pmeida: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| decorate: true | ||
| decoration_config: | ||
| sparse_checkout_files: | ||
| - Dockerfile |
There was a problem hiding this comment.
tbh I don't know how all this works, but should not be also Dockerfile.buildroot here? Maybe not I do not know.
There was a problem hiding this comment.
It's probably all right.
|
/lgtm /hold for @dsimansk |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matejvasek, pmeida The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/unhold |
|
/pj-rehearse ack |
|
@dsimansk: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
* SRVOCF-1003: update CI config for faas-console-plugin - Switch build_root to project_image using Dockerfile.builder - Simplify lint/unit tests to container format with make targets - Add e2e-aws multi-stage test with Serverless and Pipelines operators - Use pipeline_skip_if_only_changed for the steps-based e2e test - Align skip_if_only_changed patterns across all tests including .tekton/ * use test-bin for all tests via test_binary_build_commands Pre-install yarn deps and Playwright browser once into test-bin, shared by lint, unit, and e2e in parallel rather than each reinstalling at runtime.
* SRVOCF-1003: update CI config for faas-console-plugin - Switch build_root to project_image using Dockerfile.builder - Simplify lint/unit tests to container format with make targets - Add e2e-aws multi-stage test with Serverless and Pipelines operators - Use pipeline_skip_if_only_changed for the steps-based e2e test - Align skip_if_only_changed patterns across all tests including .tekton/ * use test-bin for all tests via test_binary_build_commands Pre-install yarn deps and Playwright browser once into test-bin, shared by lint, unit, and e2e in parallel rather than each reinstalling at runtime.
Summary
Updates the CI configuration for
openshift/faas-console-pluginto align with the companion repo PR openshift/faas-console-plugin#78, which introducesDockerfile.buildrootand consolidates developer tooling undermaketargets.build_rootfromimage_stream_tagtoproject_imageusingDockerfile.buildrootlintandunittests to container format runningmake lint/make unite2e-awsmulti-stage test: provisions an AWS cluster, installs Serverless and Pipelines operators viainstall-operatorsref, runsmake e2ewithPLUGIN_PULL_SPECinjectedpipeline_skip_if_only_changed(correct field for steps-based tests) one2e-awsskip_if_only_changedpattern across all three tests, including.tekton/test-binis built once per CI run and shared by all tests in parallel, avoiding redundant yarn install and Playwright browser download at runtime. Note: runtime scripts (make e2e via hack/test-prow-e2e.sh) still run their own installs for correctness, but the warm node_modules cache makes them significantly faster.Summary by CodeRabbit
openshift/faas-console-pluginto useDockerfile.buildrootthroughproject_image.test-binonce and shares it across parallel tests.make lintandmake unit.make e2ewithPLUGIN_PULL_SPEC..tekton/changes.