-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #720 from pulp/update-ci/main
Update CI files for branch main
- Loading branch information
Showing
12 changed files
with
84 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2021.08.26-364-g6f9579c | ||
2021.08.26-378-g72f4b38 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# WARNING: DO NOT EDIT! | ||
# | ||
# This file was generated by plugin_template, and is managed by it. Please use | ||
# './plugin-template --github pulp_python' to update this file. | ||
# | ||
# For more info visit https://github.com/pulp/plugin_template | ||
|
||
--- | ||
name: "Docs" | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test: | ||
if: "endsWith(github.base_ref, 'main')" | ||
runs-on: "ubuntu-20.04" | ||
defaults: | ||
run: | ||
working-directory: "pulp_python" | ||
steps: | ||
- uses: "actions/checkout@v4" | ||
with: | ||
fetch-depth: 1 | ||
path: "pulp_python" | ||
- uses: "actions/setup-python@v5" | ||
with: | ||
python-version: "3.11" | ||
- name: "Setup cache key" | ||
run: | | ||
git ls-remote https://github.com/pulp/pulp-docs main | tee pulp-docs-main-sha | ||
- uses: "actions/cache@v4" | ||
with: | ||
path: "~/.cache/pip" | ||
key: ${{ runner.os }}-pip-${{ hashFiles('pulp-docs-main-sha') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: "Install python dependencies" | ||
run: | | ||
echo ::group::PYDEPS | ||
pip install -r doc_requirements.txt | ||
echo ::endgroup:: | ||
- name: "Build changelog" | ||
run: | | ||
towncrier build --yes --version 4.0.0.ci | ||
- name: "Build docs" | ||
run: | | ||
pulp-docs build | ||
no-test: | ||
if: "!endsWith(github.base_ref, 'main')" | ||
runs-on: "ubuntu-20.04" | ||
steps: | ||
- run: | | ||
echo "Skip docs testing on non-main branches." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
build | ||
coreapi | ||
django | ||
djangorestframework | ||
django-filter | ||
drf-nested-routers | ||
mistune | ||
plantuml | ||
pyyaml | ||
sphinx | ||
sphinx-rtd-theme | ||
sphinxcontrib-openapi | ||
# WARNING: DO NOT EDIT! | ||
# | ||
# This file was generated by plugin_template, and is managed by it. Please use | ||
# './plugin-template --github pulp_python' to update this file. | ||
# | ||
# For more info visit https://github.com/pulp/plugin_template | ||
towncrier | ||
twine | ||
# Unified docs | ||
pulp-docs @ git+https://github.com/pulp/pulp-docs@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# This config represents the latest values used when running the plugin-template. Any settings that | ||
# were not present before running plugin-template have been added with their default values. | ||
|
||
# generated with [email protected]364-g6f9579c | ||
# generated with [email protected]378-g72f4b38 | ||
|
||
api_root: /pulp/ | ||
black: false | ||
|
@@ -12,21 +12,17 @@ check_stray_pulpcore_imports: true | |
ci_base_image: ghcr.io/pulp/pulp-ci-centos9 | ||
ci_env: {} | ||
ci_trigger: '{pull_request: {branches: [''*'']}}' | ||
ci_update_docs: false | ||
cli_package: pulp-cli | ||
cli_repo: https://github.com/pulp/pulp-cli.git | ||
core_import_allowed: [] | ||
deploy_client_to_pypi: true | ||
deploy_client_to_rubygems: true | ||
deploy_to_pypi: true | ||
disabled_redis_runners: [] | ||
doc_requirements_from_pulpcore: true | ||
docker_fixtures: false | ||
docs_test: true | ||
flake8: true | ||
flake8_ignore: [] | ||
github_org: pulp | ||
issue_tracker: github | ||
latest_release_branch: '3.12' | ||
lint_requirements: true | ||
noissue_marker: '[noissue]' | ||
|