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

remove artifact #23

Merged
merged 1 commit into from
Nov 11, 2024
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
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
2 changes: 1 addition & 1 deletion __tests__/e2e/custom-domain/s2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: hello-world-app
access: "quanxi"

vars:
region: ${env('REGION', 'cn-huhehaote')}
region: 'cn-huhehaote'

resources:
hello_world_1:
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
Loading