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

Fix daypass projects to use daypass tag #439

Merged
merged 3 commits into from
Mar 25, 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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@main
with:
cosign-release: 'v2.0.2' # optional
cosign-release: 'v2.2.2' # optional

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c
Expand Down
4 changes: 2 additions & 2 deletions sharing_portal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1248,8 +1248,8 @@ def create_supplemental_project_if_needed(request, artifact, project):
# allocation.save()

created_project = Project.objects.get(id=created_tas_project["id"])
daypss_tag_id = Tag.objects.get(name="Daypass")
mapper.update_project_tag(created_project.id, daypss_tag_id)
daypass_tag = Tag.objects.get(name="Daypass")
mapper.update_project_tag(created_project.id, daypass_tag.id)
daypass_project = DaypassProject(
artifact_uuid=artifact["uuid"], project=created_project
)
Expand Down
Loading