PenguinCloud / WaddleBot-Marketplace

Modules and components of the marketplace
Other
0 stars 0 forks source link

Archer dev #39

Open ArcherPTG opened 1 month ago

ArcherPTG commented 1 month ago

pull archer dev into main,

Summary by Sourcery

Integrate a new build process using Ansible tasks to manage user creation, directory setup, and file copying. Update the entrypoint.yml to include new tasks with tags for build, run, configure, execute, and test. Correct a typo in the environment variable lookup in vars/base.yml.

Build:

CI:

Chores:

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request implements changes to the Ansible playbook structure, adds a new build job, and makes minor adjustments to the entrypoint script and variable definitions. The changes focus on improving the deployment process and adding more granular control through tags.

File-Level Changes

Change Details Files
Added a new build job for user and directory setup
  • Create a new user and add them to the root group
  • Create a directory for the application if it doesn't exist
  • Copy files from the manager directory to the web2py applications directory
jobs/build/build.yml
Updated entrypoint playbook structure and added tags
  • Included the new build job in the playbook
  • Added tags for each major task (build, run, configure, exec, test)
  • Improved organization of tasks with more specific includes
entrypoint.yml
Minor updates to entrypoint script and variable definitions
  • Changed '/bin/sleep infinity' to 'sleep infinity' in the entrypoint script
  • Fixed a typo in the environment variable lookup for APP_TITLE
entrypoint.sh
vars/base.yml

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.