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

feat: update deps for scm and use latest for docker tag #2908

Merged
merged 3 commits into from
Aug 4, 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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
latest=false
tags: |
type=raw,value=${{ steps.version.outputs.NEXT }}
type=raw,value=master
type=raw,value=latest

- name: build and push image
uses: docker/build-push-action@5176d81f87c23d6fc96624dfdbcd9f3830bbe445 # v5
Expand Down
4 changes: 2 additions & 2 deletions autotick-bot/install_bot_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sudo apt-get autoclean -y >& /dev/null
sudo docker image prune --all --force
df -h

docker pull ghcr.io/regro/conda-forge-tick:master
docker pull ghcr.io/regro/conda-forge-tick:latest

git config --global user.name regro-cf-autotick-bot
git config --global user.email [email protected]
Expand All @@ -33,7 +33,7 @@ conda update conda-forge-pinning --yes
cd cf-scripts

export GIT_FULL_HASH=$(git rev-parse HEAD)
pip install -e .
pip install --no-deps --no-build-isolation -e .

cd ..

Expand Down
4 changes: 2 additions & 2 deletions conda_forge_tick/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@
"""Get the default container name for the bot.

If the environment variable `CI` is set to `true`, the container name is `conda-forge-tick:test`.
Otherwise, the container name is `ghcr.io/regro/conda-forge-tick:master`.
Otherwise, the container name is `ghcr.io/regro/conda-forge-tick:latest`.
"""
if os.environ.get("CF_TICK_PYTEST", "false") == "true":
cname = "conda-forge-tick:test"
else:
cname = "ghcr.io/regro/conda-forge-tick:master"
cname = "ghcr.io/regro/conda-forge-tick:latest"

Check warning on line 125 in conda_forge_tick/utils.py

View check run for this annotation

Codecov / codecov/patch

conda_forge_tick/utils.py#L125

Added line #L125 was not covered by tests

return cname

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies:
- ruamel.yaml.jinja2
- scipy
- setuptools
- setuptools_scm>=7
- setuptools_scm>=8
- stopit
- streamz
- tar
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm>=7",
"setuptools_scm>=8",
"tomli>=1.0.0; python_version < '3.11'",
]
build-backend = "setuptools.build_meta"
Expand Down