Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 5.5 KB

ci.md

File metadata and controls

74 lines (56 loc) · 5.5 KB

CI

ci.yml

Check the validity of the infrastructure and application code without modifying the environments.

graph LR
    START((Start))
    check_infra[[Check Infra]]
    plan_infra[[Plan Infra]]
    check_app[[Check App]]
    END((End))
    START --> check_infra
    START --> check_app
    check_infra --> plan_infra
    check_app --> END
    plan_infra --> END
    click check_app callback "#plan-infra"
    click check_infra callback "#check-infra"
    click plan_infra callback "#check-app"
Loading

Inputs

name type description default
check-infra boolean Check and plan the infrastructure true
check-app boolean Check the application code true
rust-version string The Rust version to use. ${{ vars.RUST_VERSION }}
rust-formatting-version string The Rust version to use to check formatting. stable
rust-formatting-udeps string The Rust version to use to run udeps. nightly
rust-protoc boolean Install protoc before running the rust tests. true
rust-sccache boolean Install sccache before running the rust tests. true
version string The version to use in the Terraform iamge_version variable. latest
infra-stages json string The environments to check with Terraform plan.
[
 {
  name: "staging",
  url: "https://staging.${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health"
 },
 {
  name: "prod",
  url: "https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health"
 }
]

Outputs

--

Permissions

Permission Level
contents read
id-token write

Repository Variables

  • RUST_VERSION (only if inputs.rust-version is not set)

  • SUBDOMAIN_NAME (only if inputs.infra-stages is not overridden)

  • AWS_REGION

  • AWS_ROLE_MONITORING

  • GRAFANA_WORKSPACE_NAME

  • OFAC_BLOCKED_COUNTRIES

  • RUN_GROUP

  • TF_DIRECTORY

Repository Secrets

  • GITHUB_TOKEN
  • TF_API_TOKEN

Dependencies

Used By

--