diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml deleted file mode 100644 index ed3cd3a..0000000 --- a/.github/workflows/ansible-test.yml +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright (c) 2023 VEXXHOST, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -name: ansible-test - -on: - pull_request: - push: - branches: - - main - -jobs: - units: - runs-on: ubuntu-latest - steps: - - name: Checkout project - uses: actions/checkout@v3 - - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: "3.10" - cache: pip - - - name: Install dependencies - run: pip install -r requirements.txt - - - name: Install collection - run: ansible-galaxy collection install . - - - name: Run "ansible-test" - run: ansible-test units - working-directory: /home/runner/.ansible/collections/ansible_collections/vexxhost/containers - - - name: Publish Test Report - uses: mikepenz/action-junit-report@v3 - if: always() - with: - report_paths: /home/runner/.ansible/collections/ansible_collections/vexxhost/containers/tests/output/junit/*.xml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index f3c2b8f..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: docs - -on: - pull_request: - push: - branches: - - main - -permissions: - contents: write - pull-requests: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout project - uses: actions/checkout@v3 - - - name: Install Earthly - uses: earthly/actions-setup@v1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Build image - run: earthly --secret GITHUB_TOKEN +mkdocs-build - env: - EARTHLY_CI: true - EARTHLY_PUSH: "${{ github.event_name == 'push' }}" - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Earthfile b/Earthfile deleted file mode 100644 index 42ba86f..0000000 --- a/Earthfile +++ /dev/null @@ -1,20 +0,0 @@ -VERSION 0.0 - -mkdocs-image: - FROM squidfunk/mkdocs-material:9.1.15 - RUN pip install \ - mkdocs-literate-nav - SAVE IMAGE mkdocs - -mkdocs-serve: - LOCALLY - WITH DOCKER --load=+mkdocs-image - RUN docker run --rm -p 8000:8000 -v ${PWD}:/docs mkdocs - END - -mkdocs-build: - FROM +mkdocs-image - COPY . /docs - RUN mkdocs build - RUN --push --secret GITHUB_TOKEN git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/vexxhost/ansible-collection-containers.git - RUN --push mkdocs gh-deploy --force diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md deleted file mode 100644 index 76a70d9..0000000 --- a/docs/SUMMARY.md +++ /dev/null @@ -1,2 +0,0 @@ -- Operations Guide - - ops/*.md diff --git a/docs/ops/upgrades.md b/docs/ops/upgrades.md deleted file mode 100644 index 59d6710..0000000 --- a/docs/ops/upgrades.md +++ /dev/null @@ -1,83 +0,0 @@ -# Upgrades - -At the moment, the collection does not have a playbook to allow for automatic -detection of the current version and upgrade to the latest version. In the -meantime, upgrades need to be done manually. - -For the following steps, please make sure to select the "Playbooks" tab if you -used the playbooks directly and "Atmosphere" if you are using this collection -as part of the Atmosphere deployment. - -!!! warning - - All of the commands below include both `--check` and `--diff` flags, you - must remove them before running the commands if you want to apply the - changes. - -While running the steps below, you will need to make sure to verify that the -cluster is still functional after each step. - -!!! warning - - These instructions have been validated for the 1.5.2 release of the - collection (which ships in Atmosphere 1.5.1). - -## Control plane infrastructure + `containerd` - -!!! warning - - This step will "forget" the package by manipulating the `dpkg` database - in order to avoid killing the service, it's recommended to try running - this step on a test cluster and also on a single node before running it - on the entire cluster. - -=== "Playbooks" - - ``` bash - ansible-playbook -i inventory/hosts.ini --check --diff /dev/stdin <