Skip to content

Commit

Permalink
simplified ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundwires committed Jul 20, 2020
1 parent 7798af1 commit 85becb7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 26 deletions.
37 changes: 13 additions & 24 deletions .github/workflows/quality-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,24 @@ jobs:
name: Lint shell scripts
run: find . -name "*.sh" | xargs shellcheck --external-sources

validate-docs:
lint:
name: Validate markdown & yaml files
runs-on: ubuntu-latest
strategy:
matrix:
lint-command:
- npm run lint:yaml
- npm run lint:md:relative-urls
- npm run lint:md
- npm run lint:md:consistency
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Setup node
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '14.x'
-
name: Setup node
uses: actions/setup-node@v1
with:
node-version: 14.x
-
name: Install dependencies
- name: Install dependencies
run: npm ci
-
name: Lint yaml
run: npm run lint:yaml
-
name: 'Validate md: Relative URLs'
run: npm run lint:md:relative-urls
-
name: 'Validate md: Enforce standards'
run: npm run lint:md
-
name: 'Validate md: Ensure consistency'
run: npm run lint:md:consistency
- name: Lint
run: ${{ matrix.lint-command }}
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ You can also use following scripts individually (check script files for usage, p

## Some example usages

[privacy.sexy](https://github.com/undergroundwires/privacy.sexy#gitops-cicd-to-aws) | [safe-email](https://github.com/undergroundwires/safe-email#gitops) | [ez-consent](https://github.com/undergroundwires/ez-consent#gitops) | [aws-static-site-with-cd](https://github.com/undergroundwires/aws-static-site-with-cd)
- [bump-everywhere](https://github.com/undergroundwires/bump-everywhere#gitops): Repository itself is automatically versioned & released using its own action
- [privacy.sexy](https://github.com/undergroundwires/privacy.sexy#gitops-cicd-to-aws)
- [safe-email](https://github.com/undergroundwires/safe-email#gitops)
- [ez-consent](https://github.com/undergroundwires/ez-consent#gitops)
- [aws-static-site-with-cd](https://github.com/undergroundwires/aws-static-site-with-cd)

## GitOps

Expand Down
2 changes: 1 addition & 1 deletion img/gitops.drawio

Large diffs are not rendered by default.

Binary file modified img/gitops.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 85becb7

Please sign in to comment.