Localstack comes with a docker-compose file that won't quite work when you're running the (linux) container in docker for Windows.
Two changes need to be made:
We can just comment that line out:
#!/bin/bash | |
# Simple bash script to wait for a worfklwo to finish (f.e. to trigger a notification) | |
# Based on https://github.com/rockymadden/circleci-cli | |
token=$CIRCLECI_TOKEN | |
resolution=15 | |
workflow=$1 | |
function await() { | |
function go() { |
""" | |
Script to convert unittest asserts into plain asserts. | |
Either reads the file from the path passed as first parameter, or reads from stdin if no parameter is given. | |
""" | |
import functools | |
import sys | |
import libcst as cst |
######### | |
# Setup # | |
######### | |
# https://github.com/localstack/localstack/blob/master/doc/feature_coverage.md | |
git clone https://github.com/vfarcic/localstack-demo | |
cd localstack-demo |
Localstack comes with a docker-compose file that won't quite work when you're running the (linux) container in docker for Windows.
Two changes need to be made:
We can just comment that line out:
from datetime import datetime | |
from time import sleep | |
from dnslib import DNSLabel, QTYPE, RD, RR | |
from dnslib import A, AAAA, CNAME, MX, NS, SOA, TXT | |
from dnslib.server import DNSServer | |
EPOCH = datetime(1970, 1, 1) | |
SERIAL = int((datetime.utcnow() - EPOCH).total_seconds()) |