chore(repo): revert env var propagation (#21131)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
This commit is contained in:
parent
78fe9546be
commit
9747eead55
@ -80,7 +80,6 @@ jobs:
|
|||||||
executor: linux
|
executor: linux
|
||||||
environment:
|
environment:
|
||||||
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux
|
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux
|
||||||
NX_VERBOSE_LOGGING: 'true'
|
|
||||||
NX_DAEMON: 'true'
|
NX_DAEMON: 'true'
|
||||||
NX_PERF_LOGGING: 'false'
|
NX_PERF_LOGGING: 'false'
|
||||||
NX_NATIVE_LOGGING: 'false'
|
NX_NATIVE_LOGGING: 'false'
|
||||||
@ -88,7 +87,7 @@ jobs:
|
|||||||
NX_CI_EXECUTION_ENV: 'linux'
|
NX_CI_EXECUTION_ENV: 'linux'
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: npx nx-cloud@next start-ci-run --distributes-on="8 linux-medium" --stop-agents-after="e2e" --with-env-vars="auto"
|
- run: npx nx-cloud@next start-ci-run --distributes-on="8 linux-medium" --stop-agents-after="e2e"
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@ -161,6 +160,11 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
pnpm nx affected -t e2e-macos --parallel=1 --base=$NX_BASE --head=$NX_HEAD
|
pnpm nx affected -t e2e-macos --parallel=1 --base=$NX_BASE --head=$NX_HEAD
|
||||||
no_output_timeout: 45m
|
no_output_timeout: 45m
|
||||||
|
- run:
|
||||||
|
name: Close CI group
|
||||||
|
command: |
|
||||||
|
pnpm nx-cloud stop-all-agents
|
||||||
|
no_output_timeout: 45m
|
||||||
|
|
||||||
# -------------------------
|
# -------------------------
|
||||||
# WORKFLOWS(JOBS)
|
# WORKFLOWS(JOBS)
|
||||||
|
|||||||
@ -9,10 +9,15 @@ launch-templates:
|
|||||||
GIT_COMMITTER_NAME: Test
|
GIT_COMMITTER_NAME: Test
|
||||||
SELECTED_PM: 'pnpm'
|
SELECTED_PM: 'pnpm'
|
||||||
NPM_CONFIG_PREFIX: '/home/workflows/.npm-global'
|
NPM_CONFIG_PREFIX: '/home/workflows/.npm-global'
|
||||||
|
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux
|
||||||
|
NX_PERF_LOGGING: 'false'
|
||||||
|
NX_NATIVE_LOGGING: 'false'
|
||||||
|
CI: 'true'
|
||||||
|
NX_E2E_RUN_E2E: 'true'
|
||||||
|
NX_CLOUD_ACCESS_TOKEN: '{{secrets.NX_CLOUD_ACCESS_TOKEN}}'
|
||||||
init-steps:
|
init-steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/checkout/main.yaml'
|
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/checkout/main.yaml'
|
||||||
|
|
||||||
- name: Cache restore
|
- name: Cache restore
|
||||||
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/cache/main.yaml'
|
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/cache/main.yaml'
|
||||||
env:
|
env:
|
||||||
|
|||||||
@ -198,6 +198,7 @@ describe('dev mode - task graph', () => {
|
|||||||
// Load the fixture data and find the property based on the query parameter
|
// Load the fixture data and find the property based on the query parameter
|
||||||
|
|
||||||
const expandedInputs = nxExamplesTaskInputs[taskId];
|
const expandedInputs = nxExamplesTaskInputs[taskId];
|
||||||
|
console.log(expandedInputs);
|
||||||
|
|
||||||
// Reply with the selected property
|
// Reply with the selected property
|
||||||
req.reply({
|
req.reply({
|
||||||
|
|||||||
@ -58,57 +58,6 @@ describe('release static-mode app', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
['depGraphService', 'projectGraphService'].forEach((serviceName) => {
|
|
||||||
describe(`deprecated api - ${serviceName}`, () => {
|
|
||||||
it('should focus project', () => {
|
|
||||||
cy.window().then((window) => {
|
|
||||||
window.externalApi[serviceName].send({
|
|
||||||
type: 'focusProject',
|
|
||||||
projectName: 'cart',
|
|
||||||
});
|
|
||||||
checkFocusedProject(nxExamplesJson, 'cart');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should select all projects', () => {
|
|
||||||
cy.window().then((window) => {
|
|
||||||
window.externalApi[serviceName].send({ type: 'selectAll' });
|
|
||||||
checkSelectAll(nxExamplesJson);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should select a project', () => {
|
|
||||||
cy.window().then((window) => {
|
|
||||||
window.externalApi[serviceName].send({
|
|
||||||
type: 'selectProject',
|
|
||||||
projectName: 'cart',
|
|
||||||
});
|
|
||||||
checkSelectedProject('cart');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should deselect a project', () => {
|
|
||||||
cy.window().then((window) => {
|
|
||||||
window.externalApi[serviceName].send({
|
|
||||||
type: 'selectProject',
|
|
||||||
projectName: 'cart',
|
|
||||||
});
|
|
||||||
window.externalApi[serviceName].send({
|
|
||||||
type: 'selectProject',
|
|
||||||
projectName: 'cart-e2e',
|
|
||||||
});
|
|
||||||
window.externalApi[serviceName].send({
|
|
||||||
type: 'deselectProject',
|
|
||||||
projectName: 'cart',
|
|
||||||
});
|
|
||||||
|
|
||||||
checkSelectedProject('cart-e2e');
|
|
||||||
checkDeselectedProject('cart');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -49,7 +49,7 @@ export const getSelectTargetDropdown = () =>
|
|||||||
export const openTooltipForNode = (nodeId: string) =>
|
export const openTooltipForNode = (nodeId: string) =>
|
||||||
cy.window().then((window) => {
|
cy.window().then((window) => {
|
||||||
// @ts-ignore - we will access private methods only in this e2e test
|
// @ts-ignore - we will access private methods only in this e2e test
|
||||||
const pos = window.externalApi.graphService.renderGraph.cy
|
const pos = window.externalApi._graphService.renderGraph.cy
|
||||||
.$(nodeId)
|
.$(nodeId)
|
||||||
.renderedPosition();
|
.renderedPosition();
|
||||||
cy.get('#cytoscape-graph').click(pos.x, pos.y);
|
cy.get('#cytoscape-graph').click(pos.x, pos.y);
|
||||||
|
|||||||
@ -13,6 +13,7 @@ window.appConfig = {
|
|||||||
projectGraphUrl: 'assets/project-graphs/e2e.json',
|
projectGraphUrl: 'assets/project-graphs/e2e.json',
|
||||||
taskGraphUrl: 'assets/task-graphs/e2e.json',
|
taskGraphUrl: 'assets/task-graphs/e2e.json',
|
||||||
taskInputsUrl: 'assets/task-inputs/e2e.json',
|
taskInputsUrl: 'assets/task-inputs/e2e.json',
|
||||||
|
sourceMapsUrl: 'assets/source-maps/e2e.json',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'affected',
|
id: 'affected',
|
||||||
@ -20,6 +21,7 @@ window.appConfig = {
|
|||||||
projectGraphUrl: 'assets/project-graphs/affected.json',
|
projectGraphUrl: 'assets/project-graphs/affected.json',
|
||||||
taskGraphUrl: 'assets/task-graphs/affected.json',
|
taskGraphUrl: 'assets/task-graphs/affected.json',
|
||||||
taskInputsUrl: 'assets/task-inputs/affected.json',
|
taskInputsUrl: 'assets/task-inputs/affected.json',
|
||||||
|
sourceMapsUrl: 'assets/source-maps/e2e-affected.json',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
defaultWorkspaceId: 'e2e',
|
defaultWorkspaceId: 'e2e',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user