Skip to content

Commit

Permalink
Remove license file decryption
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhung committed Jul 2, 2024
1 parent b43cd17 commit 96b1ac6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,12 @@ jobs:
--header "cookie: ACCESSTOKEN=${ACCESSTOKEN}; REFRESHTOKEN=${REFRESHTOKEN}")
echo "::add-mask::$JFROG_ACCESS_TOKEN"
echo "JFROG_ACCESS_TOKEN=$JFROG_ACCESS_TOKEN" >> "$GITHUB_ENV"
- name: Download and decrypt license file
- name: Download license file
env:
JFROG_LICENSE_BUCKET_URL: ${{ secrets.JFROG_LICENSE_BUCKET_URL }}
JFROG_LICENSE_BUCKET_KEY: ${{ secrets.JFROG_LICENSE_BUCKET_KEY }}
run: |
curl -s -o ${{ runner.temp }}/encrypted_license.json $JFROG_LICENSE_BUCKET_URL
openssl aes-256-cbc -d -md md5 -in ${{ runner.temp }}/encrypted_license.json -pass pass:$JFROG_LICENSE_BUCKET_KEY > ${{ runner.temp }}/decrypted_license.json
echo "JFROG_LICENSE_BUCKET_FILE=${{ runner.temp }}/decrypted_license.json" >> "$GITHUB_ENV"
echo "JFROG_LICENSE_BUCKET_FILE=${{ runner.temp }}/encrypted_license.json" >> "$GITHUB_ENV"
- name: Execute acceptance tests
env:
JFROG_LICENSE_BUCKET_URL: ${{ secrets.JFROG_LICENSE_BUCKET_URL }}
Expand Down

0 comments on commit 96b1ac6

Please sign in to comment.