Skip to content

docs: add images depicting the architecture #39

docs: add images depicting the architecture

docs: add images depicting the architecture #39

Workflow file for this run

name: CLI Pipeline
on:
push:
branches-ignore:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
HUSKY: 0
RUST_TOOLCHAIN: stable
TOOLCHAIN_PROFILE: minimal
jobs:
build:
name: 'Rust Build'
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12.19-alpine3.20
ports:
- 5432:5432
env:
POSTGRES_DB: demo
POSTGRES_USER: demo
POSTGRES_PASSWORD: demo_password
vault:
image: hashicorp/vault:1.17.1
ports:
- 8200:8200
options: --cap-add=IPC_LOCK
env:
VAULT_DEV_ROOT_TOKEN_ID: 'root-token'
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install stable Toolchain
uses: actions-rs/toolchain@v1
with:
profile: ${{ env.TOOLCHAIN_PROFILE }}
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true
components: rustfmt, clippy
- name: Use Cache
uses: Swatinem/rust-cache@v2
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
# args: -- -D warnings
- name: Unit and Integration Tests
uses: actions-rs/cargo@v1
env:
RUST_TEST_THREADS: 1
VAULT_TOKEN: 'root-token'
with:
command: test
- name: Build Binary
uses: actions-rs/cargo@v1
with:
command: build
args: --release --verbose
- name: Archive Artifacts
uses: actions/upload-artifact@v4
with:
name: cli
path: target/release/propeller
check:
name: 'Resources Validation'
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.15.0
cache: 'npm'
- name: Install node.js packages
run: npm ci
- name: Check Format of Resources
run: npm run prettier:format