-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1669 from snyk/remove-aur-publish
chore: remove aur publish
- Loading branch information
Showing
1 changed file
with
0 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,40 +164,6 @@ jobs: | |
root: ~/project | ||
paths: | ||
- bin/driftctl_SHA256SUMS | ||
publish-aur: | ||
environment: | ||
AUR_GIT: ssh://[email protected]/driftctl-bin.git | ||
docker: | ||
- image: cimg/base:2020.01 | ||
steps: | ||
- checkout | ||
- attach_workspace: | ||
at: ~/project | ||
# Add ssh private key to allow access to AUR repository | ||
# This key is bound to user snyk on AUR | ||
- add_ssh_keys: | ||
fingerprints: | ||
- "75:59:a3:1d:81:9a:0f:44:98:4c:78:33:db:e5:51:6a" | ||
- run: | ||
name: Bump package version | ||
command: | | ||
mkdir -p ~/.ssh | ||
echo 'aur.archlinux.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuBKrPzbawxA/k2g6NcyV5jmqwJ2s+zpgZGZ7tpLIcN' >> ~/.ssh/known_hosts | ||
# Ensure ssh is properly configured | ||
ssh [email protected] list-repos | ||
git clone "${AUR_GIT}" driftctl-bin | ||
cd driftctl-bin | ||
git config user.name "snyk" | ||
git config user.email [email protected] | ||
cp ~/project/bin/driftctl_SHA256SUMS . | ||
./bump.sh "${CIRCLE_TAG}" | ||
echo "--- PKGBUILD ---" | ||
cat PKGBUILD | ||
echo "--- .SRCINFO ---" | ||
cat .SRCINFO | ||
git add PKGBUILD .SRCINFO | ||
git commit -m "Updated to version ${CIRCLE_TAG}" | ||
git push | ||
release-docs: | ||
docker: | ||
- image: cimg/base:2020.01 | ||
|
@@ -371,14 +337,6 @@ workflows: | |
only: /^v.*/ | ||
branches: | ||
ignore: /.*/ | ||
- publish-aur: | ||
requires: | ||
- release | ||
filters: | ||
tags: | ||
only: /^v.*/ | ||
branches: | ||
ignore: /.*/ | ||
- update-lambda: | ||
context: driftctl-version-lambda | ||
requires: | ||
|