From 35d18dede526494ffdd413967ab7869146c3d4f2 Mon Sep 17 00:00:00 2001 From: Yashar Zolmajdi Date: Mon, 27 May 2024 10:31:51 +1000 Subject: [PATCH] ci: Remove sphinx website builds --- .github/workflows/on-push.yaml | 16 ---------------- .github/workflows/on-release.yaml | 22 ---------------------- 2 files changed, 38 deletions(-) diff --git a/.github/workflows/on-push.yaml b/.github/workflows/on-push.yaml index afac221..bb9564d 100644 --- a/.github/workflows/on-push.yaml +++ b/.github/workflows/on-push.yaml @@ -60,19 +60,3 @@ jobs: source <(curl -sL http://ci.q-ctrl.com) ./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }} ./ci docker run qctrl/ci-images:python-3.11-ci /scripts/publish-dev-version.sh - - sphinx_documentation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build Sphinx Image and Push to DockerHub - run: | - source <(curl -sL http://ci.q-ctrl.com) - ./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }} - ./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_user -o .hub_user - ./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_pass -o .hub_pass - ./ci docker buildPush \ - -f ./docs/Dockerfile \ - -u $(cat .hub_user) \ - -p $(cat .hub_pass) \ - --suffix -docs diff --git a/.github/workflows/on-release.yaml b/.github/workflows/on-release.yaml index a6438c4..c4fe234 100644 --- a/.github/workflows/on-release.yaml +++ b/.github/workflows/on-release.yaml @@ -40,25 +40,3 @@ jobs: target_branch: master vault-role-id: ${{ secrets.VAULT_ROLE_ID }} vault-secret-id: ${{ secrets.VAULT_SECRET_ID }} - - sphinx_documentation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Retrieve build-time environment variables (Production) - run: | - source <(curl -sL http://ci.q-ctrl.com) - ./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }} - ./ci vault get -k SEGMENT_WRITE_KEY -t $(cat .token) -p secret/data/python/prod -o ./docs/SEGMENT_WRITE_KEY - ./ci vault get -k DOCSEARCH_APP_ID -t $(cat .token) -p secret/data/python/prod -o ./docs/DOCSEARCH_APP_ID - ./ci vault get -k DOCSEARCH_API_KEY -t $(cat .token) -p secret/data/python/prod -o ./docs/DOCSEARCH_API_KEY - ./ci vault get -k DOCSEARCH_INDEX_NAME -t $(cat .token) -p secret/data/python/prod -o ./docs/DOCSEARCH_INDEX_NAME - - name: Build Sphinx Image and Push to DockerHub - run: | - ./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_user -o .hub_user - ./ci vault get -t $(cat .token) -p secret/data/dockerhub -k hub_pass -o .hub_pass - ./ci docker buildPush \ - -f ./docs/Dockerfile \ - -u $(cat .hub_user) \ - -p $(cat .hub_pass) \ - --suffix -docs