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

[pull] master from appleboy:master #2

Open
wants to merge 95 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 6, 2022

  1. docs: update format

    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    c7671d8 View commit details
    Browse the repository at this point in the history
  2. chore(CI): show secrets.

    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    ba1d4fb View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2022

  1. chore: Add global environments

    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    c732d38 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Enable Sponsor Button

    appleboy authored May 26, 2022
    Configuration menu
    Copy the full SHA
    ea5c23a View commit details
    Browse the repository at this point in the history

Commits on May 28, 2022

  1. Update FUNDING.yml

    appleboy authored May 28, 2022
    Configuration menu
    Copy the full SHA
    dce9d56 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. docs: problem with an EC2 instance

    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    ed1f3fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f82e23f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8d82ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e111622 View commit details
    Browse the repository at this point in the history
  5. docs: remove FAQ section

    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    f9010ff View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Update README.md (#188)

    fabdelgado authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    cc051b0 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. Configuration menu
    Copy the full SHA
    f23dd5c View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Configuration menu
    Copy the full SHA
    9a7da95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db9be1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0d5a3d0 View commit details
    Browse the repository at this point in the history
  4. docs: update to v0.1.6

    appleboy committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    4a03da8 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2023

  1. Configuration menu
    Copy the full SHA
    d91a1af View commit details
    Browse the repository at this point in the history
  2. docs: upgrade to v0.1.7

    Signed-off-by: Bo-Yi.Wu <[email protected]>
    appleboy committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    c1965dd View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Configuration menu
    Copy the full SHA
    7bf5851 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae2bb3c View commit details
    Browse the repository at this point in the history
  3. docs: update to v0.1.8 version

    Signed-off-by: Bo-Yi.Wu <[email protected]>
    appleboy committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    b601429 View commit details
    Browse the repository at this point in the history
  4. docs: add traditional chinese documentation.

    Signed-off-by: Bo-Yi.Wu <[email protected]>
    appleboy committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    4958308 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. docs: format

    appleboy committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    51b83ba View commit details
    Browse the repository at this point in the history
  2. docs(readme): update

    appleboy committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    e4a8810 View commit details
    Browse the repository at this point in the history
  3. docs: add chinese

    appleboy committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    6a1b59d View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. feat: refactor code for parallel execution on multiple hosts (#237)

    - Update Dockerfile to use a newer version of `drone-ssh`
    - Modify `ci.yml` to use `continue-on-error` instead of commenting out code
    
    fix #233
    appleboy authored Apr 4, 2023
    Configuration menu
    Copy the full SHA
    3cd1bcf View commit details
    Browse the repository at this point in the history
  2. chore: improve SSH key handling and documentation

    - Upgrade the ssh-action package from version `v0.1.8` to `v0.1.9`
    - Update the ssh-keygen command to use `-t ed25519 -a 200 -C` flag with an email address
    - Clarify how to pass environment variables as strings in the `env` object
    - Add a command to check the fingerprint of an ed25519 key in the README
    - Remove duplicate Host entry for `FooServer` in the Chinese version of the README
    
    Signed-off-by: Bo-Yi.Wu <[email protected]>
    appleboy committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    5f64c95 View commit details
    Browse the repository at this point in the history
  3. docs: add external resources to README file

    - Add a line linking to Golang and drone-ssh in the README file
    
    Signed-off-by: Bo-Yi.Wu <[email protected]>
    appleboy committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    6268c80 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. chore: update action configuration for greater flexibility (#240)

    - Update base image version from `1.6.12` to `1.6.13` in Dockerfile
    - Add `envs_format` input with flexible configuration in action.yml
    - Add a line to README.md pointing to action.yml for more information
    
    fix #213
    appleboy authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    334f925 View commit details
    Browse the repository at this point in the history
  2. chore: update appleboy/ssh-action to latest version

    - Update the version of `appleboy/ssh-action` from `v0.1.9` to `v0.1.10` in multiple files.
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    2b7de38 View commit details
    Browse the repository at this point in the history
  3. ci: improve CI workflow for private repository cloning (#241)

    - Add a new job for git clone and pull in CI
    - Clone a private repository in CI with secrets
    - Remove a directory in the cloned repository
    
    ref: #65
    appleboy authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    3130c7a View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. ci: add Docker login and pull job to CI pipeline (#244)

    - Add a new job named "testing04" for docker login and pull in ci.yml file.
    
    ref: #230
    appleboy authored Apr 18, 2023
    Configuration menu
    Copy the full SHA
    d87d276 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2023

  1. chore: improve action.yml clarity and update default values

    - Update descriptions for input fields in action.yml for better clarity
    - Change default values for SSH port and SSH proxy port to string format
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    f579d71 View commit details
    Browse the repository at this point in the history
  2. docs: improve readability and functionality across project

    - Reformat input parameters in README.md as a table for better readability
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    c7d850f View commit details
    Browse the repository at this point in the history
  3. chore: improve performance and test coverage across OSs

    - Update the Dockerfile to use drone-ssh version 1.6.14
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 4, 2023
    Configuration menu
    Copy the full SHA
    a01d3ea View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2023

  1. Configuration menu
    Copy the full SHA
    5ac43dd View commit details
    Browse the repository at this point in the history
  2. docs: "Introduce allenvs option for shell script execution"

    - Add a new option `allenvs` in the README to pass all environment variables to the shell script.
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    8d9094f View commit details
    Browse the repository at this point in the history
  3. docs: update appleboy/ssh-action version in README

    - Update the version of `appleboy/ssh-action` from `v0.1.10` to `v0.2.0` in multiple places in the README file.
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    55dabf8 View commit details
    Browse the repository at this point in the history
  4. docs: update appleboy/ssh-action version in README

    - Update the version of `appleboy/ssh-action` from `v0.2.0` to `v1.0.0` in multiple places in the README.
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    4330a1e View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. style: refine CI Workflow and Test Configurations

    - Remove empty lines from the GitHub Actions CI workflow file
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    b9f6bf6 View commit details
    Browse the repository at this point in the history
  2. chore(security): update drone-ssh to v1.7.1 (#286)

    - Update the base image in Dockerfile from `1.7.0` to `1.7.1`
    - Change the location of `entrypoint.sh` from root to `/bin/` directory in Dockerfile
    - Remove the explicit `chmod +x` command for `entrypoint.sh` in Dockerfile
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy authored Dec 26, 2023
    Configuration menu
    Copy the full SHA
    2344d97 View commit details
    Browse the repository at this point in the history
  3. chore: update appleboy/ssh-action to v1.0.1 in documentation

    - Update appleboy/ssh-action from v1.0.0 to v1.0.1 in README.md
    - Update appleboy/ssh-action from v0.1.10 to v1.0.1 in README.zh-tw.md
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    8f94919 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. chore: update base image to 1.7.2 in Dockerfile

    - Update the base image from `1.7.1` to `1.7.2` in the Dockerfile
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    1f3c338 View commit details
    Browse the repository at this point in the history
  2. chore: update SSH action version in README files

    - Update the version of the `appleboy/ssh-action` to `v1.0.2` in the `README.md` and `README.zh-tw.md` files.
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    2451745 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. fix(sudo): support request_pty to execute sudo command (#288)

    - Add a new job called `testing05` to the CI workflow
    - Update the base image in the Dockerfile from `1.7.2` to `1.7.3`
    - Update the action name, description, and author in the action.yml file
    - Update the descriptions for various inputs in the action.yml file
    - Add a new input `request_pty` with a description in the action.yml file
    - Update the `using` and `image` fields in the action.yml file
    - Update the `using` and `image` fields in the runs section of the action.yml file
    - Update the `icon` and `color` fields in the branding section of the action.yml file
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    d134a26 View commit details
    Browse the repository at this point in the history
  2. docs: update README.md and improve code documentation

    - Add a new entry for `request_pty` in the README.md file
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    029f5b4 View commit details
    Browse the repository at this point in the history
  3. chore: update SSH action version in README files

    - Update the version of the `appleboy/ssh-action` from `v1.0.2` to `v1.0.3` in the README.md file
    - Update the version of the `appleboy/ssh-action` from `v1.0.2` to `v1.0.3` in the README.zh-tw.md file
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    9b978f0 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Configuration menu
    Copy the full SHA
    8a779a5 View commit details
    Browse the repository at this point in the history
  2. ci: enhance GitHub Actions for IPv6 and flexibility (#303)

    * ci: enhance GitHub Actions for IPv6 and flexibility
    
    - Add a new CI job for testing IPv6 in GitHub Actions workflow
    - Update the Docker image version from `1.7.3` to `1.7.4`
    - Add a new `protocol` input parameter to the GitHub action with a default value of `tcp`
    - Change the GitHub action to use a composite run steps action instead of a Docker container
    - Update the `entrypoint.sh` script to use `bash` instead of `sh`, set stricter error handling, and add a function to detect client platform and architecture
    - Modify the `entrypoint.sh` script to download a specific version of `drone-ssh` based on the detected client info and execute it
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    
    * ci: refactor CI workflow and Docker setup
    
    - Remove IPv6 ping command from CI workflow
    - Uncomment Docker run configuration in action.yml
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    
    ---------
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    c781418 View commit details
    Browse the repository at this point in the history
  3. docs: improve documentation and CI robustness

    - Add backticks around `GITHUB_` and `INPUT_` in the README for clarity
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    fe44be0 View commit details
    Browse the repository at this point in the history
  4. chore(file): update target file

    Signed-off-by: appleboy <[email protected]>
    appleboy committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    1991c55 View commit details
    Browse the repository at this point in the history
  5. docs: improve README clarity and completeness

    - Update the README table formatting to include an additional column separator
    - Add documentation for the SSH protocol version option in the README table
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    dd0f09c View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. ci: enhance GitHub workflow for SSH actions and deployments

    - Add a new GitHub workflow file `version.yml`
    - Define environment variables `FOO` and `BAR`
    - Add multiple jobs for testing different scenarios
    - Include steps for SSH actions using different authentication methods
    - Implement scripts for executing remote SSH commands
    - Configure SSH key passphrase authentication
    - Add a job for using insecure cipher
    - Include a job for executing multiline SSH commands
    - Implement a job for deployment to multiple hosts with different ports
    - Add jobs for passing environment variables to scripts
    - Configure custom environment variables format
    - Implement a job for passing all ENV variables to a script
    - Include jobs for cloning private repositories and logging into container registries
    - Implement a job for switching users and testing IPv6 connectivity
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    d2d6858 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. ci: optimize GitHub Actions workflow configuration

    - Remove the `testing06` job related to testing IPv6 from the GitHub Actions workflow.
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    551964e View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. ci: refactor CI workflow and improve robustness (#320)

    * ci: refactor CI workflow and improve robustness
    
    - Update GitHub Actions checkout step from version 1 to version 4 in multiple jobs within the CI workflow
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    
    * docs: improve non-interactive shell command handling
    
    - Add a Q&A section to the README with information on resolving 'command not found' errors for non-interactive shells
    - Provide a solution involving editing `/etc/bash.bashrc` to ensure commands are added to the path in non-interactive shells
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    
    * docs: improve documentation and CI robustness
    
    - Update acknowledgment for the interactive shell solution in the README.md file
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    
    ---------
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy authored May 4, 2024
    Configuration menu
    Copy the full SHA
    f916346 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Configuration menu
    Copy the full SHA
    aabaf12 View commit details
    Browse the repository at this point in the history
  2. ci: implement GitHub Actions for remote SSH execution

    - Add example GitHub Actions workflow for executing remote SSH commands using password authentication
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 1, 2024
    Configuration menu
    Copy the full SHA
    c8594ae View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. ci: add SSH authentication setup for GitHub Actions

    - Add a GitHub Action workflow to set up an OpenSSH server using Docker
    - Add RSA private key for SSH authentication in test data
    - Add RSA public key for SSH authentication in test data
    - Add OpenSSH private key for SSH authentication in test data
    - Add OpenSSH public key for SSH authentication in test data
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    40aad53 View commit details
    Browse the repository at this point in the history
  2. ci: optimize and enhance SSH server workflow

    - Add a 5-second sleep command to the SSH server workflow
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    0b0e770 View commit details
    Browse the repository at this point in the history
  3. ci: enhance CI workflow with SSH job and optimizations

    - Remove an empty line in the jobs section
    - Reduce sleep duration from 5 seconds to 3 seconds
    - Add a new job `check-ssh-key` to the workflow
    - Add steps to create a new SSH server using Docker
    - Add steps to set environment variables for remote host and private key
    - Add a step to execute remote SSH commands using the `appleboy/ssh-action` GitHub Action
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    977b74a View commit details
    Browse the repository at this point in the history
  4. ci: refactor GitHub Actions key management

    - Add steps to set public and private keys in GitHub Actions environment
    - Replace inline public key assignment with environment variable reference
    - Remove redundant steps for setting private key in GitHub Actions environment
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    2eeab5b View commit details
    Browse the repository at this point in the history
  5. refactor: optimize CI pipeline for faster execution

    - Reduce sleep duration from 3 seconds to 2 seconds
    - Rename SSH job steps for clarity
    - Change port mapping from 2223 to 2222
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    da612c8 View commit details
    Browse the repository at this point in the history
  6. ci: enhance SSH job testing with varied key/password scenarios

    - Correct the name of the SSH job from "ssh by private" to "ssh by private key"
    - Add a job to test SSH with the correct key but wrong password
    - Add a job to test SSH with the correct password but wrong key
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    acd41e5 View commit details
    Browse the repository at this point in the history
  7. ci: enhance SSH action configuration and error handling

    - Add a step to stop the script if a command error occurs using `appleboy/[email protected]`
    - Configure SSH action with host, username, password, key, port, and other parameters
    - Add script to create a directory and list its contents
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    f05aefe View commit details
    Browse the repository at this point in the history
  8. ci: add GitHub Actions job for SSH key passphrase support

    - Add a new job `support-key-passphrase` to the GitHub Actions workflow
    - Add steps to the new job for checking out code, adding public and private keys to the environment, and creating a new SSH server
    - Add a step to the new job for running an SSH command with a passphrase
    - Add a new private SSH key file `id_passphrase` to the test data
    - Add a new public SSH key file `id_passphrase.pub` to the test data
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    e40b597 View commit details
    Browse the repository at this point in the history
  9. ci: enhance CI pipeline with SSH key handling improvements

    - Add a job to handle missing SSH key passphrase with `appleboy/ssh-action` and `continue-on-error` set to true
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    15b64dc View commit details
    Browse the repository at this point in the history
  10. ci: enhance CI/CD pipeline with SSH command execution

    - Add a step to execute multiline SSH commands using `appleboy/[email protected]`
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    a39b3cc View commit details
    Browse the repository at this point in the history
  11. ci: enhance deployment with multi-host SSH action

    - Add deployment step for multiple hosts with different ports using `appleboy/[email protected]`
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    815c574 View commit details
    Browse the repository at this point in the history
  12. ci: add multi-server support to CI workflow

    - Add a new job `multiple-server` to the GitHub Actions workflow
    - Configure the job to run on `ubuntu-latest`
    - Add steps to checkout code, add public and private keys to environment variables, and create two new SSH servers using Docker
    - Update the `host` configuration to include both new SSH servers
    - Remove the `port` configuration
    - Replace the command `ls -lah` with `whoami`
    - Remove the `use_insecure_cipher` configuration
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    378323e View commit details
    Browse the repository at this point in the history
  13. chore: optimize system configuration and API integration

    - Change port for REMOTE_HOST_02 from `2223` to `2222`
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    aa293c2 View commit details
    Browse the repository at this point in the history
  14. ci: add GitHub Actions job for ed25519 key support

    - Add a new job `support-ed25519-key` to the GitHub Actions workflow
    - Add steps to the new job for checking out code, adding public and private keys to the environment, and creating a new SSH server
    - Add steps to the new job for testing the `id_ed25519` key using `appleboy/ssh-action`
    - Add a new private SSH key file `testdata/.ssh/id_ed25519`
    - Add a new public SSH key file `testdata/.ssh/id_ed25519.pub`
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    fc1c1fc View commit details
    Browse the repository at this point in the history
  15. ci: add environment variable handling in GitHub Actions

    - Add a new job `testing-with-env` to the GitHub Actions workflow
    - Add steps to set up environment variables for public and private SSH keys
    - Add a step to create a new SSH server using Docker
    - Add a step to test the SSH connection using the `id_ed25519` key
    - Add a step to pass a single environment variable to the SSH action
    - Add a step to pass multiple environment variables to the SSH action
    - Add a step to use a custom format for environment variables
    - Add a step to pass all environment variables to the SSH action
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    f0e5a23 View commit details
    Browse the repository at this point in the history
  16. ci: refactor workflows and API integrations

    - Remove the execution of `test.sh` from the SSH server workflow
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    9c32aa6 View commit details
    Browse the repository at this point in the history
  17. ci: enable root access in CI pipeline

    - Change `SUDO_ACCESS` environment variable from `false` to `true`
    - Add a step to switch to root user using `appleboy/[email protected]` with specified parameters and commands
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    97f8d75 View commit details
    Browse the repository at this point in the history
  18. ci: switch to password authentication in GitHub workflow

    - Replace SSH key authentication with password authentication in GitHub workflow
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    5a8776f View commit details
    Browse the repository at this point in the history
  19. fix: switch to SSH key authentication for security

    - Remove hardcoded user password from environment variables
    - Replace hardcoded password with a private key for SSH authentication
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    0c7561b View commit details
    Browse the repository at this point in the history
  20. ci: refactor codebase and optimize performance

    - Delete the GitHub Actions workflow file `version.yml`
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    b6941ae View commit details
    Browse the repository at this point in the history
  21. ci: refactor SSH testing workflows and job configurations

    - Rename workflow from "remote ssh command" to "testing main branch"
    - Remove environment variables `FOO` and `BAR`
    - Rename job `testing01` to `default-user-name-password`
    - Rename step "checkout" to "Checkout code"
    - Replace step "correct password but wrong key" with "create new ssh server" using Docker
    - Update SSH connection details to use environment variables for host, username, password, and port
    - Add new job `check-ssh-key` with steps to add public key to environment and create a new SSH server
    - Add new job `support-key-passphrase` with steps to add public key to environment and create a new SSH server
    - Add new job `multiple-server` to create and manage multiple SSH servers
    - Add new job `support-ed25519-key` with steps to add public key to environment and create a new SSH server
    - Add new job `testing-with-env` with steps to add public key to environment and create a new SSH server
    - Remove jobs `testing02`, `testing03`, `testing04`, and `testing05`
    - Rename workflow in `ssh-server.yml` from "openssh-server" to "testing stable version"
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    43895f2 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. docs: improve documentation and testing configurations

    - Add note about the default value of `port` being `22` in the README
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    71d43ea View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. chore: update drone-ssh to version 1.7.7

    - Update drone-ssh Docker image version from `1.7.4` to `1.7.7`
    - Update DRONE_SSH_VERSION environment variable default from `1.7.4` to `1.7.7`
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    036cad7 View commit details
    Browse the repository at this point in the history
  2. chore(cli): enhance version handling and testing mechanisms

    - Add a command to print the version of the target before running the main command
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    8b60782 View commit details
    Browse the repository at this point in the history
  3. chore: improve CLI reliability and version visibility

    - Increase curl retry attempts from 3 to 5
    - Add echo statements to display CLI version before and after running the version command
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    5ade826 View commit details
    Browse the repository at this point in the history
  4. docs: improve cross-platform clipboard support for key copying

    - Add instructions to install `xclip` on Ubuntu before copying the private key
    - Replace `clip` command with platform-specific commands (`pbcopy` for macOS and `xclip` for Ubuntu) for copying the private key
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    28428a1 View commit details
    Browse the repository at this point in the history
  5. ci: rename the workflow files.

    - Rename `ci.yml` to `main.yml`
    - Rename `ssh-server.yml` to `stable.yml`
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    06fa62e View commit details
    Browse the repository at this point in the history
  6. chore(cli): enhance curl command with silent mode and redirects

    - Add silent mode and follow redirects to curl command in entrypoint.sh
    
    Signed-off-by: Bo-Yi Wu <[email protected]>
    appleboy committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    eaeb069 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. ci: enhance GitHub Actions with secret variable support (#330)

    * ci: enhance GitHub Actions with secret variable support
    
    - Add a step to pass secret variables in the shell within the GitHub Actions workflow
    
    Signed-off-by: appleboy <[email protected]>
    
    * ci: enhance CI workflow and API integration
    
    - Add `continue-on-error: true` to the GitHub Actions workflow
    
    Signed-off-by: appleboy <[email protected]>
    
    * ci: improve GitHub Actions workflow reliability
    
    - Add `continue-on-error: true` to the GitHub Actions workflow
    
    Signed-off-by: appleboy <[email protected]>
    
    ---------
    
    Signed-off-by: appleboy <[email protected]>
    appleboy authored Jul 20, 2024
    Configuration menu
    Copy the full SHA
    b4a07ca View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. docs(lang): README.zh-cn Document (#332)

    * feat: add README.zh-cn Document
    
    * feat: add zh-cn superlink
    astralwaveio authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    d732991 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. chore: remove Dockerfile and related configurations

    - Remove Dockerfile and its associated configurations
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    58164d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. ci: implement automated release workflow with GoReleaser

    - Add GitHub Actions workflow for GoReleaser
    - Configure GoReleaser to skip builds
    - Set up changelog groups for features, bug fixes, enhancements, refactors, build process updates, and documentation updates
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    25ce8cb View commit details
    Browse the repository at this point in the history
  2. chore: enhance CI/CD workflows and documentation formatting

    - Update `appleboy/ssh-action` from version `v1.0.3` to `v1.1.0` in multiple instances
    - Fix table formatting in `README.md`
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    bb32884 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. fix: typo in success message (#340)

    Reflects changes made by [drone-ssh#283](appleboy/drone-ssh#283)
    1ukastesar authored Oct 13, 2024
    Configuration menu
    Copy the full SHA
    3f14168 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. ci(script): enhance CI workflows and API integration

    - Change script execution to a multi-line bash script with error handling in GitHub workflow
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    2763143 View commit details
    Browse the repository at this point in the history
  2. ci(script): improve CI robustness and coverage across environments

    - Change single-line script to multi-line bash script with error handling in GitHub Actions workflow
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    8b84eae View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. feat(actions): enhance system performance and API integration

    - Add `proxy_protocol` input with description and default value "tcp"
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    703ffa3 View commit details
    Browse the repository at this point in the history
  2. docs(readme): enhance network protocol support and testing

    - Add `proxy_protocol` option to the README with possible values `tcp`, `tcp4`, `tcp6` and default `tcp`
    
    Signed-off-by: appleboy <[email protected]>
    appleboy committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    ab698e5 View commit details
    Browse the repository at this point in the history