bard 1.7.4 → 1.8.0.beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +5 -0
  3. data/ARCHITECTURE.md +957 -0
  4. data/CUSTOM_STRATEGIES.md +701 -0
  5. data/MIGRATION_GUIDE.md +513 -0
  6. data/README.md +489 -0
  7. data/Rakefile +3 -1
  8. data/cucumber.yml +1 -0
  9. data/features/data.feature +12 -0
  10. data/features/deploy.feature +13 -0
  11. data/features/run.feature +13 -0
  12. data/features/step_definitions/bard_steps.rb +39 -0
  13. data/features/support/env.rb +5 -39
  14. data/features/support/test_server.rb +215 -0
  15. data/lib/bard/cli/deploy.rb +12 -3
  16. data/lib/bard/command.rb +45 -10
  17. data/lib/bard/config.rb +120 -43
  18. data/lib/bard/copy.rb +64 -14
  19. data/lib/bard/default_config.rb +35 -0
  20. data/lib/bard/deploy_strategy/github_pages.rb +135 -0
  21. data/lib/bard/deploy_strategy/ssh.rb +19 -0
  22. data/lib/bard/deploy_strategy.rb +60 -0
  23. data/lib/bard/deprecation.rb +19 -0
  24. data/lib/bard/server.rb +39 -1
  25. data/lib/bard/ssh_server.rb +100 -0
  26. data/lib/bard/target.rb +282 -0
  27. data/lib/bard/version.rb +1 -1
  28. data/spec/acceptance/docker/Dockerfile +2 -1
  29. data/spec/bard/capability_spec.rb +97 -0
  30. data/spec/bard/command_spec.rb +1 -1
  31. data/spec/bard/config_spec.rb +1 -1
  32. data/spec/bard/copy_spec.rb +3 -3
  33. data/spec/bard/deploy_strategy/ssh_spec.rb +67 -0
  34. data/spec/bard/deploy_strategy_spec.rb +107 -0
  35. data/spec/bard/deprecation_spec.rb +281 -0
  36. data/spec/bard/dynamic_dsl_spec.rb +126 -0
  37. data/spec/bard/ssh_server_spec.rb +169 -0
  38. data/spec/bard/target_spec.rb +239 -0
  39. metadata +38 -30
  40. data/features/bard_check.feature +0 -94
  41. data/features/bard_deploy.feature +0 -18
  42. data/features/bard_pull.feature +0 -112
  43. data/features/bard_push.feature +0 -112
  44. data/features/podman_testcontainers.feature +0 -16
  45. data/features/step_definitions/check_steps.rb +0 -47
  46. data/features/step_definitions/git_steps.rb +0 -73
  47. data/features/step_definitions/global_steps.rb +0 -56
  48. data/features/step_definitions/podman_steps.rb +0 -23
  49. data/features/step_definitions/rails_steps.rb +0 -44
  50. data/features/step_definitions/submodule_steps.rb +0 -110
  51. data/features/support/grit_ext.rb +0 -13
  52. data/features/support/io.rb +0 -32
  53. data/features/support/podman.rb +0 -153
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1e8b7a7dc083d479b5322405ddbfc58ecab56967433c5f2a543c7637a86ce28
4
- data.tar.gz: 3c09e62579e85fa615e2005ed6f5cc2d0068576eba46255791523a211b7c0387
3
+ metadata.gz: 115799c766998efdc0b5dba97ed4f3135fe77a2d30b67248db1a52f28915b126
4
+ data.tar.gz: 6eb18a8ddc93efffd1de4da94270766f50883bb2bb2cee91cf50c02cb624ca9d
5
5
  SHA512:
6
- metadata.gz: 2ab06301b535cfe5eb37bb3da892fc6e8a66cb46c6c346bfb0d8279bfd37bba9c495f3c9fc9ffda8663881b7fe333186820cc4c57d36f086c524191dc953da14
7
- data.tar.gz: 0f55ad3b8d94900354005227d73b86ba3ab25847eb7d88242f89e28fafbd281256755a802a7ca10092bd1571040335a3a4d8de845406af94b4d5a10edd1e9e16
6
+ metadata.gz: e03e8f2f53ee3349355b4f14ae6ed238b2067350ff1159a46127738a59a5e08afcdcef2635d46536d9441cb001d4823ff074d1e39a03c291581f664c7b56eb05
7
+ data.tar.gz: 67d2d63759fc54b8e68216f3149ca5f936111f9fad72acec45423d396027568778e1c4817240d4c0613869ed8832306f2bbff8fa2cfc7359f357920dac0a6ef5
@@ -34,5 +34,10 @@ jobs:
34
34
  done
35
35
  echo "DOCKER_HOST=tcp://127.0.0.1:8080" >> $GITHUB_ENV
36
36
 
37
+ - name: Build test container image
38
+ run: |
39
+ sudo podman pull ubuntu:22.04
40
+ sudo podman build -t bard-test-server -f spec/acceptance/docker/Dockerfile spec/acceptance/docker
41
+
37
42
  - name: Run tests
38
43
  run: bundle exec rake