int128 / int128/gradle-ssh-plugin

Checking remote host state for smoke test

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Groovy
Stars
325
Forks
59
Avg merge
5h 29m
Merged PRs (30d)
6

Description

Providing a feature for checking remote host state such as file existence or value of settings. This helps precondition test before deploying and smoke test after deploying.

task deployPrecondition(type: SshTask) {
  session(remotes.server) {
    assert remoteFile('/etc/httpd/conf/httpd.conf').exist
  }
}
task smokeTest(type: SshTask) {
  session(remotes.server) {
    assert port(80).listen
    assert process('httpd').running
  }
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SshTask session handling and the Gradle/Groovy DSL entry points used by the examples. Define how remoteFile, port, and process checks should report state for deployment preconditions and post-deployment smoke tests, then verify the requested checks against remote hosts.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
devops, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.