Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update actions to latest version and set CI python to 3.11 [3.22] #682

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/docs.yml

This file was deleted.

97 changes: 0 additions & 97 deletions .github/workflows/kanban.yml

This file was deleted.

30 changes: 14 additions & 16 deletions .github/workflows/pulp_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- latest
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
pull_request:
env:
Expand All @@ -18,15 +16,15 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# by default, it uses a depth of 1
# this fetches all history so that we can read each commit
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: 3.11
- name: Check commit message
if: github.event_name == 'pull_request'
env:
Expand Down Expand Up @@ -68,15 +66,15 @@ jobs:
temp_base_tag="${GITHUB_REF_NAME%/*}"
echo "Building $temp_base_tag"
echo "TEMP_BASE_TAG=${temp_base_tag}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# by default, it uses a depth of 1
# this fetches all history so that we can read each commit
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: 3.11
- name: Dispatch workflows on stable branches
if: github.event_name == 'schedule'
run: |
Expand Down Expand Up @@ -109,7 +107,7 @@ jobs:
echo "pulp_ci_centos_id=${id}" >> "$GITHUB_OUTPUT"
echo "pulp_ci_centos_id=${id}" >> "$GITHUB_ENV"
- name: Cache podman images
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
key: base-images=${{ env.pulp_ci_centos_id }}
path: base-images.tar
Expand Down Expand Up @@ -142,15 +140,15 @@ jobs:
echo "Building $temp_app_tag from base $temp_base_tag"
echo "TEMP_APP_TAG=${temp_app_tag}" >> $GITHUB_ENV
echo "TEMP_BASE_TAG=${temp_base_tag}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# by default, it uses a depth of 1
# this fetches all history so that we can read each commit
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: 3.11
- name: Install python dependencies
if: github.event_name == 'schedule'
run: |
Expand All @@ -163,7 +161,7 @@ jobs:
exit 1
fi
- name: Restore podman images from cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: base-images=${{ needs.base-images.outputs.pulp_ci_centos_id }}
path: base-images.tar
Expand Down
Loading