Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey All - I'M Running Into An Issue With Git Authentication. I'Ve Setup The Aws_Autoscaler.Py With A Corresponding Aws_Autoscaler.Yaml File. I Pass In The Git Password (Actually A Gitlab Token) And The Git Username In The Yaml File. The Autoscaler Does

Hey All -

I'm running into an issue with git authentication.

I've setup the aws_autoscaler.py with a corresponding aws_autoscaler.yaml file. I pass in the git password (actually a gitlab token) and the git username in the yaml file. The autoscaler does seem to work as it does correctly spawn up an EC2 instance and installs the Dockerfile on the instance, etc. However I get the following error:

fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

1) Make sure you pushed the requested commit: ...
2) Check if remote-worker has valid credentials [see worker configuration file]

I don't think the issue is 1. because the commit works. My gitlab token is assigned full maintainer rights, so I don't think that's the issue as well.

Something interesting though is that when I look at the logs of the job that I try to run, the agent isn't receiving the certain configuration info like git user and git password, etc as expected from the aws_autoscaler.yaml. For example in the logs I see

agent.git_user =
sdk.aws.s3.key = 
sdk.aws.s3.region =

Which I do set in the aws_autoscaler.yaml file? Not really sure what's going on but any recommendations would be really helpful! Thanks!

  
  
Posted one year ago
Votes Newest

Answers


Do I actually have to ssh into the instance it spawns and setup git manually?

  
  
Posted one year ago
814 Views
1 Answer
one year ago
one year ago
Tags
Similar posts