Skip to content

Commit

Permalink
Update CI files
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pulpbot authored and mdellweg committed Nov 15, 2023
1 parent 0de3383 commit b9d5fb2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 19 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-256-gf3e24c8
2021.08.26-259-ge0f38f0
20 changes: 13 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

test:
runs-on: ubuntu-latest
needs: build

strategy:
fail-fast: false
Expand All @@ -33,7 +34,7 @@ jobs:
- TEST: docs
- TEST: azure
- TEST: s3

- TEST: generate-bindings
- TEST: lowerbounds

Expand All @@ -42,15 +43,15 @@ jobs:
with:
fetch-depth: 1

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

- uses: actions/download-artifact@v3
with:
name: plugin_package
path: dist/

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

- name: Install httpie
run: |
echo ::group::HTTPIE
Expand Down Expand Up @@ -219,6 +220,11 @@ jobs:
with:
fetch-depth: 1

- uses: actions/download-artifact@v3
with:
name: plugin_package
path: dist/

- uses: actions/setup-python@v4
with:
python-version: "3.8"
Expand Down Expand Up @@ -297,7 +303,7 @@ jobs:
env:
SECRETS_CONTEXT: ${{ toJson(secrets) }}


- name: Download built docs
uses: actions/download-artifact@v3
with:
Expand All @@ -312,7 +318,7 @@ jobs:
run: |
tar -xvf docs.tar -C ./docs
.github/workflows/scripts/publish_docs.sh nightly ${GITHUB_REF##*/}

- name: Logs
if: always()
Expand Down
25 changes: 15 additions & 10 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,27 @@ jobs:
- uses: actions/github-script@v7
with:
script: |
const { COMMIT_COUNT } = process.env
const labelName = "multi-commit";
const { COMMIT_COUNT } = process.env;
if (COMMIT_COUNT == 1)
{
github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: ["multi-commit"]
})
try {
await github.rest.issues.removeLabel({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: labelName,
});
} catch(err) {
}
}
else
{
github.rest.issues.addLabels({
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["multi-commit"]
})
labels: [labelName],
});
}
2 changes: 1 addition & 1 deletion docs/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-255-g20bf8c0
2021.08.26-259-ge0f38f0

0 comments on commit b9d5fb2

Please sign in to comment.