Skip to content

Commit

Permalink
Drop curl insecure (-k) flags from CI, switch ci-support URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Mar 25, 2022
1 parent 9dcb863 commit 6d45f0b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
python-version: '3.6'
- name: "Main Script"
run: |
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
. ./prepare-and-run-flake8.sh "$(basename $GITHUB_REPOSITORY)" ./test
pylint:
Expand All @@ -37,7 +37,7 @@ jobs:
- name: "Main Script"
run: |
EXTRA_INSTALL="pymbolic"
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-pylint.sh
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-pylint.sh
. ./prepare-and-run-pylint.sh "$(basename $GITHUB_REPOSITORY)" test/test_*.py
mypy:
Expand All @@ -51,7 +51,7 @@ jobs:
python-version: '3.x'
- name: "Main Script"
run: |
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-mypy.sh
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-mypy.sh
. ./prepare-and-run-mypy.sh python3 mypy
pytest:
Expand All @@ -76,7 +76,7 @@ jobs:
rm pytools/log.py
EXTRA_INSTALL="numpy"
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
. ./build-and-test-py-project.sh
#examples:
Expand All @@ -91,8 +91,8 @@ jobs:
# - name: "Main Script"
# run: |
# EXTRA_INSTALL="numpy pymbolic"
# curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
# . ./ci-support.sh
# curl -L -O https://tiker.net/ci-support-v0
# . ./ci-support-v0
# build_py_project_in_venv
# run_examples

Expand All @@ -108,7 +108,7 @@ jobs:
env:
DOWNSTREAM_PROJECT: ${{ matrix.downstream_project }}
run: |
curl -L -O -k https://tiker.net/ci-support-v0
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
test_downstream "$DOWNSTREAM_PROJECT"
Expand All @@ -124,8 +124,8 @@ jobs:
- name: "Main Script"
run: |
EXTRA_INSTALL="numpy"
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
. ci-support.sh
curl -L -O https://tiker.net/ci-support-v0
. ci-support-v0
build_py_project_in_venv
build_docs
Expand Down
14 changes: 7 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pytest:
rm pytools/log.py
export EXTRA_INSTALL="numpy"
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
. ./build-and-test-py-project.sh
tags:
- python3
Expand All @@ -21,8 +21,8 @@ Pytest:
# Examples:
# script: |
# EXTRA_INSTALL="numpy pymbolic"
# curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
# . ./ci-support.sh
# curl -L -O https://tiker.net/ci-support-v0
# . ./ci-support-v0
# build_py_project_in_venv
# run_examples
# tags:
Expand All @@ -32,7 +32,7 @@ Pytest:

Flake8:
script:
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
- curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
- . ./prepare-and-run-flake8.sh "$CI_PROJECT_NAME" test
tags:
- python3
Expand All @@ -41,7 +41,7 @@ Flake8:

Mypy:
script:
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-mypy.sh
- curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-mypy.sh
- ". ./prepare-and-run-mypy.sh python3 mypy"
tags:
- python3
Expand All @@ -52,7 +52,7 @@ Pylint:
script:
- EXTRA_INSTALL="pymbolic"
- py_version=3
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-pylint.sh
- curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-pylint.sh
- . ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME" test/test_*.py
tags:
- python3
Expand All @@ -62,7 +62,7 @@ Pylint:
Documentation:
script:
- EXTRA_INSTALL="numpy"
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-docs.sh
- curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-docs.sh
- ". ./build-docs.sh"
tags:
- python3
Expand Down

0 comments on commit 6d45f0b

Please sign in to comment.