Skip to content

Commit

Permalink
Merge pull request #23 from devsapp/remove-artifact
Browse files Browse the repository at this point in the history
remove artifact
  • Loading branch information
rsonghuster authored Nov 11, 2024
2 parents 778cb50 + e7f941c commit 4f08173
Show file tree
Hide file tree
Showing 16 changed files with 77 additions and 500 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
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

0 comments on commit 4f08173

Please sign in to comment.