Skip to content
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
6 changes: 3 additions & 3 deletions redeploy-spackbot-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ docker push ghcr.io/${gh_user}/spackbot:${image_tag}
docker push ghcr.io/${gh_user}/spackbot-workers:${image_tag}

# Rollout with the new containers
kubectl rollout restart -n spack deployments/spackbotdev-spack-io
kubectl rollout restart -n spack deployments/spackbotdev-workers
kubectl rollout restart -n spack deployments/spackbotdev-lworkers
kubectl -n spack rollout restart deployment spackbotdev-spack-io
kubectl -n spack rollout restart deployment spackbotdev-workers
kubectl -n spack rollout restart deployment spackbotdev-lworkers
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ gidgethub
python_dotenv
rq
sh
aws
awscli
3 changes: 0 additions & 3 deletions spackbot/handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
run_pipeline_rebuild_all,
close_pr_gitlab_branch,
)
from .labels import add_labels # noqa
from .reviewers import add_reviewers, add_issue_maintainers # noqa
from .reviewers import add_reviewers # noqa
from .style import style_comment, fix_style # noqa
from .mirrors import close_pr_mirror # noqa
3 changes: 2 additions & 1 deletion spackbot/handlers/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ async def close_pr_gitlab_branch(event, gh):
pr_branch = payload["pull_request"]["head"]["ref"]
pr_branch_name = f"pr{pr_number}_{pr_branch}"

url = helpers.gitlab_spack_project_url
event_project = payload["repository"]["name"]
url = helpers.PROJECT[event_project].gitlab_project_url
url = f"{url}/repository/branches/{pr_branch_name}"

GITLAB_TOKEN = os.environ.get("GITLAB_TOKEN")
Expand Down
185 changes: 0 additions & 185 deletions spackbot/handlers/labels.py

This file was deleted.

3 changes: 2 additions & 1 deletion spackbot/handlers/mirrors.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ async def close_pr_mirror(event, gh):
"pr_branch": pr_branch,
}

if is_merged and base_branch == pr_expected_base:
# PR Graduation Mirror is disabled
if False and is_merged and base_branch == pr_expected_base:
logger.info(
f"PR {pr_number}/{pr_branch} merged to develop, graduating binaries"
)
Expand Down
Loading