diff --git a/shard.lock b/shard.lock new file mode 100644 index 00000000..f8fd5d40 --- /dev/null +++ b/shard.lock @@ -0,0 +1,363 @@ +# NOTICE: This lockfile contains some overrides from shard.override.yml +version: 2.0 +shards: + CrystalEmail: # Overridden + git: https://github.com/place-labs/crystalemail.git + version: 0.2.6 + + action-controller: + git: https://github.com/spider-gazelle/action-controller.git + version: 7.4.2 + + active-model: + git: https://github.com/spider-gazelle/active-model.git + version: 4.3.2 + + ameba: + git: https://github.com/crystal-ameba/ameba.git + version: 1.6.1 + + any_hash: + git: https://github.com/sija/any_hash.cr.git + version: 0.2.5 + + awscr-s3: + git: https://github.com/taylorfinnell/awscr-s3.git + version: 0.8.3 + + awscr-signer: + git: https://github.com/taylorfinnell/awscr-signer.git + version: 0.8.2 + + backtracer: + git: https://github.com/sija/backtracer.cr.git + version: 1.2.2 + + bindata: + git: https://github.com/spider-gazelle/bindata.git + version: 2.1.0 + + connect-proxy: + git: https://github.com/spider-gazelle/connect-proxy.git + version: 2.0.1 + + crc16: + git: https://github.com/maiha/crc16.cr.git + version: 0.1.0 + + cron_parser: + git: https://github.com/kostya/cron_parser.git + version: 0.4.0 + + crunits: + git: https://github.com/spider-gazelle/crunits.git + version: 1.1.1 + + crystal-kcov: + git: https://github.com/vici37/crystal-kcov.git + version: 0.2.3+git.commit.7e49fe22d7d47040c9de77eb77a6daa76ce0655d + + crystar: + git: https://github.com/naqvis/crystar.git + version: 0.4.0 + + csuuid: + git: https://github.com/wyhaines/csuuid.cr.git + version: 1.0.1+git.commit.4cb8656a9214aede9c1840cad4acf8e55e658f2f + + db: + git: https://github.com/crystal-lang/crystal-db.git + version: 0.13.1 + + debug: + git: https://github.com/sija/debug.cr.git + version: 2.0.3 + + defined: + git: https://github.com/wyhaines/defined.cr.git + version: 0.3.6 + + dtls: + git: https://github.com/spider-gazelle/crystal-dtls.git + version: 0.9.1 + + email: + git: https://github.com/arcage/crystal-email.git + version: 0.7.1 + + eventbus: + git: https://github.com/spider-gazelle/eventbus.git + version: 0.9.9+git.commit.ca8ef0c5e21ee15da079edd5bcea39bee7e07f26 + + exception_page: + git: https://github.com/crystal-loot/exception_page.git + version: 0.4.1 + + exec_from: + git: https://github.com/place-labs/exec_from.git + version: 2.0.0 + + faker: + git: https://github.com/askn/faker.git + version: 0.9.0 + + future: + git: https://github.com/crystal-community/future.cr.git + version: 1.0.0 + + git-repository: + git: https://github.com/place-labs/git-repository.git + version: 1.4.0 + + google: + git: https://github.com/placeos/google.git + version: 3.5.0 + + habitat: + git: https://github.com/luckyframework/habitat.git + version: 0.4.9 + + hardware: + git: https://github.com/crystal-community/hardware.git + version: 0.5.2 + + hot_topic: + git: https://github.com/jgaskins/hot_topic.git + version: 0.1.0+git.commit.3c901e77b6e000930398738260a2944b6f5785dc + + http-params-serializable: + git: https://github.com/place-labs/http-params-serializable.git + version: 0.5.0 + + ipaddress: + git: https://github.com/sija/ipaddress.cr.git + version: 0.2.3 + + json-merge-patch: + git: https://github.com/caspiano/json-merge-patch.git + version: 0.1.1 + + json-schema: + git: https://github.com/spider-gazelle/json-schema.git + version: 1.3.1 + + jwt: + git: https://github.com/crystal-community/jwt.git + version: 1.6.1 + + log_helper: + git: https://github.com/spider-gazelle/log_helper.git + version: 1.0.3 + + loki-client: + git: https://github.com/spider-gazelle/crystal-loki-client.git + version: 0.1.0+git.commit.ed3c0ab5b6f3da6103f6aed680fdcd171680feca + + lucky_router: + git: https://github.com/luckyframework/lucky_router.git + version: 0.5.2 + + murmur3: + git: https://github.com/aca-labs/murmur3.git + version: 0.1.1+git.commit.7cbe25c0ca8d052c9d98c377c824dcb0e038c790 + + nbchannel: + git: https://github.com/wyhaines/nbchannel.cr.git + version: 0.1.0+git.commit.a8f5be6aa198abfa9f1893e1156640b8ea526094 + + neuroplastic: + git: https://github.com/spider-gazelle/neuroplastic.git + version: 1.13.1 + + office365: + git: https://github.com/placeos/office365.git + version: 1.25.3 + + openai: + git: https://github.com/spider-gazelle/crystal-openai.git + version: 0.9.1+git.commit.bf862d19e3c9a84cd6dd01bbec6b06931697a6d3 + + openssl_ext: + git: https://github.com/spider-gazelle/openssl_ext.git + version: 2.4.4 + + opentelemetry-api: + git: https://github.com/wyhaines/opentelemetry-api.cr.git + version: 0.5.0 + + opentelemetry-instrumentation: + git: https://github.com/wyhaines/opentelemetry-instrumentation.cr.git + version: 0.5.4+git.commit.9b26aabef208b9eb0bf4612788362fa41768790b + + opentelemetry-sdk: # Overridden + git: https://github.com/wyhaines/opentelemetry-sdk.cr.git + version: 0.6.1+git.commit.addc3c740d5ea8e61ffd9500fe32ebf21210d66c + + pars: # Overridden + git: https://github.com/spider-gazelle/pars.git + version: 1.1.0 + + parse_date: + git: https://github.com/wyhaines/parsedate.cr.git + version: 0.1.2 + + pegmatite: + git: https://github.com/jemc/crystal-pegmatite.git + version: 0.2.3+git.commit.f1b6d99b71774f82b6bd17b825d6d7fdd5de38f9 + + pg: + git: https://github.com/will/crystal-pg.git + version: 0.28.0 + + pg-orm: + git: https://github.com/spider-gazelle/pg-orm.git + version: 1.1.1+git.commit.282c353b676806eef73786645f8cd852cdb60bc3 + + pinger: + git: https://github.com/spider-gazelle/pinger.git + version: 1.1.2 + + place_calendar: + git: https://github.com/placeos/calendar.git + version: 4.22.1 + + placeos-compiler: + git: https://github.com/placeos/compiler.git + version: 4.9.3 + + placeos-core: + git: https://github.com/placeos/core.git + version: 4.14.4+git.commit.d52544e18d733c1f7864ba8868795afd1f7f50f0 + + placeos-core-client: # Overridden + git: https://github.com/placeos/core-client.git + version: 1.0.6 + + placeos-driver: + git: https://github.com/placeos/driver.git + version: 7.2.1 + + placeos-frontend-loader: + git: https://github.com/placeos/frontend-loader.git + version: 2.7.1+git.commit.6afa4e3f6f491441c86ef6c2dab03fb05510d8cb + + placeos-log-backend: + git: https://github.com/place-labs/log-backend.git + version: 0.11.4 + + placeos-models: + git: https://github.com/placeos/models.git + version: 9.56.3 + + placeos-resource: + git: https://github.com/place-labs/resource.git + version: 3.1.0 + + pool: + git: https://github.com/ysbaddaden/pool.git + version: 0.2.4 + + promise: + git: https://github.com/spider-gazelle/promise.git + version: 3.1.0 + + protobuf: + git: https://github.com/jeromegn/protobuf.cr.git + version: 2.3.0 + + qr-code: + git: https://github.com/spider-gazelle/qr-code.git + version: 1.0.3 + + raven: + git: https://github.com/sija/raven.cr.git + version: 1.9.3+git.commit.990a7650fb027cbe65705fc6dad228cddc76c503 + + redis: + git: https://github.com/stefanwille/crystal-redis.git + version: 2.9.1 + + redis-cluster: + git: https://github.com/caspiano/redis-cluster.cr.git + version: 0.8.5 + + redis_service_manager: + git: https://github.com/place-labs/redis_service_manager.git + version: 3.1.1 + + rendezvous-hash: + git: https://github.com/caspiano/rendezvous-hash.git + version: 0.3.1 + + responsible: + git: https://github.com/place-labs/responsible.git + version: 1.2.3 + + retriable: + git: https://github.com/sija/retriable.cr.git + version: 0.2.5 + + rwlock: + git: https://github.com/spider-gazelle/readers-writer.git + version: 1.0.7 + + search-ingest: + git: https://github.com/placeos/search-ingest.git + version: 2.11.1+git.commit.c0a4f616d16b29674aeb2d1032314385190a026a + + secrets-env: # Overridden + git: https://github.com/spider-gazelle/secrets-env.git + version: 1.3.1 + + simple_retry: + git: https://github.com/spider-gazelle/simple_retry.git + version: 1.1.1 + + splay_tree_map: + git: https://github.com/wyhaines/splay_tree_map.cr.git + version: 0.3.0 + + ssh2: + git: https://github.com/spider-gazelle/ssh2.cr.git + version: 1.6.1 + + stumpy_core: + git: https://github.com/stumpycr/stumpy_core.git + version: 1.9.1 + + stumpy_png: + git: https://github.com/stumpycr/stumpy_png.git + version: 5.0.1 + + tasker: + git: https://github.com/spider-gazelle/tasker.git + version: 2.1.4 + + time-ext: + git: https://github.com/wyhaines/time-ext.cr.git + version: 0.1.0+git.commit.175f658235fb6cdc9c804cb96da510fec27f4cd6 + + timecop: + git: https://github.com/crystal-community/timecop.cr.git + version: 0.5.0 + + tokenizer: + git: https://github.com/spider-gazelle/tokenizer.git + version: 1.1.1 + + tracer: + git: https://github.com/wyhaines/tracer.cr.git + version: 0.3.1 + + ulid: # Overridden + git: https://github.com/place-labs/ulid.git + version: 0.1.3+git.commit.0bb8d5d4bee4168acfac2630ce51ce4706253688 + + upload-signer: + git: https://github.com/spider-gazelle/upload-signer.git + version: 0.1.0+git.commit.4c7baf3fc72ca15035c827e16f2c8a15b5f39246 + + webmock: + git: https://github.com/manastech/webmock.cr.git + version: 0.14.0+git.commit.42b347cdd64e13193e46167a03593944ae2b3d20 + diff --git a/test b/test new file mode 100755 index 00000000..815052cd --- /dev/null +++ b/test @@ -0,0 +1,29 @@ +#! /usr/bin/env bash + +set -eu + +# this function is called when Ctrl-C is sent +function trap_ctrlc () +{ + docker compose down &> /dev/null + exit 2 +} + +# initialise trap to call trap_ctrlc function +# when signal 2 (SIGINT) is received +trap "trap_ctrlc" 2 + +docker compose pull + +docker compose build + +exit_code="0" + +docker compose run \ + --rm \ + test "$@" \ + || exit_code="$?" + +docker compose down &> /dev/null + +exit ${exit_code}