Created
January 7, 2021 21:21
-
-
Save albertywu/19e7dd04c73887dade98f71f3886a592 to your computer and use it in GitHub Desktop.
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
| #!/bin/bash | |
| # reproduces this failure locally: https://buildkite.com/uber/web-code-runner/builds/3499312#49338f5b-c4e8-4d4b-8b60-c2961f22657f | |
| function docker_login_ecr { | |
| local DOCKER_CREDENTIAL_UBER_REGISTRY="027047743804.dkr.ecr.us-west-1.amazonaws.com" | |
| aws --region=us-west-1 ecr get-login-password | docker login --username AWS --password-stdin $DOCKER_CREDENTIAL_UBER_REGISTRY | |
| } | |
| docker_login_ecr # so we can pull down image from buildkite | |
| # run docker image from failing build locally | |
| docker run it --rm 027047743804.dkr.ecr.us-west-1.amazonaws.com/web-code:802eba48-6a6e-41ea-9122-ebde99817da2 bash | |
| # in docker prompt, run the following commands: | |
| export PACKAGE="src/platform/gss/fractal" | |
| tools/ci/scripts/test-types/lint.sh |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
note: this fixed it:
Looks like we have stale idl code on master that may need to be regenerated?