Debugging missed packages in repo

This commit is contained in:
Alexander Olofsson 2023-03-01 18:49:23 +01:00
parent 9c4a13a29a
commit 9b4f59f5ed
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -31,8 +31,8 @@ pages:
- sleep 10
- mkdir -p public
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
- curl --user gitlab-ci-token:$CI_JOB_TOKEN "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/index.yaml" -o public/index.yaml
- sed -e "s|- charts/|- ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/charts/|" -i public/index.yaml
- curl --user gitlab-ci-token:$CI_JOB_TOKEN "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/index.yaml" -o repo-index.yaml
- sed -e "s|- charts/|- ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/charts/|" repo-index.yaml > ./public/index.yaml
artifacts:
paths:
- public