Skip to content

Commit

Permalink
Disable broken nightly docs publish
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
mdellweg committed Mar 12, 2024
1 parent 76bf8da commit b9b89f3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 85 deletions.
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-320-g4fd782b
2021.08.26-320-gb91fb8e
23 changes: 0 additions & 23 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,26 +94,3 @@ jobs:
- name: "Set environment variables"
run: |
echo "TEST=${{ matrix.env.TEST }}" >> $GITHUB_ENV
- name: Download built docs
uses: actions/download-artifact@v3
with:
name: "docs.tar"
path: "pulp_file"

- name: Download Python client docs
uses: actions/download-artifact@v3
with:
name: "python-client-docs.tar"
path: "pulp_file"

- name: "Setting secrets"
run: |
python3 .github/workflows/scripts/secrets.py "$SECRETS_CONTEXT"
env:
SECRETS_CONTEXT: "${{ toJson(secrets) }}"

- name: Publish docs to pulpproject.org
run: |
tar -xvf docs.tar -C ./docs
.github/workflows/scripts/publish_docs.sh nightly ${GITHUB_REF##*/}
59 changes: 0 additions & 59 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,6 @@ jobs:
run: |
.github/workflows/scripts/install_ruby_client.sh
shell: "bash"
- name: Build docs
run: |
export DJANGO_SETTINGS_MODULE=pulpcore.app.settings
export PULP_SETTINGS=$PWD/.ci/ansible/settings/settings.py
make -C docs/ PULP_URL="https://pulp" diagrams html
tar -cvf docs/docs.tar docs/_build
- name: "Upload built docs"
uses: actions/upload-artifact@v3
with:
name: "docs.tar"
path: "pulp_file/docs/docs.tar"

- name: "Logs"
if: always()
Expand Down Expand Up @@ -228,52 +216,6 @@ jobs:
- name: "Publish client to rubygems"
run: |
bash .github/workflows/scripts/publish_client_gem.sh ${{ github.ref_name }}
publish-docs:
runs-on: "ubuntu-latest"
needs:
- "build-bindings-docs"

env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

steps:
- uses: "actions/checkout@v4"
with:
fetch-depth: 1
path: "pulp_file"

- uses: "actions/setup-python@v4"
with:
python-version: "3.11"

- name: "Install python dependencies"
run: |
echo ::group::PYDEPS
pip install 'packaging~=21.3' requests
echo ::endgroup::
- name: "Setting secrets"
run: |
python3 .github/workflows/scripts/secrets.py "$SECRETS_CONTEXT"
env:
SECRETS_CONTEXT: "${{ toJson(secrets) }}"

- name: "Download built docs"
uses: "actions/download-artifact@v3"
with:
name: "docs.tar"
path: "pulp_file/"

- name: "Download Python client docs"
uses: "actions/download-artifact@v3"
with:
name: "python-client-docs.tar"
path: "pulp_file/"

- name: "Publish docs to pulpproject.org"
run: |
tar -xvf docs.tar
.github/workflows/scripts/publish_docs.sh tag ${{ github.ref_name }}
create-gh-release:
runs-on: "ubuntu-latest"
Expand All @@ -282,7 +224,6 @@ jobs:
- "publish-package"
- "publish-python-bindings"
- "publish-ruby-bindings"
- "publish-docs"

steps:
- name: "Create release on GitHub"
Expand Down
2 changes: 1 addition & 1 deletion docs/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-320-g4fd782b
2021.08.26-320-gb91fb8e
2 changes: 1 addition & 1 deletion template_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ plugin_name: pulp_file
plugins: []
post_job_template: null
pre_job_template: null
publish_docs_to_pulpprojectdotorg: true
publish_docs_to_pulpprojectdotorg: false
pulp_env: {}
pulp_env_azure: {}
pulp_env_gcp: {}
Expand Down

0 comments on commit b9b89f3

Please sign in to comment.