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

feat!: remove provider check #32

Merged
merged 1 commit into from
Apr 25, 2022
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
4 changes: 1 addition & 3 deletions .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- checkout
- serverless/setup:
version: 3.15.0
provider: ""
- run:
name: Check SLS version
command: |
Expand All @@ -40,8 +39,7 @@ jobs:
- run:
command: npm run test
working_directory: "~/project/example"
- serverless/setup:
provider: AWS
- serverless/setup
- run:
name: Local invoke add function
working_directory: "~/project/example"
Expand Down
10 changes: 0 additions & 10 deletions src/commands/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,11 @@
description: >
Install and authenticate with the Serverless CLI.
parameters:
provider:
type: enum
enum: ["", "AWS", "azure", "tencent", "google", "knative", "alibaba", "cloudflare", "fn", "kubeless", "openwhisk", "spotinist"]
description: (Optional) Select a cloud provider to receive additional helpful error messages during your initial configuration if a misconfiguration is detected.
default: "AWS"
version:
type: string
description: Specify the version of the Serverless Framework CLI to install. By default, the latest version will be used.
default: ""
steps:
- run:
name: Provider Check
environment:
SLS_ORB_PROVIDER_PARAM: << parameters.provider >>
command: <<include(scripts/provider-check.sh)>>
- run:
name: Install Serverless CLI
environment:
Expand Down
136 changes: 0 additions & 136 deletions src/scripts/provider-check.sh

This file was deleted.