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

[HAC-509] add FE template, turn off Jest cache #1743

Merged
merged 1 commit into from
Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: v1
kind: Template
metadata:
name: insights-chrome
objects:
- apiVersion: cloud.redhat.com/v1alpha1
kind: Frontend
metadata:
name: chrome
spec:
envName: ${ENV_NAME}
title: Chrome
image: ${IMAGE}:${IMAGE_TAG}
API:
versions:
- v1
frontend:
paths:
- /
- /config/chrome
parameters:
- name: ENV_NAME
required: true
- name: IMAGE_TAG
required: true
- name: IMAGE
value: quay.io/cloudservices/insights-chrome
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"fixjs": "eslint src --fix",
"lint": "npm-run-all lint:*",
"lint:js": "eslint src",
"test": "jest --forceExit --detectOpenHandles",
"test": "jest --forceExit --detectOpenHandles --no-cache",
Copy link
Contributor

@Hyperkid123 Hyperkid123 Jan 27, 2022

Choose a reason for hiding this comment

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

@BlakeHolifield Can we create a new command just for the CI? This will significantly increase the duration of the test during local development.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point, created new issue for it - #1745

"test:update": "jest --updateSnapshot",
"verify": "npm-run-all lint build test",
"verify:beta": "npm-run-all lint build:beta test",
Expand Down