Skip to content

Commit

Permalink
Refactor project name to ironcore and runtime interface to IRI (#922
Browse files Browse the repository at this point in the history
)

* Rename project to ironcore
* Rename ori -> iri
  • Loading branch information
afritzler authored Nov 20, 2023
1 parent 184e250 commit b87a17f
Show file tree
Hide file tree
Showing 1,002 changed files with 11,163 additions and 10,911 deletions.
10 changes: 5 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,32 @@ updates:
interval: "daily"
open-pull-requests-limit: 10
reviewers:
- "onmetal/onmetal-api-maintainers"
- "ironcore-dev/core"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
reviewers:
- "onmetal/onmetal-api-maintainers"
- "ironcore-dev/core"
- package-ecosystem: "pip"
directory: "/docs"
schedule:
interval: "daily"
open-pull-requests-limit: 10
reviewers:
- "onmetal/onmetal-api-maintainers"
- "ironcore-dev/core"
- package-ecosystem: "docker"
directory: "/docs"
schedule:
interval: "daily"
open-pull-requests-limit: 10
reviewers:
- "onmetal/onmetal-api-maintainers"
- "ironcore-dev/core"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
reviewers:
- "onmetal/onmetal-api-maintainers"
- "ironcore-dev/core"
28 changes: 14 additions & 14 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@ jobs:
strategy:
matrix:
image:
- name: onmetal-api-controller-manager
- name: ironcore-controller-manager
target: manager
- name: onmetal-api-apiserver
- name: ironcore-apiserver
target: apiserver
- name: onmetal-api-machinepoollet
- name: ironcore-machinepoollet
target: machinepoollet
- name: onmetal-api-machinebroker
- name: ironcore-machinebroker
target: machinebroker
- name: onmetal-api-orictl-machine
target: orictl-machine
- name: onmetal-api-volumepoollet
- name: ironcore-irictl-machine
target: irictl-machine
- name: ironcore-volumepoollet
target: volumepoollet
- name: onmetal-api-volumebroker
- name: ironcore-volumebroker
target: volumebroker
- name: onmetal-api-orictl-volume
target: orictl-volume
- name: onmetal-api-bucketpoollet
- name: ironcore-irictl-volume
target: irictl-volume
- name: ironcore-bucketpoollet
target: bucketpoollet
- name: onmetal-api-bucketbroker
- name: ironcore-bucketbroker
target: bucketbroker
- name: onmetal-api-orictl-bucket
target: orictl-bucket
- name: ironcore-irictl-bucket
target: irictl-bucket
permissions:
contents: read
packages: write
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Size Label

on:
pull_request_target:
types: [ assigned, opened, synchronize, reopened ]
pull_request:
types:
- opened
- edited
- synchronize

jobs:
size-label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: size-label
Expand Down
7 changes: 4 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ linters-settings:
misspell:
ignore-words:
- strat
- iritable
revive:
severity: error
rules:
Expand All @@ -29,11 +30,11 @@ linters-settings:
disabled: true
importas:
alias:
- pkg: github.com/onmetal/onmetal-api/api/(\w+)/(v[\w\d]+)
- pkg: github.com/ironcore-dev/ironcore/api/(\w+)/(v[\w\d]+)
alias: $1$2
- pkg: github.com/onmetal/onmetal-api/internal/apis/(\w+)
- pkg: github.com/ironcore-dev/ironcore/internal/apis/(\w+)
alias: $1
- pkg: github.com/onmetal/onmetal-api/internal/client/(\w+)
- pkg: github.com/ironcore-dev/ironcore/internal/client/(\w+)
alias: ${1}client

issues:
Expand Down
4 changes: 2 additions & 2 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# onmetal-api maintainers
* @onmetal/onmetal-api-maintainers
# ironcore maintainers
* @ironcore-dev/core
70 changes: 35 additions & 35 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ COPY broker/ broker/
COPY client-go/ client-go/
COPY cmd/ cmd/
COPY internal/ internal/
COPY ori/ ori/
COPY orictl/ orictl/
COPY orictl-bucket/ orictl-bucket/
COPY orictl-machine/ orictl-machine/
COPY orictl-volume/ orictl-volume/
COPY iri/ iri/
COPY irictl/ irictl/
COPY irictl-bucket/ irictl-bucket/
COPY irictl-machine/ irictl-machine/
COPY irictl-volume/ irictl-volume/
COPY poollet/ poollet/
COPY utils/ utils/

Expand All @@ -32,13 +32,13 @@ FROM builder as apiserver-builder

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/onmetal-apiserver ./cmd/onmetal-apiserver
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/ironcore-apiserver ./cmd/ironcore-apiserver

FROM builder as manager-builder

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/onmetal-controller-manager ./cmd/onmetal-controller-manager
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/ironcore-controller-manager ./cmd/ironcore-controller-manager

FROM builder as machinepoollet-builder

Expand All @@ -48,17 +48,17 @@ RUN --mount=type=cache,target=/root/.cache/go-build \

FROM builder as machinebroker-builder

# TODO: Remove orictl-machine once debug containers are more broadly available.
# TODO: Remove irictl-machine once debug containers are more broadly available.
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/machinebroker ./broker/machinebroker/cmd/machinebroker/main.go && \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/orictl-machine ./orictl-machine/cmd/orictl-machine/main.go
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-machine ./irictl-machine/cmd/irictl-machine/main.go

FROM builder as orictl-machine-builder
FROM builder as irictl-machine-builder

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/orictl-machine ./orictl-machine/cmd/orictl-machine/main.go
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-machine ./irictl-machine/cmd/irictl-machine/main.go

