/circleci-with-t

CircleCI without code but only config.yml

circleci-with-t

CircleCI without code but only config.yml. This project test the web pages return 200 HTTP code.

No code! Only config.yml!

These commands that comes true:

Test command

$ rj https://example.com/ | jq .code | t 200

Example of config.yml

version: 2.1
jobs:
  test:
    parameters:
      url:
        type: string
    docker:
      - image: cimg/go:1.17.3
    steps:
      - run:
          command: go install github.com/yusukebe/rj/cmd/rj@latest
      - run:
          command: go install github.com/yusukebe/t/cmd/t@latest
      - run:
          name: Test << parameters.url >>
          command: rj <<parameters.url>> | jq '.code' | t 200
workflows:
  test_workflow:
    jobs:
      - test:
          url: https://example.com/
          url: https://yusukebe.com/

Screenshots

Screenshots

Author

Yusuke Wada https://github.com/yusukebe

License

MIT