Remove repo download

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-10-19 19:00:23 +02:00
parent 8f8fc45cd4
commit 7238e2c96e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 4 additions and 12 deletions

View file

@ -24,10 +24,6 @@ vault read --field=key secret/jenkins/arch-signing >"${TMPDIR}/cfg/signing.asc"
step "Re-fetching Docker image"
docker pull luzifer/arch-repo-builder
step "Synchronizing the repository"
vault2env --key=secret/aws/private -- \
aws s3 sync --delete s3://arch-luzifer-io/repo/x86_64/ "${REPO_DIR}/"
step "Building AUR package"
docker run --rm -ti \
-v "${TMPDIR}/src:/src" \
@ -37,5 +33,5 @@ docker run --rm -ti \
"https://aur.archlinux.org/${PACKAGE}.git"
step "Synchronizing repository changes"
vault2env --key=secret/aws/private -- \
aws s3 sync --delete --exclude '*.old*' --acl=public-read "${REPO_DIR}/" s3://arch-luzifer-io/repo/x86_64/
cd "${REPO_DIR}"
make upload

View file

@ -24,10 +24,6 @@ vault read --field=key secret/jenkins/arch-signing >"${TMPDIR}/cfg/signing.asc"
step "Re-fetching Docker image"
docker pull luzifer/arch-repo-builder
step "Synchronizing the repository"
vault2env --key=secret/aws/private -- \
aws s3 sync --delete s3://arch-luzifer-io/repo/x86_64/ "${REPO_DIR}/"
step "Building git URL"
docker run --rm -ti \
-v "${TMPDIR}/src:/src" \
@ -37,5 +33,5 @@ docker run --rm -ti \
"${URL}"
step "Synchronizing repository changes"
vault2env --key=secret/aws/private -- \
aws s3 sync --delete --exclude '*.old*' --acl=public-read "${REPO_DIR}/" s3://arch-luzifer-io/repo/x86_64/
cd "${REPO_DIR}"
make upload