Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build in Circle #5

Open
lucymhdavies opened this issue May 28, 2021 · 3 comments · Fixed by #7
Open

Can't build in Circle #5

lucymhdavies opened this issue May 28, 2021 · 3 comments · Fixed by #7
Assignees

Comments

@lucymhdavies
Copy link
Collaborator

lucymhdavies commented May 28, 2021

https://app.circleci.com/pipelines/github/lucydavinhart/api.lmhd.me/36/workflows/ee6f4029-34cf-4964-8e86-9ff4d9e0c320/jobs/69

#!/bin/bash -eo pipefail
go get -v -t -d ./...
github.com/aws/aws-lambda-go (download)
github.com/rodaine/hclencoder (download)
github.com/hashicorp/hcl (download)
package github.com/hashicorp/hcl/hcl/ast: cannot find package "github.com/hashicorp/hcl/hcl/ast" in any of:
	/usr/local/go/src/github.com/hashicorp/hcl/hcl/ast (from $GOROOT)
	/go/src/github.com/hashicorp/hcl/hcl/ast (from $GOPATH)
package github.com/hashicorp/hcl/hcl/printer: cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of:
	/usr/local/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
	/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)
package github.com/hashicorp/hcl/hcl/token: cannot find package "github.com/hashicorp/hcl/hcl/token" in any of:
	/usr/local/go/src/github.com/hashicorp/hcl/hcl/token (from $GOROOT)
	/go/src/github.com/hashicorp/hcl/hcl/token (from $GOPATH)
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)

Exited with code exit status 1
CircleCI received exit code 1
@lucymhdavies lucymhdavies self-assigned this May 28, 2021
lucymhdavies added a commit that referenced this issue Jun 12, 2021
@lucymhdavies
Copy link
Collaborator Author

It does build... but thanks to the new tests, it can no longer be tested in Circle.

========================================
Testing Auth
========================================

./issue-cert.sh: line 9: vault: command not found
unable to load certificate
139887503323200:error:0906D06C:PEM routines:PEM_read_bio:no start line:../crypto/pem/pem_lib.c:686:Expecting: TRUSTED CERTIFICATE
curl: (22) The requested URL returned error: 401 
Makefile:32: recipe for target 'test-dev' failed
make: *** [test-dev] Error 22

Need to allow Circle to generate certs / disable authenticated tests in Circle

@lucymhdavies lucymhdavies reopened this Jun 12, 2021
@lucymhdavies
Copy link
Collaborator Author

@lucymhdavies
Copy link
Collaborator Author

Migration to GitHub Actions is working okay, with creds provided by Vault.
Thanks Vault GitHub JWT Auth!

Still using the Makefile version for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant