Skip to content

Commit 8abbc4b

Browse files
Merge pull request #97 from fingerprintjs/inter-2046-add-ion-support
chore(ci): support ion as main product
2 parents 5d33a9d + 774620c commit 8abbc4b

10 files changed

Lines changed: 3 additions & 78 deletions

File tree

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ INTEGRATION_PATH=integration
55
RESULT_PATH=pxresult
66
AGENT_PATH=pxdownload
77
FPJS_API_KEY=
8-
TEST_EDGE_WORKER_ID=
98
NOTIFY_EMAIL_ADDRESS=

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
AK_GROUP_ID: '${{secrets.AK_GROUP_ID}}'
8484
AK_CONTRACT_ID: '${{secrets.AK_CONTRACT_ID}}'
8585
FPJS_CI_DOMAIN: '${{secrets.FPJS_CI_DOMAIN}}'
86-
TEST_EDGE_WORKER_ID: ${{secrets.TEST_EDGE_WORKER_ID}}
8786
NOTIFY_EMAIL_ADDRESS: ${{secrets.NOTIFY_EMAIL_ADDRESS}}
8887
run: pnpm ts-node scripts/deployRules.ts
8988
ci-mock: # This is the Deployer for mock-warden e2e tests, it's not a duplicate
@@ -159,6 +158,5 @@ jobs:
159158
AK_GROUP_ID: '${{secrets.AK_GROUP_ID}}'
160159
AK_CONTRACT_ID: '${{secrets.AK_CONTRACT_ID}}'
161160
FPJS_CI_DOMAIN: '${{secrets.FPJS_CI_DOMAIN}}'
162-
TEST_EDGE_WORKER_ID: ${{secrets.TEST_EDGE_WORKER_ID}}
163161
NOTIFY_EMAIL_ADDRESS: ${{secrets.NOTIFY_EMAIL_ADDRESS}}
164162
run: pnpm ts-node scripts/deployRules.ts

scripts/createProperty.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const createProperty = async () => {
77
path: `/papi/v1/properties?contractId=${process.env.AK_CONTRACT_ID}&groupId=${process.env.AK_GROUP_ID}`,
88
method: 'POST',
99
body: JSON.stringify({
10-
productId: 'Site_Accel',
10+
productId: 'Fresca',
1111
propertyName: CI_DOMAIN,
1212
ruleFormat: 'latest',
1313
}),
@@ -24,7 +24,7 @@ const createEdgeHostname = async () => {
2424
ipVersionBehavior: 'IPV6_COMPLIANCE',
2525
domainPrefix: CI_DOMAIN,
2626
domainSuffix: `edgesuite.net`,
27-
productId: `Site_Accel`,
27+
productId: `Fresca`,
2828
}),
2929
})
3030

@@ -39,7 +39,7 @@ const createCPCode = async () => {
3939
method: 'POST',
4040
body: JSON.stringify({
4141
cpcodeName: CI_DOMAIN,
42-
productId: `Site_Accel`,
42+
productId: `Fresca`,
4343
}),
4444
})
4545
}

scripts/deployRules.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { akamaiRequest } from './utils/akamaiRequest'
22
import { getProperty } from './utils/getProperty'
33
import { ORIGIN_DOMAIN } from './utils/constants'
4-
import { e2eRules } from './e2eRules'
54

65
type PatchParameter = {
76
op: string
@@ -117,7 +116,6 @@ const activateVersion = async (propertyId: string, version: string) => {
117116

118117
import('../dist/patch-body/body.json').then((module) => {
119118
const patchReqBody = module.default as PatchParameter[]
120-
patchReqBody[0].value.children.push(e2eRules)
121119

122120
const handler = async () => {
123121
try {

scripts/e2eRules.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

test/e2e/utils/generateTestId.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/e2e/utils/getCookieDomainFromEnv.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/e2e/utils/getIp.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

test/e2e/utils/getTestResult.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

test/e2e/utils/hash.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)