I hereby claim:
- I am abatilo on github.
- I am abatilo (https://keybase.io/abatilo) on keybase.
- I have a public key ASBj4Bn3TezS05hHpJOC9GEht3EPE2hH8UCfVnGGI-YacQo
To claim this, I am signing this object:
| name: Print rate limits | |
| on: | |
| push: | |
| jobs: | |
| rate-limit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Generate token | |
| id: generate_token |
| DROP TABLE IF EXISTS sent; | |
| DROP TABLE IF EXISTS message; | |
| DROP TABLE IF EXISTS recipient; | |
| CREATE TABLE IF NOT EXISTS recipient ( | |
| id serial primary key | |
| ); | |
| CREATE TABLE IF NOT EXISTS message ( | |
| id serial primary key |
I hereby claim:
To claim this, I am signing this object:
| time="2020-10-13T12:08:28Z" level=info msg="Started syncing rollout at (2020-10-13 12:08:28.976596472 +0000 UTC m=+0.127703923)" namespace=default rollout=nginx | |
| time="2020-10-13T12:08:28Z" level=warning msg="Assuming 7b54fb9677 for new replicaset pod hash" namespace=default rollout=nginx | |
| time="2020-10-13T12:08:28Z" level=info msg="Patched: {\"status\":{\"conditions\":[{\"lastTransitionTime\":\"2020-10-13T12:08:28Z\",\"lastUpdateTime\":\"2020-10-13T12:08:28Z\",\"message\":\"Rollout \\\"nginx\\\" is progressing.\",\"reason\":\"ReplicaSetUpdated\",\"status\":\"True\",\"type\":\"Progressing\"},{\"lastTransitionTime\":\"2020-10-13T12:08:28Z\",\"lastUpdateTime\":\"2020-10-13T12:08:28Z\",\"message\":\"Rollout does not have minimum availability\",\"reason\":\"AvailableReason\",\"status\":\"False\",\"type\":\"Available\"}],\"currentPodHash\":\"7b54fb9677\",\"currentStepHash\":\"8cd479c8f\",\"currentStepIndex\":0,\"observedGeneration\":\"58c975674b\",\"selector\":\"app=nginx\"}}" namespace=default rollout=nginx | |
| time="2 |
| time="2020-10-13T12:08:28Z" level=info msg="Creating event broadcaster" | |
| time="2020-10-13T12:08:28Z" level=info msg="Setting up event handlers" | |
| time="2020-10-13T12:08:28Z" level=info msg="Setting up experiments event handlers" | |
| time="2020-10-13T12:08:28Z" level=info msg="Setting up analysis event handlers" | |
| time="2020-10-13T12:08:28Z" level=info msg="Waiting for controller's informer caches to sync" | |
| time="2020-10-13T12:08:28Z" level=info msg="Starting Controllers" | |
| time="2020-10-13T12:08:28Z" level=info msg="Started controller" | |
| time="2020-10-13T12:08:28Z" level=info msg="Starting Metric Server at 0.0.0.0:8090" | |
| time="2020-10-13T12:08:28Z" level=info msg="Starting Rollout workers" | |
| time="2020-10-13T12:08:28Z" level=info msg="Starting Experiment workers" |
| --- | |
| apiVersion: argoproj.io/v1alpha1 | |
| kind: AnalysisTemplate | |
| metadata: | |
| name: integrationtests | |
| spec: | |
| metrics: | |
| - name: integrationtests | |
| failureLimit: 0 | |
| provider: |
| FROM golang:1.14-alpine as backend | |
| # Precompile standard library | |
| RUN CGO_ENABLED=0 GOOS=linux go install -v -a std | |
| # Install dependencies | |
| WORKDIR /go/src/cache-failure | |
| COPY ./go.mod ./go.sum ./ | |
| SHELL ["/bin/ash", "-o", "pipefail", "-c"] | |
| RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get -v |
| readinessProbe: | |
| exec: | |
| command: ["/root/grpc_health_probe", "-addr=:6666"] | |
| initialDelaySeconds: 1 | |
| livenessProbe: | |
| exec: | |
| command: ["/root/grpc_health_probe", "-addr=:6666"] | |
| initialDelaySeconds: 2 | |
| imagePullPolicy: IfNotPresent |
| resource "aws_vpc_endpoint" "s3" { | |
| vpc_id = "${aws_vpc.main.id}" | |
| service_name = "com.amazonaws.us-west-2.s3" | |
| tags = { | |
| Environment = "test" | |
| } | |
| } |
| import random | |
| from datetime import datetime, timezone | |
| BASE62 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
| def encode(num, alphabet=BASE62): | |
| """Encode a positive number in Base X | |
| Arguments: | |
| - `num`: The number to encode | |
| - `alphabet`: The alphabet to use for encoding |