artifactory

Docker push fail to push to Artifactory docker registry behind traefik reverse proxy ( with “Upload failed: EOF”)

本小妞迷上赌 提交于 2021-02-19 08:18:05
问题 We are using Artifactory pro 5.10.4 version. We are migating from a simple installation on a VM and apache reverse proxy for docker registries to docker swarm cluster. We are convinced that Traefik is the best alternative when it comes to dynamic configuration. We are facing some docker push with traefik. Our compose file for Artifactory service is: version: '3.7' services: artifactory: image: docker.bintray.io/jfrog/artifactory-pro:5.10.4 environment: EXTRA_JAVA_OPTIONS : > '-Xms2g' '-Xmx2g'

Artifactory AQL Get Specific Properties

眉间皱痕 提交于 2021-02-19 04:26:05
问题 I'm using Artifactory 3.5. My artifacts have custom properties. I want to be able to query for all artifacts that have that property and I want the result to show the property and its value. I know I can use: items.find(...).include("property.*") However, this returns all properties for the item matching the find criteria. How can I display only the specific property that I want? 回答1: The include element allows you to include only specific properties in the results For example, the following

How to do bash variable replacement with curl artifactory AQL query [duplicate]

纵饮孤独 提交于 2021-02-11 13:46:53
问题 This question already has answers here : How do I use variables in single quoted strings? (7 answers) Closed last year . I would like to be able to use bash variable replacement in the following query to Artifactory Query Language api (AQL) In the shell, the command works like this: $ curl -H 'content-type: text/plain' -H 'X-Api-Key: APIKEYGOESHERE' -X POST https://foo.jfrog.io/foo/api/search/aql -d ' > items.find({ > "repo":{"$eq":"foo-docker"}, > "path":{"$match":"REPONAME/*"} > }) > .sort(

How to do bash variable replacement with curl artifactory AQL query [duplicate]

南笙酒味 提交于 2021-02-11 13:44:27
问题 This question already has answers here : How do I use variables in single quoted strings? (7 answers) Closed last year . I would like to be able to use bash variable replacement in the following query to Artifactory Query Language api (AQL) In the shell, the command works like this: $ curl -H 'content-type: text/plain' -H 'X-Api-Key: APIKEYGOESHERE' -X POST https://foo.jfrog.io/foo/api/search/aql -d ' > items.find({ > "repo":{"$eq":"foo-docker"}, > "path":{"$match":"REPONAME/*"} > }) > .sort(

How to configure Artifactory as a cache for Chocolatey? I get 404 when installing packages

天涯浪子 提交于 2021-02-10 17:57:00
问题 Artifactory version: 6.16.2 rev 61602900, Artifactory Pro license. In Artifactory, I have added a REMOTE repository, with the following settings: Package Type: NuGet Repository Key: chocolatey-remote URL: https://chocolatey.org/ Test: Successfully connected to server Repository Layout: nuget-default Include Patterns: **/* NuGet Download Context Path: api/v2/package NuGet Feed Context Path: api/v2 NuGet v3 Feed URL: (empty) Screenshots: On the host, I have configured Chocolatey sources: choco

How to configure Artifactory as a cache for Chocolatey? I get 404 when installing packages

浪尽此生 提交于 2021-02-10 17:54:34
问题 Artifactory version: 6.16.2 rev 61602900, Artifactory Pro license. In Artifactory, I have added a REMOTE repository, with the following settings: Package Type: NuGet Repository Key: chocolatey-remote URL: https://chocolatey.org/ Test: Successfully connected to server Repository Layout: nuget-default Include Patterns: **/* NuGet Download Context Path: api/v2/package NuGet Feed Context Path: api/v2 NuGet v3 Feed URL: (empty) Screenshots: On the host, I have configured Chocolatey sources: choco

Artifactory 7.x behind nginx issue

浪子不回头ぞ 提交于 2021-02-10 17:50:54
问题 I have a fresh installation of Artifactory 7.2.1(docker based)which is working fine, but I want to access it via nginx proxy, and that's not working. my artifactory is running under http://192.168.211.207:8082/ Custom base URL is set to: http://192.168.211.207:8081/artifactory ->which is redirecting me to http://192.168.211.207:8082/ Now, I have an nginx server which is running on the same server, also via docker. When I try to access: http://192.168.211.207 -> redirects me to https://192.168

Artifactory 7.x behind nginx issue

走远了吗. 提交于 2021-02-10 17:47:06
问题 I have a fresh installation of Artifactory 7.2.1(docker based)which is working fine, but I want to access it via nginx proxy, and that's not working. my artifactory is running under http://192.168.211.207:8082/ Custom base URL is set to: http://192.168.211.207:8081/artifactory ->which is redirecting me to http://192.168.211.207:8082/ Now, I have an nginx server which is running on the same server, also via docker. When I try to access: http://192.168.211.207 -> redirects me to https://192.168

Should Git be used to store continuous integration builds?

感情迁移 提交于 2021-02-07 12:19:44
问题 In an environment where multiple builds (release candidate packages) can be created daily but only one a month gets promoted to production, I think storing every build in Git would be wasteful but there should be a short term location that the last few builds are published. I'm currently publishing these to a shared directory. I have see IVY used for this sort of binary publishing in the past. Git seems like overkill as it would bloat due to it's model of never delete anything. Is there an

Should Git be used to store continuous integration builds?

删除回忆录丶 提交于 2021-02-07 12:15:34
问题 In an environment where multiple builds (release candidate packages) can be created daily but only one a month gets promoted to production, I think storing every build in Git would be wasteful but there should be a short term location that the last few builds are published. I'm currently publishing these to a shared directory. I have see IVY used for this sort of binary publishing in the past. Git seems like overkill as it would bloat due to it's model of never delete anything. Is there an