This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
image: docker:19.03.15 | |
services: | |
- docker:19.03.15-dind | |
script: | |
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY | |
- docker build -t $CI_REGISTRY/group/project/image:latest . | |
- docker push $CI_REGISTRY/group/project/image:latest | |
variables: | |
# This is *the way* to disable TLS for dockerd 19. dockerd 20 does not understand this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
username="a25...<redacted>" | |
password="Brz...<redacted>" | |
base_url="https://box-i...<redacted>" | |
basic=$(echo -n "$username:$password" | base64 -w0) | |
curl -X POST \ | |
-v \ | |
-H 'accept: application/json' \ | |
-H 'content-type: application/json' \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Both broken: | |
#FROM hexpm/elixir:1.17.2-erlang-26.2.5.2-alpine-3.20.2 | |
#FROM hexpm/elixir:1.17.2-erlang-26.2.5.3-alpine-3.20.3 | |
# Works: | |
FROM hexpm/elixir:1.17.2-erlang-26.2.5.2-alpine-3.19.3 | |
RUN apk add --no-cache --update chromium && rm -rf /var/cache/apk/* | |
RUN adduser -D -u 1001 deploy | |
USER 1001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@impl Plug | |
# naively copied version from Appsignal.Plug | |
def call(%{path_info: ["webhook", "my-webhook"]} = conn, opts) do | |
Appsignal.instrument(fn span -> | |
_ = Appsignal.Span.set_namespace(span, "http_request") | |
try do | |
MyUnderlyingPlug.call(conn, opts) | |
catch | |
kind, reason -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: typesense | |
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: nodes | |
namespace: typesense |
OlderNewer