Remove repo download
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
8f8fc45cd4
commit
7238e2c96e
2 changed files with 4 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue