This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +14
-14
lines changed Expand file tree Collapse file tree 11 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1616 - AWS_PROFILE=default
1717
1818addons :
19- snaps :
19+ snaps :
2020 - name : aws-cli
2121 confinement : classic # or devmode
22- channel : latest/edge
22+ channel : latest/stable
2323
2424before_install :
2525 - ./scripts/aws_travis_credentials.sh
Original file line number Diff line number Diff line change 1- FROM nio-swift:5.2.1
1+ FROM nio-swift:5.2.3
22
33# Or your actual UID, GID on Linux if not the default 1000
44ARG USERNAME=vscode
Original file line number Diff line number Diff line change 11# HTTPSRequest
22
3- [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.1 ] ( https://img.shields.io/badge/Swift-5.2.1 -blue.svg )] ( https://swift.org/download/ )
3+ [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.3 ] ( https://img.shields.io/badge/Swift-5.2.3 -blue.svg )] ( https://swift.org/download/ )
44
55This example shows the usage of the [ LambdaSwiftSprinter] ( https://github.com/swift-sprinter/aws-lambda-swift-sprinter-core ) framework and the plugin [ LambdaSwiftSprinterNioPlugin] ( https://github.com/swift-sprinter/aws-lambda-swift-sprinter-nio-plugin ) to build a lambda capable to perform an HTTPS request.
66
Original file line number Diff line number Diff line change 1- FROM nio-swift:5.2.1
1+ FROM nio-swift:5.2.3
22
33# Or your actual UID, GID on Linux if not the default 1000
44ARG USERNAME=vscode
Original file line number Diff line number Diff line change 11# HelloWorld
22
3- [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.1 ] ( https://img.shields.io/badge/Swift-5.2.1 -blue.svg )] ( https://swift.org/download/ )
3+ [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.3 ] ( https://img.shields.io/badge/Swift-5.2.3 -blue.svg )] ( https://swift.org/download/ )
44
55This example shows the usage of the [ LambdaSwiftSprinter] ( https://github.com/swift-sprinter/aws-lambda-swift-sprinter-core ) framework to build a simple lambda.
66
Original file line number Diff line number Diff line change 11# PostgreSQLDemo
22
3- [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.1 ] ( https://img.shields.io/badge/Swift-5.2.1 -blue.svg )] ( https://swift.org/download/ )
3+ [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.3 ] ( https://img.shields.io/badge/Swift-5.2.3 -blue.svg )] ( https://swift.org/download/ )
44
55This example shows the usage of the [ LambdaSwiftSprinter] ( https://github.com/swift-sprinter/aws-lambda-swift-sprinter-core ) framework and the plugin [ LambdaSwiftSprinterNioPlugin] ( https://github.com/swift-sprinter/aws-lambda-swift-sprinter-nio-plugin ) to build a lambda capable to perform an Postgres query using
66[ PostgresNIO] ( https://github.com/vapor/postgres-nio.git ) .
Original file line number Diff line number Diff line change 11# RedisDemo
22
3- [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.1 ] ( https://img.shields.io/badge/Swift-5.2.1 -blue.svg )] ( https://swift.org/download/ )
3+ [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.3 ] ( https://img.shields.io/badge/Swift-5.2.3 -blue.svg )] ( https://swift.org/download/ )
44
55This example shows the usage of the [ LambdaSwiftSprinter] ( https://github.com/swift-sprinter/aws-lambda-swift-sprinter-core ) framework and the plugin [ LambdaSwiftSprinterNioPlugin] ( https://github.com/swift-sprinter/aws-lambda-swift-sprinter-nio-plugin ) to build a lambda capable to perform an Redis request using
66[ RediStack] ( https://gitlab.com/mordil/swift-redi-stack.git ) .
Original file line number Diff line number Diff line change 11
22# Use this tag to build a customized local image
33
4- SWIFT_VERSION? =5.2.1
5- LAYER_VERSION? =5-2-1
4+ SWIFT_VERSION? =5.2.3
5+ LAYER_VERSION? =5-2-3
66# SWIFT_VERSION=5.1.5
77# LAYER_VERSION=5-1-5
88DOCKER_TAG =nio-swift:$(SWIFT_VERSION )
Original file line number Diff line number Diff line change 11# aws-lambda-swift-sprinter
22
3- [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.1 ] ( https://img.shields.io/badge/Swift-5.2.1 -blue.svg )] ( https://swift.org/download/ ) ![ ] ( https://img.shields.io/badge/version-1.0.0-green ) ![ ] ( https://travis-ci.com/swift-sprinter/aws-lambda-swift-sprinter.svg?branch=master ) ![ ] ( https://img.shields.io/badge/@AWS-Open-orange.svg )
3+ [ ![ Swift 5] ( https://img.shields.io/badge/Swift-5.0-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.1.5] ( https://img.shields.io/badge/Swift-5.1.5-blue.svg )] ( https://swift.org/download/ ) [ ![ Swift 5.2.3 ] ( https://img.shields.io/badge/Swift-5.2.3 -blue.svg )] ( https://swift.org/download/ ) ![ ] ( https://img.shields.io/badge/version-1.0.0-green ) ![ ] ( https://travis-ci.com/swift-sprinter/aws-lambda-swift-sprinter.svg?branch=master ) ![ ] ( https://img.shields.io/badge/@AWS-Open-orange.svg )
44
55![ ] ( ./images/aws-lambda-swift-sprinter.png )
66
@@ -175,8 +175,8 @@ make invoke_lambda \
175175| AWS_PROFILE | An AWS AIM profile you create to authenticate to your account. | default |
176176| IAM_ROLE_NAME | The execution role created that will be assumed by the Lambda. | lambda_sprinter_basic_execution |
177177| AWS_BUCKET | The AWS S3 bucket where the layer and lambdas zip files get uploaded. | aws-lambda-swift-sprinter |
178- | SWIFT_VERSION | Version of Swift used / Matches Dockerfile location too from ` docker/ ` folder. | 5.2.1 |
179- | LAYER_VERSION | Version of the Swift layer that will be created and uploaded for the Lambda to run on. | 5-2-1 |
178+ | SWIFT_VERSION | Version of Swift used / Matches Dockerfile location too from ` docker/ ` folder. | 5.2.3 |
179+ | LAYER_VERSION | Version of the Swift layer that will be created and uploaded for the Lambda to run on. | 5-2-3 |
180180| SWIFT_EXECUTABLE | Name of the binary file. | HelloWorld |
181181| SWIFT_PROJECT_PATH | Path to your Swift project. | Examples/HelloWorld |
182182| LAMBDA_FUNCTION_NAME | Display name of your Lambda in AWS. | HelloWorld |
Original file line number Diff line number Diff line change 1- FROM swift:5.2.1 as builder
1+ FROM swift:5.2.3 as builder
22
33RUN apt-get -qq update && apt-get -q -y install \
44 libssl-dev libicu-dev
You can’t perform that action at this time.
0 commit comments