diff --git a/.github/workflows/documentation.yml b/.github/workflows/publish.yml similarity index 57% rename from .github/workflows/documentation.yml rename to .github/workflows/publish.yml index c0b7ce8..925287d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/publish.yml @@ -1,34 +1,12 @@ # https://docusaurus.io/docs/deployment#deploying-to-github-pages -name: documentation +name: publish on: - pull_request: - branches: [main] push: - branches: [main] + branches: [ main ] jobs: - checks: - if: github.event_name != 'push' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: '14.x' - - name: Test Build - working-directory: foomo - run: | - if [ -e yarn.lock ]; then - yarn install --frozen-lockfile - elif [ -e package-lock.json ]; then - npm ci - else - npm i - fi - npm run build - gh-release: - if: github.event_name != 'pull_request' + publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..f94d2f7 --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,26 @@ +# https://docusaurus.io/docs/deployment#deploying-to-github-pages +name: validate + +on: + pull_request: + branches: [main] + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '14.x' + - name: Test Build + working-directory: foomo + run: | + if [ -e yarn.lock ]; then + yarn install --frozen-lockfile + elif [ -e package-lock.json ]; then + npm ci + else + npm i + fi + npm run build \ No newline at end of file diff --git a/foomo/docs/devops/kubernetes/spot-instance-node-pools.md b/foomo/docs/devops/kubernetes/spot-instance-node-pools.md index e81ad97..88735ec 100644 --- a/foomo/docs/devops/kubernetes/spot-instance-node-pools.md +++ b/foomo/docs/devops/kubernetes/spot-instance-node-pools.md @@ -9,6 +9,13 @@ Setting up spot instance node pools is a great way to save money on stateless ap ## Setting Up Pod Toleration +### Pod Toleration + +### DaemonSet Toleration + +Don't forget to set the daemonset tolerations + + ## Setting Up Pod Disruption Budgets Setting up a pod disruption budget is important due to erratic node shutdown possibility. @@ -33,4 +40,3 @@ For more details check out [here](https://kubernetes.io/docs/tasks/run-applicati ## Setting Up Termination Handling ## Setting Up K8s Cron Shutdown Cleanup - diff --git a/CNAME b/foomo/static/CNAME similarity index 100% rename from CNAME rename to foomo/static/CNAME