Skip to content

Commit

Permalink
Experiment: Update CI
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
mdellweg committed Nov 16, 2023
1 parent b9d5fb2 commit 5abbc46
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 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-259-ge0f38f0
2021.08.26-261-g70d5789-dirty
21 changes: 13 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@
# For more info visit https://github.com/pulp/plugin_template

---
name: Build
name: "Build"
on:
workflow_call:

defaults:
run:
working-directory: "pulp_gem"

jobs:
build:
runs-on: ubuntu-latest
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
path: pulp_gem
- uses: actions/setup-python@v4
with:
python-version: "3.8"
Expand All @@ -26,12 +31,12 @@ jobs:
echo ::group::PYDEPS
pip install packaging wheel
echo ::endgroup::
- name: Build package
run: python3 setup.py sdist bdist_wheel --python-tag py3
- name: "Build package"
run: "python3 setup.py sdist bdist_wheel --python-tag py3"
- name: 'Upload Package whl'
uses: actions/upload-artifact@v3
uses: "actions/upload-artifact@v3"
with:
name: plugin_package
path: dist/
if-no-files-found: error
name: "plugin_package"
path: "pulp_gem/dist/"
if-no-files-found: "error"
retention-days: 5
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ name: Lint
on:
workflow_call:

defaults:
run:
working-directory: "pulp_gem"

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -18,6 +22,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
path: pulp_gem
- uses: actions/setup-python@v4
with:
python-version: "3.8"
Expand Down
12 changes: 4 additions & 8 deletions template_config.yml
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]249-gca8f021
# generated with [email protected]260-ga1550ba-dirty

additional_repos: []
api_root: /pulp/
Expand Down Expand Up @@ -37,15 +37,11 @@ lint_requirements: true
noissue_marker: '[noissue]'
parallel_test_workers: 8
plugin_app_label: gem
plugin_camel: PulpGem
plugin_camel_short: Gem
plugin_caps: PULP_GEM
plugin_caps_short: GEM
plugin_dash: pulp-gem
plugin_dash_short: gem
plugin_default_branch: main
plugin_name: pulp_gem
plugin_snake: pulp_gem
plugins:
- app_label: gem
name: pulp_gem
post_job_template: null
pre_job_template: null
publish_docs_to_pulpprojectdotorg: true
Expand Down

0 comments on commit 5abbc46

Please sign in to comment.