FROM builder as volumepoollet-builder

Expand All @@ -69,17 +69,17 @@ RUN --mount=type=cache,target=/root/.cache/go-build \

FROM builder as volumebroker-builder

# TODO: Remove orictl-volume once debug containers are more broadly available.
# TODO: Remove irictl-volume once debug containers are more broadly available.
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/volumebroker ./broker/volumebroker/cmd/volumebroker/main.go && \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/orictl-volume ./orictl-volume/cmd/orictl-volume/main.go
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-volume ./irictl-volume/cmd/irictl-volume/main.go

FROM builder as orictl-volume-builder
FROM builder as irictl-volume-builder

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/orictl-volume ./orictl-volume/cmd/orictl-volume/main.go
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-volume ./irictl-volume/cmd/irictl-volume/main.go

FROM builder as bucketpoollet-builder

Expand All @@ -90,33 +90,33 @@ RUN --mount=type=cache,target=/root/.cache/go-build \

FROM builder as bucketbroker-builder

# TODO: Remove orictl-bucket once debug containers are more broadly available.
# TODO: Remove irictl-bucket once debug containers are more broadly available.
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/bucketbroker ./broker/bucketbroker/cmd/bucketbroker/main.go && \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/orictl-bucket ./orictl-bucket/cmd/orictl-bucket/main.go
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-bucket ./irictl-bucket/cmd/irictl-bucket/main.go

FROM builder as orictl-bucket-builder
FROM builder as irictl-bucket-builder

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/orictl-bucket ./orictl-bucket/cmd/orictl-bucket/main.go
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-bucket ./irictl-bucket/cmd/irictl-bucket/main.go

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot as manager
WORKDIR /
COPY --from=manager-builder /workspace/bin/onmetal-controller-manager .
COPY --from=manager-builder /workspace/bin/ironcore-controller-manager .
USER 65532:65532

ENTRYPOINT ["/onmetal-controller-manager"]
ENTRYPOINT ["/ironcore-controller-manager"]

FROM gcr.io/distroless/static:nonroot as apiserver
WORKDIR /
COPY --from=apiserver-builder /workspace/bin/onmetal-apiserver .
COPY --from=apiserver-builder /workspace/bin/ironcore-apiserver .
USER 65532:65532

ENTRYPOINT ["/onmetal-apiserver"]
ENTRYPOINT ["/ironcore-apiserver"]

FROM gcr.io/distroless/static:nonroot as machinepoollet
WORKDIR /
Expand All @@ -129,15 +129,15 @@ ENTRYPOINT ["/machinepoollet"]
FROM debian:bullseye-slim as machinebroker
WORKDIR /
COPY --from=machinebroker-builder /workspace/bin/machinebroker .
# TODO: Remove orictl-machine as soon as ephemeral debug containers are more broadly available.
COPY --from=machinebroker-builder /workspace/bin/orictl-machine .
# TODO: Remove irictl-machine as soon as ephemeral debug containers are more broadly available.
COPY --from=machinebroker-builder /workspace/bin/irictl-machine .
USER 65532:65532

ENTRYPOINT ["/machinebroker"]

FROM debian:bullseye-slim as orictl-machine
FROM debian:bullseye-slim as irictl-machine
WORKDIR /
COPY --from=orictl-machine-builder /workspace/bin/orictl-machine .
COPY --from=irictl-machine-builder /workspace/bin/irictl-machine .
USER 65532:65532

FROM gcr.io/distroless/static:nonroot as volumepoollet
Expand All @@ -151,15 +151,15 @@ ENTRYPOINT ["/volumepoollet"]
FROM debian:bullseye-slim as volumebroker
WORKDIR /
COPY --from=volumebroker-builder /workspace/bin/volumebroker .
# TODO: Remove orictl-volume as soon as ephemeral debug containers are more broadly available.
COPY --from=volumebroker-builder /workspace/bin/orictl-volume .
# TODO: Remove irictl-volume as soon as ephemeral debug containers are more broadly available.
COPY --from=volumebroker-builder /workspace/bin/irictl-volume .
USER 65532:65532

ENTRYPOINT ["/volumebroker"]

FROM debian:bullseye-slim as orictl-volume
FROM debian:bullseye-slim as irictl-volume
WORKDIR /
COPY --from=orictl-volume-builder /workspace/bin/orictl-volume .
COPY --from=irictl-volume-builder /workspace/bin/irictl-volume .
USER 65532:65532

FROM gcr.io/distroless/static:nonroot as bucketpoollet
Expand All @@ -173,13 +173,13 @@ ENTRYPOINT ["/bucketpoollet"]
FROM debian:bullseye-slim as bucketbroker
WORKDIR /
COPY --from=bucketbroker-builder /workspace/bin/bucketbroker .
# TODO: Remove orictl-bucket as soon as ephemeral debug containers are more broadly available.
COPY --from=bucketbroker-builder /workspace/bin/orictl-bucket .
# TODO: Remove irictl-bucket as soon as ephemeral debug containers are more broadly available.
COPY --from=bucketbroker-builder /workspace/bin/irictl-bucket .
USER 65532:65532

ENTRYPOINT ["/bucketbroker"]

FROM debian:bullseye-slim as orictl-bucket
FROM debian:bullseye-slim as irictl-bucket
WORKDIR /
COPY --from=orictl-bucket-builder /workspace/bin/orictl-bucket .
COPY --from=irictl-bucket-builder /workspace/bin/irictl-bucket .
USER 65532:65532
Loading

0 comments on commit b87a17f

Please sign in to comment.