One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#!/bin/bash | |
set -e | |
# Build Golang code in a given directory for the linux x86_64 architecture | |
build_golang() { | |
GOOS=linux GOARCH=amd64 go build -o handler | |
zip $build_dir/$artifact_name handler | |
rm handler | |
} |
#!/usr/bin/env python3 | |
"""Build script for creating AWS lambda function and layer artifacts. | |
This script generally lives in a build pipeline and will create zipfile archive | |
artifacts that are suitable for deployment to a lambda function or layer. | |
""" | |
from __future__ import annotations | |
import argparse |
# have a function to create the client so you can dependcy in ject it into the exceite function | |
# pass in host, port and region so your tests can override these | |
def create_es_client(host, port, region): | |
return Elasticsearch( | |
hosts=[{"host": host, "port": port}], | |
http_auth=BotoAWSRequestsAuth( | |
aws_host=host, aws_region=region, aws_service="es" | |
), | |
use_ssl=True, | |
verify_certs=True, |
First, Download and install the newest version of Meld for Windows. https://download.gnome.org/binaries/win32/meld/
Next we need to edit your .gitconfig file. This file lives as a hidden file in your user directory. Here is a sample of mine:
[user]
email = [email protected]
name = Sir Kuttin
[merge]