Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed shell check stuff * Change to stable CLI for PHP * Removed old code * Remove GHA templates * Removed templates from repo * Removed unused variable * WIP of Spin new refactor * Working init * Simplified code * Fix default var * Added cleanup * Fixed reference * Put quotes on variable * Added check for default branch * Improve variable setting * Centralized download function * Working init * Fix spelling error * Working new and init * Remove debug * chore: Update existing file warning message formatting * Fix issue with 'new.sh' script not removing repository arguments * Remove templates * Fix echo bug * chore: Update SPIN_USER_ID and SPIN_GROUP_ID assignment * feat: Add 'deploy' action to spin script * Centralized function * Centralized funciton * Set to deploy * Organized functions * feat: Add 'mkpasswd' command to spin script * feat: Add Docker Compose file support to deploy.sh and provision.sh * chore: Update ansible-galaxy collection to serversideup.spin * feat: Update ansible-galaxy collection to serversideup.spin * Working SSH upload * Working deploy * Zero downtime deployments working * Reset download * Remove templates * chore: Refactor deploy.sh to improve cleanup_registry function * feat: Add support for dynamic Docker Compose files in deploy.sh * chore: Add template usage instructions to init.sh * chore: Update provision.sh flag for upgrade to use uppercase 'U' * chore: Remove unused variable in deploy.sh * chore: Update init.sh to include template usage instructions * chore: Update ansible-galaxy collection installation command * chore: Update SPIN_ANSIBLE_IMAGE to version 2.16-alpine-3.19 * chore: Update provision command to support Ubuntu 22.04+ servers * chore: Update server requirements to include Ubuntu 22.04+ support * chore: Update provision command to support Ubuntu 22.04+ servers and add upgrade flag * chore: Update provision command to support Ubuntu 22.04+ servers and add upgrade flag * chore: Update provision command to support Ubuntu 22.04+ servers and add upgrade flag * Fixed reference * chore: Add new command reference for "spin deploy" * Ensure new line always exists * chore: Update .gitignore and .dockerignore to exclude .vault-password file * Clean up and refactor * chore: Set SPIN_ACTION to "new" when calling install.sh on a template * Set comment * chore: Refactor run_ansible function to use an array for additional docker arguments * chore: Update ansible-galaxy collection installation command to use quotes for collection name * Added vault password support * Refactor get_ansible_variable function to use separate function for ansible vault arguments * Refactor deploy and provision scripts to use check_galaxy_pull function * Refactor deploy and provision scripts to use check_galaxy_pull function * Refactor deploy.sh to use ansible vault arguments in get_hosts_from_ansible function * chore: Refactor SSH tunnel creation in deploy.sh * Rely on the template to set SPIN_PROJECT_DIRECTORY * Some suggestions for the deploy command (#82) * Some suggestions - Read the .env file if there is one. This would make it easier to set certain variables on a per project basis. - Make reading the configuration files dynamic. This way you don't need a .infrastructure folder if you haven't defined any config key. Only caveat is that it will use the file name to generate the environment variable. So ``` configs: traefik: name: 'traefik-${SPIN_TRAEFIK_CONFIG_MD5_HASH}.yml' file: ./.infrastructure/conf/traefik/prod/traefik.yml ``` Would become: ``` configs: traefik: name: 'traefik-${SPIN_TRAEFIK_YML_CONFIG_MD5_HASH}.yml' file: ./.infrastructure/conf/traefik/prod/traefik.yml ``` - Remove the requirement for a Docker image. This would make it easier to run specific docker stacks with only redis or traefik * Set environment variables to SPIN_MD5_HASH_{{config-filename}} * Quote variable --------- Co-authored-by: Jay Rogers <[email protected]> * Quoted variables * Fix comment * Added docs how to create your own Spin template * Added image * Updated docs about official laravel template * docs: Remove deprecated guide on using mkpasswd to generate user passwords * chore: Update server preparation documentation * Update Spin description to emphasize consistent configuration across environments * docs: Update Spin description and deployment options * Remove version * Bump to =8.3 in docs * docs: Update Spin deployment options and descriptions * docs: Update Spin deployment options and descriptions * Changed Git Clones from HTTPS to SSH * chore: Update default registry port in deploy script * Updated docs * docs: Update deployment documentation for using different .env files per environment * chore: Load environment variables from .env file for the target environment * Added `spin ps` * chore: Add post-install script for executing additional commands after template installation * chore: Update temporary template source directory variable names * chore: Build and push Docker images for each Dockerfile in the project directory * Updated function to line_in_file * Fixed link * Ignore spin files * chore: Update Docker image name to lowercase for consistency * Added error checking * chore: Refactor deploy.sh script for improved readability and maintainability * Remove debug * chore: Set SPIN_APP_DOMAIN based on APP_URL in deploy script * Remove debug * Refactor deploy.sh script for improved readability and maintainability * chore: Update run.sh script to disable automations and S6 logging * Refactor sed_inplace function to escape forward slashes in the replacement string * Added further action * Improved DX in output * chore: Update installation guide to use "Prerequisites" instead of "Pre-requisites" * Updated hero * chore: Update MarketingServers.vue to improve infrastructure control and ownership * Exit if no dockerfiles found * chore: Fix missing newline at end of file in version.sh * Updated GitHub Actions to be accurate * chore: Refactor line_in_file function to use 'action' instead of 'mode' * Refactor line_in_file function to use 'action' instead of 'mode' * Refactor line_in_file function to use 'action' instead of 'mode' * Removed demo until we get an updated one * Removed site previews via GitHub Actions * Changed instruction --------- Co-authored-by: Nick Retel <[email protected]>
- Loading branch information