Skip to content

Commit

Permalink
removing gpg steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishal Soni committed May 22, 2024
1 parent ae1f0d6 commit deb46a6
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 12 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
- name: Build packages
shell: cmd
env:
GPGPASSWD: ${{ secrets.GPGPASSWD }}
run: C:\msys64\usr\bin\bash --login -c "$(cygpath ${GITHUB_WORKSPACE})/ci-build.sh"

- name: Create lock ID
Expand All @@ -70,10 +68,8 @@ jobs:

- name: Download package database
shell: cmd
env:
GPGPASSWD: ${{ secrets.GPGPASSWD }}
run: |
ridk exec bash -c "source 'ci-library.sh'; deploy_enabled && cd artifacts && create_pacman_repository 'test_tag'"
ridk exec bash -c "source 'ci-library.sh'; cd artifacts && create_pacman_repository 'test_tag'"
- name: Backup pacman database as artifacts
uses: actions/upload-artifact@v3
Expand Down
10 changes: 6 additions & 4 deletions ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@
# Configure
cd "$(dirname "$0")"
source 'ci-library.sh'
deploy_enabled && mkdir artifacts
# deploy_enabled && mkdir artifacts
mkdir artifacts
git_config user.email 'jayesh.s@iitgn.ac.in'
git_config user.name 'Vishal1309'
git remote add upstream 'https://github.com/Vishal1309/rubyinstaller2-packages'
git fetch --quiet upstream

# Decrypt and import private sigature key
message 'pls help'
message "${GPGPASSWD}"
deploy_enabled && (gpg --batch --passphrase "${GPGPASSWD}" --decrypt appveyor-key.asc.asc | gpg --import)
# message "${GPGPASSWD}"
# deploy_enabled && (gpg --batch --passphrase "${GPGPASSWD}" --decrypt appveyor-key.asc.asc | gpg --import)

# Detect
if [ -z "${APPVEYOR_SCHEDULED_BUILD}" ]
Expand All @@ -42,7 +43,8 @@ for package in "${packages[@]}"; do
execute "Building binary for arch ${MINGW_ARCH}" makepkg-mingw --noconfirm --skippgpcheck --nocheck --syncdeps --rmdeps --cleanbuild --sign
# execute 'Installing' yes:pacman --upgrade *.pkg.tar.zst
# execute 'Uninstalling' yes:pacman --remove --recursive --cascade --noconfirm "${package/mingw-w64/mingw-w64-i686}" "${package/mingw-w64/mingw-w64-x86_64}" "${package/mingw-w64/mingw-w64-ucrt-x86_64}"
deploy_enabled && mv "${package}"/*.pkg.tar.zst "${package}"/*.pkg.tar.zst.sig artifacts
# deploy_enabled && mv "${package}"/*.pkg.tar.zst "${package}"/*.pkg.tar.zst.sig artifacts
mv "${package}"/*.pkg.tar.zst "${package}"/*.pkg.tar.zst.sig artifacts
# deploy_enabled && drop_old_bintray_versions "${package}"
else
execute "skip unsupported package arch ${MINGW_ARCH}"
Expand Down
6 changes: 3 additions & 3 deletions ci-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ add_ci_ri2_repo() {
pacman --noconfirm --sync --needed pactoys

# Trust public signature key
pacman-key --init
gpg --export DBB0BF741AAD3643 | pacman-key --add -
pacman-key --lsign-key DBB0BF741AAD3643
# pacman-key --init
# gpg --export DBB0BF741AAD3643 | pacman-key --add -
# pacman-key --lsign-key DBB0BF741AAD3643

repman add test_tag 'https://github.com/Vishal1309/rubyinstaller2-packages/releases/download/test_tag'

Expand Down
107 changes: 107 additions & 0 deletions temp.asc.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
-----BEGIN PGP PRIVATE KEY BLOCK-----

lQdGBGZOHGkBEAC/uxx33GGZW5fX8bpVtK6tUx7N+/E05ZNqUVANwEVxnHWkjSXz
KgkLaWdLjw7s0H+bkQq0Ok7npBOvmR1hUctt/moguZefruijMIg6fS+mQHoALmHP
edJDoFXA4s+WOI7gskyZMJn9APN2NmMfLbjCrWiaxLuQEa+HK6a4b1nQV6h8OSuG
T0koe5SuZ6+6jvDXNGCPgP+9z67d2ySDNo/bBC04lzwJnSmXLEpuhjMt0gchLJPo
6164MgGkncVl5O+izr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