Skip to content

Commit

Permalink
DAT-17387



 DevOps :: Issues with RPM packages (#191)
Browse files Browse the repository at this point in the history
* chore(package.yml): remove outdated steps for uploading deb package and updating Homebrew formula and SDKMAN version
feat(package.yml): add step to ensure s3 bucket public access is enabled by setting bucket policy to allow public read access

* refactor(package.yml): remove upload_windows_package and upload_ansible_role jobs as they are no longer needed in the workflow

* fix(package.yml): replace put-bucket-policy with put-bucket-acl to set public read access on s3 bucket for improved security and access control

* fix(package.yml): remove unnecessary grant-read permission for public access to S3 bucket to improve security and simplify configuration

* fix(package.yml): update s3 bucket ACL command to grant read access to all users instead of setting it as public-read for better security and control

* feat(workflows): add steps to upload deb package to S3 bucket and update Homebrew formula for liquibase
feat(workflows): add steps to update SDKMAN version for liquibase and upload release to S3
feat(workflows): add step to ensure public access is enabled for S3 bucket
feat(workflows): add steps to upload Windows package and Ansible role for liquibase

---------

Co-authored-by: Jake Newton <jake@liquibase.com>
  • Loading branch information
jandroav and jnewton03 authored Apr 3, 2024
1 parent f273fc5 commit 0bc25ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ jobs:
https://vendors.sdkman.io/announce/struct
echo "Announced liquibase-$VERSION.zip to SDKMAN"
- name: Ensure s3 bucket public access is enabled
run: |
aws s3api put-bucket-acl --bucket repo.liquibase.com --grant-read uri=http://acs.amazonaws.com/groups/global/AllUsers
upload_windows_package:
uses: liquibase/liquibase-chocolatey/.github/workflows/deploy-package.yml@master
secrets: inherit
Expand Down

0 comments on commit 0bc25ec

Please sign in to comment.