Skip to content

Commit 5ce43e7

Browse files
committed
PR review
1 parent d2dbece commit 5ce43e7

File tree

3 files changed

+879
-310
lines changed

3 files changed

+879
-310
lines changed

.github/workflows/publish-docker.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
- lukasfrank:feat/reservations
1110
tags:
1211
- v*
1312
paths-ignore:
@@ -88,7 +87,7 @@ jobs:
8887
version: latest
8988
endpoint: builders # self-hosted
9089
- name: Login to GHCR
91-
# if: github.event_name != 'pull_request'
90+
if: github.event_name != 'pull_request'
9291
uses: docker/login-action@v3
9392
with:
9493
registry: ghcr.io
@@ -100,7 +99,7 @@ jobs:
10099
with:
101100
context: .
102101
platforms: linux/amd64,linux/arm64
103-
# push: ${{ github.event_name != 'pull_request' }}
102+
push: ${{ github.event_name != 'pull_request' }}
104103
tags: ${{ steps.meta.outputs.tags }}
105104
labels: ${{ steps.meta.outputs.labels }}
106105
target: ${{ matrix.image.target }}

api/compute/v1alpha1/machinereservation_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
type ReservationSpec struct {
1414
Pools []corev1.LocalObjectReference `json:"pools"`
1515
Resources corev1alpha1.ResourceList `json:"resources,omitempty"`
16+
// TODO we might want to add a weight to indicate preference/priority
1617
}
1718

1819
// ReservationStatus defines the observed state of Reservation

0 commit comments

Comments
 (0)