Skip to content

Commit

Permalink
remove artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
rsonghuster committed Nov 8, 2024
1 parent 778cb50 commit de92bab
Show file tree
Hide file tree
Showing 15 changed files with 76 additions and 499 deletions.
2 changes: 0 additions & 2 deletions __tests__/e2e/artifact/code/index.py

This file was deleted.

25 changes: 0 additions & 25 deletions __tests__/e2e/artifact/s.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions __tests__/e2e/artifact/s2.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions __tests__/e2e/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ s info -t s2.yaml
s remove -y -t s2.yaml
cd ..

# echo "test artifact"
# cd artifact
# s deploy -y
# s invoke
# s info
# s remove -y

# s deploy -y -t s2.yaml
# s invoke -t s2.yaml
# s info -t s2.yaml
Expand Down
131 changes: 0 additions & 131 deletions __tests__/e2e/nodejs/code/package-lock.json

This file was deleted.

51 changes: 29 additions & 22 deletions __tests__/e2e/nodejs/s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
code: ./code
handler: event.handler
memorySize: 128
timeout: 30
timeout: 60
instanceLifecycleConfig:
initializer:
handler: event.initializer
Expand All @@ -28,29 +28,36 @@ resources:
onSuccess:
destination: acs:fc:${vars.region}::functions/serverless-devs-ci-async-invoke-config-succ
maxAsyncEventAgeInSeconds: 360
maxAsyncRetryAttempts: 3
maxAsyncRetryAttempts: 1
asyncTask: true
qualifier: LATEST

# provisionConfig:
# target: 1
# alwaysAllocateCPU: false
# alwaysAllocateGPU: false
# scheduledActions:
# - name: scheduled-actions
# startTime: '2023-08-15T02:04:00.000Z'
# endTime: '2033-08-15T03:04:00.000Z'
# target: 1
# scheduleExpression: cron(0 0 4 * * *)
# timeZone: ''
# targetTrackingPolicies:
# - name: target-tracking-policies
# startTime: '2023-08-15T02:05:00.000Z'
# endTime: '2033-08-15T02:55:00.000Z'
# metricType: ProvisionedConcurrencyUtilization
# metricTarget: 0.6
# minCapacity: 1
# maxCapacity: 3
provisionConfig:
target: 1
alwaysAllocateCPU: false
alwaysAllocateGPU: false
scheduledActions:
- name: scheduled-actions
startTime: '2023-08-15T02:04:00.000Z'
endTime: '2033-08-15T03:04:00.000Z'
target: 1
scheduleExpression: cron(0 0 4 * * *)
timeZone: ''
# targetTrackingPolicies:
# - name: target-tracking-policies
# startTime: '2023-08-15T02:05:00.000Z'
# endTime: '2033-08-15T02:55:00.000Z'
# metricType: ProvisionedConcurrencyUtilization
# metricTarget: 0.6
# minCapacity: 1
# maxCapacity: 3

concurrencyConfig:
reservedConcurrency: 3
reservedConcurrency: 1

customDomain:
domainName: auto
protocol: HTTP
route:
path: /*
qualifier: LATEST
Loading

0 comments on commit de92bab

Please sign in to comment.