Questions tagged [aws-codeartifact]
132 questions
0
votes
1 answer
fetch set plugin from CodeArtifacts using sbt fail
I used this explanation how to publish and fetch SBT libraries from CodeArtifacts:
Publish artifact to AWS CodeArtifact with sbt
my issue is that one of the things I want to publish is not a library, its a plugin, so I used the same explanation,…

JohnBigs
- 2,691
- 3
- 31
- 61
0
votes
0 answers
Download an asset file from code artifact
Problem Statement-
I am writing a simple program that downloads a JAR file from AWS code-artifact to a designated path (on my local system).
I am using code artifact client from JavaScript SDK v3. Here is the link to the package.
Approach-
Followed…
0
votes
0 answers
How to install package uploaded to CodeArtifact?
I just created an npm package (using typescript and node18 ) and uploaded it to Code Artifact.
As stated in this document I used the following command to install the package
aws codeartifact login --tool npm --repository repoName --domain domainName…

Karim Fayed
- 55
- 10
0
votes
0 answers
How to configure npm with AWS SAM and CodeArtifact?
We use CodeArtifact as our npm registry for both Python and javascript code. I am able to pass the CodeArtifact token in the sam build command using the PIP_INDEX_URL environment variable. However, I have not been able to figure out how to do the…

RichardM
- 185
- 11
0
votes
0 answers
CI/CD setup using Gradle, Git, CodeArtifact & CodeBuild with multiple libraries
At present we have more than 10 libraries consumed and deployed across 4 services. There are some libraries like common utilities and protos which are consumed by other libraries, so there is a dependency hierarchy in the libraries as well, all the…
0
votes
0 answers
getting Software caused connection abort: socket write error when try to upload third party jar into codeartifact
Trying to upload the third party jar into AWS Code Artifact
mvn deploy:deploy-file -DgroupId=xxx -DartifactId=xxx -Dversion=1.0 -Dfile=C:\maven383\lib\xxx.jar -Dpackaging=jar -DrepositoryId=xxx-java …

Soorya2121
- 11
- 2
0
votes
0 answers
Private package in CodeArtifact: Repository not found
I have a private package in a CodeArtifact repository npm cannot find it. I have tried installing from a package.json and copying and pasting the suggested command from AWS dashboard; npm install @myproject/authentication@1.0.93.
I am getting an…

goldfishalpha
- 447
- 2
- 4
- 13
0
votes
0 answers
How to publish npm package to AWS CodeArtifacts via Github Actions?
There is a lot of pitfalls in such a simple task. I just want to trigger build on commits to master, then just publish result in CodeArtifacts repository.
First problem I can see is that AWS only allows you to have 12-hour credentials. So, you can't…

Andrew
- 701
- 1
- 8
- 19
0
votes
0 answers
CodeArtifact list-package-version-dependencies blank for Python packages
This AWS command returns that my pypi package has no dependencies.
aws codeartifact list-package-version-dependencies \
--domain ***\
--repo *** \
--format pypi \
--package report-manager \
--package-version 0.4.1
resulting…

davegravy
- 888
- 11
- 28
0
votes
0 answers
poetry authentication hook to get source token
Poetry can be used with AWS CodeArtifact however it requires a command to be run in advance of any operation that communicates with the package source, for example poetry install or poetry update.
poetry config http-basic.myartifactrepo aws $(aws…

davegravy
- 888
- 11
- 28
0
votes
0 answers
Convert a linux script to powershell script
I need to translate this script (linux):
# get endpoint
endpoint = aws codeartifact get-repository-endpoint --domain my_domain --domain-owner 111122223333 --repository my_repo --format npm
# set a scoped registry
npm config set registry endpoint…

Nemus
- 1,322
- 2
- 23
- 47
0
votes
2 answers
How to distribute an android library package privately?
I have developed an android library this is for private usage. I want to distribute it to one of my client and also I have to prevent redistribution of the package by the client. I can use AWS codeArtifact or jfrog for private distribution but here…

Saurabh Badola
- 148
- 7
0
votes
1 answer
How to search for Amazon SageMaker Models using Tags?
When I open the Model details in the Amazon SageMaker console,(Amazon SageMaker->Inference->Models), the details clearly show Tags that have been added to the model during it's creation.
Tag details in the Amazon SageMaker Models console
But the…

humbly_yours
- 1
- 1
0
votes
2 answers
Get authorization CodeArtifact token from Bitbucket Pipelines run
I'm using Bitbucket as a source control service and I'm interested to start using its pipelines capability to build and deploy my app. I'm using AWS CodeArtifact to host my Java artifacts.
The thing I'm struggle with is how to authenticate AWS…

Shvalb
- 1,835
- 2
- 30
- 60
0
votes
0 answers
AWS CodeArtifact, NuGet and Linux
wondering if anybody has worked with AWS CodeArtifact on Linux.
Per Method #1, I've installed the CodeArtifact Credential provider per this page, which seemed to have no effect.
Per Method #2, I installed NuGet (and Mono) and tried using the aws…

Jason
- 941
- 1
- 10
- 19