Questions tagged [aws-codeartifact]
132 questions
1
vote
1 answer
Maven Failed to deploy artifacts: Could not find artifact - CodeArtifact
I'm trying to deploy an artifact on AWS CodeArtifact using CodeBuild. I was able to do the same with other artifacts in the same repository, but on this one I have the following error message:
[ERROR] Failed to execute goal…

G. Colaianni
- 77
- 8
1
vote
0 answers
Twine uploads too many packages to AWS CodeArtifact
When uploading my HelloWorld package to AWS CodeArtifact, it also uploads all required packages to CodeArtifact. This causes several Gigabytes to be uploaded, which will cost me more money than it should. It also clutters the repository with…

Sam Mylle
- 11
- 1
1
vote
1 answer
AWS Codeartifact and docker build cache
Im trying to use AWS Codeartifact as my pip repo.
every time I build a docker image I need to login or generate token,
I tried this: How to use AWS CodeArtifact *within* A Dockerfile in AWSCodeBuild
but in each build the pip.conf file is different…

Nadav
- 31
- 3
1
vote
1 answer
How to have a public AWS CodeArtifact Repository policy
Is it possible to make a repository inside AWS CodeArtifact public without any credentials required?
I tried this repository policy, but didn't work:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
…

Mohsen Mirhoseini
- 8,454
- 5
- 34
- 59
1
vote
2 answers
Deleting CodeArtifact versions from CLI
My package name has a special character (@) in it which is throwing a validation error when attempting to delete the version(s) using the command line interface. Is there any way around this without changing the package name? I've tried delimiting…

Andy Hoffman
- 18,436
- 4
- 42
- 61
1
vote
1 answer
AWS CodeArtifact HTTP API returns: Invalid name for a Snapshot
I'm trying to publish a file to AWS CodeArtifact using curl, as described here: AWS: Publishing with curl
This works until I try to publish a SNAPSHOT version, e.g. add -SHAPSHOT to the end of the version. When I append -SNAPSHOT to the version I…

Zdenik
- 406
- 1
- 4
- 13
1
vote
2 answers
Grant AWS CodeBuild access to AWS CodeArtifact
I have to AWS accounts - A and B.
Account A has a CodeArtifact repository set up. In account A I have created a role with TrustRelationship to account B. I have attached policies with codeartifact:* and sts:GetServiceBearerToken to this role's…

RVid
- 1,207
- 1
- 14
- 31
1
vote
1 answer
Using AWS CodeArtifact CredentialProvider with .Net Core - Could not execute because the specified command or file was not found
Last week I followed this AWS tutorial to set up my dotnet CLI to use AWS Code Artifact with the Credential Provider. This can be done with 3 commands:
dotnet tool install -g AWS.CodeArtifact.NuGet.CredentialProvider
dotnet codeartifact-creds…

devklick
- 2,000
- 3
- 30
- 47
1
vote
0 answers
Pip resolution with extra-index
I am trying to set up a build pipeline with two python package repositories.
I'd like pip to first search in the public PyPi repos, and only if it cannot find a package or a version there, it should look it up in another private repo (AWS…

Johannes Jasper
- 861
- 1
- 7
- 30
1
vote
1 answer
Increase in maven Build time in AWS CodeBuild after integrating with AWS CodeArtifact for maven repo
When the AWS CodeBuild was loading the maven repos from https://repo1.maven.org/maven2 the build time would be around 60secs (this is the time to download the Jars, build and run the tests).
But after updating the maven repos to load from AWS…

MohamedSanaulla
- 6,112
- 5
- 28
- 45
1
vote
1 answer
How does build.sbt resolve to AWS codeartifact repo?
We recently moved to AWS codeartifact repo. We have few SBT based projects that need to get built.
Here are my global settings:
~/.sbt/0.13/plugins/credentials.sbt
credentials += Credentials(Path.userHome / ".sbt" /…

wxh
- 619
- 7
- 20
1
vote
1 answer
Bash: making a variable available everywhere (not a question on EXPORT)
I have a bit of an odd problem that I need an elegant solution to. I am using a build tool that requires logging in to a service (AWS CodeArtifact specifically). When I login via CLI, it sets an environment variable - let's call this TOKEN. When I…

ragebiswas
- 3,818
- 9
- 38
- 39
1
vote
1 answer
supply token in npmrc during build
I am using AWS Codeartifact within my project as a private NPM registry (and proxy of course) and i have some issues getting the perfect workflow. Right now i have a .sh script which generates me the Auth token for AWS and generates a project local…

Logemann
- 2,767
- 33
- 53
1
vote
0 answers
AWS CodeArtifact - Ip whitelist instead of authentication?
I would like to setup CodeArtifact to be easy to use for Windows developers. Problem is it appears CodeArtifact relies on an token that expires, and I can't get rid of this token. I would prefer to not use an authentication token and instead…

Apeiron
- 694
- 7
- 13
0
votes
1 answer
AWS CodeArtifact Repo failed to respond when connecting with Maven
I am using Maven 3.6.3 try try connect to a CodeArtifact repository.
Based on this AWS documentation. I do the following:
Set up the password:
export CODEARTIFACT_AUTH_TOKEN=`aws codeartifact get-authorization-token --domain my-domain --domain-owner…

Richard
- 8,193
- 28
- 107
- 228