Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed to PHP 8.2 #28

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Changed to PHP 8.2 #28

merged 1 commit into from
Jun 7, 2023

Conversation

jaydrogers
Copy link
Member

No description provided.

@jaydrogers jaydrogers merged commit 05deec0 into release/2.0 Jun 7, 2023
jaydrogers added a commit that referenced this pull request Jan 4, 2024
* Initial commit for 2.0 release

* Initial commit of the docs site

* Ignore docs on NPM

* Ignore unnecessary files on packaging

* Added CloudFlare pages

* Test deployment

* Remove CF Pages Actions

* Added node version

* Updated OG data

* Added social image

* Added macOS installation instructions

* Added Windows instructions

* Added linux instructions

* Original documents for composer and yarn

* Changed to PHP 8.2 (#28)

* Fixed function reference

* Added command reference

* Added simple templates

* Updated templates

* Added "spin stop"

* Clarified error

* Fixed upgrade call

* Fixed spin stop and spin kill logic

* Removed quotes to prevent from command not running correctly

* Clarified Linux install notes

* Clarity adjustment

* Restructured files

* Set permissions

* Fixed actions reference

* Moved variable

* Updated "spin new" and added "spin latest"

* Added improved CI workflow

* Changed to Discord

* Added help

* Improved update logic

* Improved logic

* Renamed cache files

* Added prompt to check for updates

* Improved interval function

* Fixed save_current_time_to_cache_file function

* Lots of improvements and sanity checks

* Prevent commands for checking for a compose file

* Organized function

* Added installation detection

* Improved updating

* Added example configuration

* Organized templates

* Moved template files

* Renamed tempalte

* Updated install script

* Fixed compose check logic

* Removed escape

* Support pull cache for multiple projects

* Improved pulling experience

* Added Spin Pull command

* Updated description

* Remove compose check for spin kill

* Added prune command

* Fix cache creation bug

* Set cleaner debugger

* Added docker compose yml default

* Fixed development logic

* Remove orphans on run

* Fixed logic

* Improved error handling

* Removed shift from exec

* Support multiple envs

* Added SPIN_USER_ID and SPIN_GROUP_ID

* Added debugging

* Renamed to compose file

* Added spin ENV

* Added user permissions

* Remove user id

* Fix auto-update and auto-pull functionality

* Updated header

* Clear spin cache

* Update title in stop.md file

* Update PHP version to beta-8.3-cli

* Refactor prune.sh script to improve cache clearing

* Update PHP tag to beta-cli

* Prevent "new" from checking for a docker compose file

* Set LOG_LEVEL=off

* Remove duplicate LOG_LEVEL environment variable

* Updated Windows documentation

* Update SPIN_HOME default value

* Update BRANCH variable in install.sh script

* Update Spin installation version in setup_spin function

* Refactor get_latest_release function to get_install_version

* Fix default value for BRANCH variable

* Update Spin clone message to include version

* Enable verbose output in install.sh script

* Fix installation script and return branch version

* Fix typo in install.sh

* Add contributing documentation and installation instructions for Spin

* Update Spin installation and upgrade scripts with sparse checkout

* Add new images and update installation instructions for Spin

* Update Spin installation script URLs

* Refactor Spin installation script to improve performance

* Remove update from Docker check

* Update Spin clone command in install.sh

* Remove whitespace

* Remove templates

* Add init action and check for Docker running

This commit adds a new `init` action to the `spin` script, which initializes the spin environment. Additionally, a new function `check_if_docker_is_running` is added to check if Docker is running before using `spin`. This ensures that Docker is properly set up before executing any commands.

* Refactor project creation commands

* Refactor function name to install_spin_package_to_project()

* Updated Documentation Site to Nuxt 3.8 (#38)

* Updated package to 3.8 for Nuxt

* Nuxt Upgrade, OG Images, ready for testing

* Update .env.example file with BASE_PATH configuration

* Add workflows for site deployment

---------

Co-authored-by: Jay Rogers <[email protected]>

* Update environment names for marketing site workflows

* Test CI

* Test CI

* Added test

* Removed test

* Updated code panel

* Added templates

* Working spin new and spin init

* Added spin vault

* Update default images in spin script

* Updated variables to be set

* Remove docker name

* Remove container name

* Fix password encryption in .spin.example.yml

* Fix typo in encryption prompt

* Refactor spin script to skip compose check for certain commands

* Refactor init.sh script and add .spin.inventory.ini file

* Add common server configuration and user templates

* Refactor template copying and add to .gitignore

* Add .gitignore line in init.sh and copy common files

* Fix path in docker run command

* Organized common template

* Refactor vault.sh script to handle local and Docker environments

* Refactor vault.sh script and add show_help function

* Add provision command to spin script

* Fix encryption file name in init.sh

* Update .gitignore file to use correct name for vault password file

* Add spin-inventory.ini file with server configurations

* Add provision script and run_ansible function

This commit adds a new provision script and a run_ansible function to the codebase. The provision script installs the required Ansible roles and runs the playbook. The run_ansible function sets up the necessary configurations for running Ansible commands in a Docker container.

* Update SPIN_ANSIBLE_IMAGE to use Ubuntu instead of Alpine

* Add .gitignore file to spin collections

* Update vault_run_command in vault.sh

* Add 'vault' command to the list of allowed commands

* Updated inventory template

* Refactor encryption check and provision script

* Add default config and inventory files from GitHub

* Remove spin inventory and configuration files

* Update SPIN_ANSIBLE_IMAGE to version 2.15-alpine-3.18

* Update runs-on to ubuntu-22.04 in workflows

* Add base64 encoding and decoding functionality

* Working templates

* Remove unnecessary environment variable from run.sh

* Fix permission issues in development and set "www-data" user to the same UID as the developer's user

* Add PHP action and default users

* Update Docker user and group settings

* Refactor file copying and encryption process

* Add support for linux/amd64 platform in Docker run command

* Add .dockerignore.lineinfile template file

* Refactored init script

* Fix grep command in init.sh to suppress error output

* Add .infrastructure to .dockerignore

* Fix permission issues in development by setting the "www-data" user to the same user and group that is running docker

* Update user and group IDs in Docker commands

* Add support for GitHub Action templates and update Docker image references

* Remove unnecessary comment in install_spin_package_to_project function

* Encrypt files with Ansible Vault and ensure ownership

* Add support for --version and -v options in spin script

* Fix Docker run command in init.sh

* Refactored main command

* Update Docker volume mount path in init.sh

* Add support for remote user argument in provision script

* Update Dockerfile to handle dynamic group ID

* Set to user mod

* Added docker-php-serversideup-set-id

* Update shell type in install and upgrade scripts

* Update SPIN_HOME path in install.sh

* Fix SPIN_HOME variable in install.sh

* Update install.sh script to use bash instead of sh

* Update shell environment output in install.sh

* Update index and installation documentation

* Update installation instructions for Spin on Windows and Linux

* Update PATH configuration for Spin installation

* Refactor template file path handling in init.sh

* Update installation instructions for Composer and NPM/Yarn

* Added YouTube video

* Removed "php" command

* Add options to run latest stable versions of PHP and Node

* Updated formatting of code reference

* Add base64 command reference to documentation

* Add spin vault command reference to documentation

* Update vault command documentation

* Update docker run command to include user ID and group ID

* Updated Readme

* Docs WIP

* Create new Landing page for Spin (#40)

* Create branch

* Landing page ready for testing

* Added video embed component

* Added titles

---------

Co-authored-by: Dan Pastori <[email protected]>

* Added full size image

* Responsive image component added

* Changed text color Ref #42

* Updated README

* Added code of conduct and changed images

* Updated OG image

* Fixed links

* Added GitHub link

* Added GIthub

* Added more detail

* Set proper versions for deployment

* Added detail how Spin works

* Added pre-requisites

* Added help menu

* Added requirements

* Added demo

* Added Dockerfile support

* Added common services

* Adde ini

* Added guides for generating assets

* Added server config documentation

* Moved order

* Mvoed

* Added GitHub Actions docs

* Added docs

* Fixed init

* Added existing project documentation

* Add contributing guidelines

* Added main content

* Update link to mkpasswd in .spin.yml

* Add latest for Spin

---------

Co-authored-by: Dan Pastori <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant