Skip to content

Commit

Permalink
Merge pull request #1669 from snyk/remove-aur-publish
Browse files Browse the repository at this point in the history
chore: remove aur publish
  • Loading branch information
agatakrajewska authored Jun 6, 2023
2 parents 714d779 + d3b7459 commit 31ceb52
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 31ceb52

Please sign in to comment.