diff --git a/.github/template_gitref b/.github/template_gitref index b5a481aa86..99cbe10009 100644 --- a/.github/template_gitref +++ b/.github/template_gitref @@ -1 +1 @@ -2021.08.26-276-g45ce134 +2021.08.26-278-g22c5b00 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2487c27c4f..722743c4d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,7 @@ jobs: test: needs: build uses: "./.github/workflows/test.yml" + deprecations: defaults: run: @@ -73,5 +74,3 @@ jobs: echo "${{ needs.test.outputs.deprecations-azure }}" | base64 -d echo "${{ needs.test.outputs.deprecations-s3 }}" | base64 -d echo "${{ needs.test.outputs.deprecations-lowerbounds }}" | base64 -d - - diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9e5a410dbe..824c632099 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,13 +30,13 @@ jobs: language: [ 'python' ] steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/kanban.yml b/.github/workflows/kanban.yml index 0855b5b234..20c7c9013f 100644 --- a/.github/workflows/kanban.yml +++ b/.github/workflows/kanban.yml @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest name: Find issues linked to a PR outputs: - linked-issues: ${{ steps.linked-issues.outputs.issues }} + linked-issues: ${{ steps.linked-issues.outputs.issues }} steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c1fe0bc592..c415f972ee 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -32,6 +32,10 @@ jobs: - name: Install requirements run: pip3 install -r lint_requirements.txt + - name: Lint workflow files + run: | + yamllint -s -d '{extends: relaxed, rules: {line-length: disable}}' .github/workflows + # run black separately from flake8 to get a diff - name: Run black run: | @@ -49,7 +53,5 @@ jobs: - name: Check manifest run: check-manifest - - - name: Check for gettext problems run: sh .ci/scripts/check_gettext.sh diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a29e9e9284..cca2a24595 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,7 +27,6 @@ jobs: uses: "./.github/workflows/build.yml" test: - runs-on: "ubuntu-latest" needs: "build" uses: "./.github/workflows/test.yml" @@ -77,12 +76,6 @@ jobs: fetch-depth: 1 path: "pulpcore" - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - repository: "pulp/pulp-openapi-generator" - path: "pulp-openapi-generator" - - uses: actions/download-artifact@v3 with: name: "plugin_package" @@ -92,11 +85,16 @@ jobs: with: python-version: "3.8" + - name: Install python dependencies + run: | + echo ::group::PYDEPS + pip install requests + echo ::endgroup:: + - name: Set environment variables run: | echo "TEST=${{ matrix.env.TEST }}" >> $GITHUB_ENV - - name: Download built docs uses: actions/download-artifact@v3 with: @@ -118,7 +116,6 @@ jobs: run: | tar -xvf docs.tar -C ./docs .github/workflows/scripts/publish_docs.sh nightly ${GITHUB_REF##*/} - - name: Logs if: always() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89eb8998c8..26b1abd88d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -268,9 +268,9 @@ jobs: env: TAG_NAME: ${{ inputs.release }} with: - const { TAG_NAME } = process.env; - script: | + const { TAG_NAME } = process.env; + await github.rest.repos.createRelease({ owner: context.repo.owner, repo: context.repo.repo, diff --git a/.github/workflows/update-labels.yml b/.github/workflows/update-labels.yml index 20210c4962..ab2b4da566 100644 --- a/.github/workflows/update-labels.yml +++ b/.github/workflows/update-labels.yml @@ -7,13 +7,13 @@ --- -name: Core Update Labels +name: "Core Update Labels" on: push: branches: - - main + - "main" paths: - - 'template_config.yml' + - "template_config.yml" jobs: update_backport_labels: @@ -31,8 +31,8 @@ jobs: echo ::group::PYDEPS pip install requests pyyaml echo ::endgroup:: - - uses: actions/checkout@v3 - - name: Update labels + - uses: "actions/checkout@v3" + - name: "Update labels" run: | python3 .github/workflows/scripts/update_backport_labels.py env: diff --git a/.github/workflows/update_ci.yml b/.github/workflows/update_ci.yml index 39709cf211..022c3b548a 100644 --- a/.github/workflows/update_ci.yml +++ b/.github/workflows/update_ci.yml @@ -13,7 +13,6 @@ on: # * is a special character in YAML so you have to quote this string # runs at 2:30 UTC every Sunday - cron: '30 2 * * 0' - workflow_dispatch: jobs: diff --git a/docs/template_gitref b/docs/template_gitref index b5a481aa86..99cbe10009 100644 --- a/docs/template_gitref +++ b/docs/template_gitref @@ -1 +1 @@ -2021.08.26-276-g45ce134 +2021.08.26-278-g22c5b00 diff --git a/lint_requirements.txt b/lint_requirements.txt index 48f738b18d..1e5321960c 100644 --- a/lint_requirements.txt +++ b/lint_requirements.txt @@ -10,4 +10,4 @@ black check-manifest flake8 flake8-black - +yamllint