mirror of
https://github.com/rancher/os.git
synced 2025-09-05 16:52:20 +00:00
Rename to rancher/os2
This commit is contained in:
@@ -114,8 +114,8 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
target: "rancher/os:${DRONE_TAG}"
|
target: "rancher/os2:${DRONE_TAG}"
|
||||||
template: "rancher/os:${DRONE_TAG}-ARCH"
|
template: "rancher/os2:${DRONE_TAG}-ARCH"
|
||||||
when:
|
when:
|
||||||
instance:
|
instance:
|
||||||
- drone-publish.rancher.io
|
- drone-publish.rancher.io
|
||||||
|
@@ -26,7 +26,7 @@ COPY --from=build /usr/bin/busybox-static /usr/bin/busybox
|
|||||||
COPY --from=build /usr/bin/rancherd /usr/bin/rancherd
|
COPY --from=build /usr/bin/rancherd /usr/bin/rancherd
|
||||||
COPY --from=build /usr/bin/luet /usr/bin/luet
|
COPY --from=build /usr/bin/luet /usr/bin/luet
|
||||||
COPY --from=build /usr/bin/helm /usr/bin/helm
|
COPY --from=build /usr/bin/helm /usr/bin/helm
|
||||||
COPY --from=build /usr/src/dist/rancheros-operator-chart.tgz /usr/share/rancher/os/
|
COPY --from=build /usr/src/dist/rancheros-operator-chart.tgz /usr/share/rancher/os2/
|
||||||
COPY framework/files/etc/luet/luet.yaml /etc/luet/luet.yaml
|
COPY framework/files/etc/luet/luet.yaml /etc/luet/luet.yaml
|
||||||
COPY --from=build /etc/ssl/certs /etc/ssl/certs
|
COPY --from=build /etc/ssl/certs /etc/ssl/certs
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@ RUN if [ "${ARCH}" == "amd64" ]; then \
|
|||||||
ENV DOCKER_BUILDKIT 1
|
ENV DOCKER_BUILDKIT 1
|
||||||
ENV DOCKER_CLI_EXPERIMENTAL enabled
|
ENV DOCKER_CLI_EXPERIMENTAL enabled
|
||||||
ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS DOCKER_USERNAME DOCKER_PASSWORD AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION
|
ENV DAPPER_ENV REPO TAG DRONE_TAG CROSS DOCKER_USERNAME DOCKER_PASSWORD AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION
|
||||||
ENV DAPPER_SOURCE /go/src/github.com/rancher/os/
|
ENV DAPPER_SOURCE /go/src/github.com/rancher/os2/
|
||||||
ENV DAPPER_OUTPUT ./bin ./dist
|
ENV DAPPER_OUTPUT ./bin ./dist
|
||||||
ENV DAPPER_DOCKER_SOCKET true
|
ENV DAPPER_DOCKER_SOCKET true
|
||||||
ENV DAPPER_RUN_ARGS "-v ros-go16-pkg-1:/go/pkg -v ros-go16-cache-1:/root/.cache/go-build"
|
ENV DAPPER_RUN_ARGS "-v ros-go16-pkg-1:/go/pkg -v ros-go16-cache-1:/root/.cache/go-build"
|
||||||
|
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
|||||||
.DEFAULT_GOAL := package
|
.DEFAULT_GOAL := package
|
||||||
REPO?=rancher/os
|
REPO?=rancher/os2
|
||||||
TAG?=dev
|
TAG?=dev
|
||||||
IMAGE=${REPO}:${TAG}
|
IMAGE=${REPO}:${TAG}
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
image:
|
image:
|
||||||
repository: rancher/os
|
repository: rancher/os2
|
||||||
tag: dev
|
tag: dev
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
@@ -4,8 +4,8 @@ import (
|
|||||||
"flag"
|
"flag"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/rancher/os/pkg/config"
|
"github.com/rancher/os2/pkg/config"
|
||||||
"github.com/rancher/os/pkg/install"
|
"github.com/rancher/os2/pkg/install"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"sigs.k8s.io/yaml"
|
"sigs.k8s.io/yaml"
|
||||||
)
|
)
|
||||||
|
@@ -5,7 +5,7 @@ import (
|
|||||||
"flag"
|
"flag"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/rancher/os/pkg/operator"
|
"github.com/rancher/os2/pkg/operator"
|
||||||
"github.com/rancher/wrangler/pkg/signals"
|
"github.com/rancher/wrangler/pkg/signals"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=RancherOS Automatic Installation
|
Description=RancherOS Automatic Installation
|
||||||
Documentation=https://github.com/rancher/os
|
Documentation=https://github.com/rancher/os2
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Before=getty-pre.target serial-getty@ttyS0.service
|
Before=getty-pre.target serial-getty@ttyS0.service
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=RancherOS Populated Node Labels
|
Description=RancherOS Populated Node Labels
|
||||||
Documentation=https://github.com/rancher/os
|
Documentation=https://github.com/rancher/os2
|
||||||
Before=network-online.target
|
Before=network-online.target
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@@ -29,7 +29,7 @@ helm upgrade \
|
|||||||
--set image.repository=${IMAGE_REPO} \
|
--set image.repository=${IMAGE_REPO} \
|
||||||
--set image.tag=${IMAGE_TAG} \
|
--set image.tag=${IMAGE_TAG} \
|
||||||
--set image.imagePullPolicy=${PULL_POLICY} \
|
--set image.imagePullPolicy=${PULL_POLICY} \
|
||||||
rancheros-operator /usr/share/rancher/os/rancheros-operator-chart.tgz
|
rancheros-operator /usr/share/rancher/os2/rancheros-operator-chart.tgz
|
||||||
|
|
||||||
while ! manifest | kubectl apply -f -; do
|
while ! manifest | kubectl apply -f -; do
|
||||||
sleep 15
|
sleep 15
|
||||||
|
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module github.com/rancher/os
|
module github.com/rancher/os2
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@ limitations under the License.
|
|||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
rancheros "github.com/rancher/os/pkg/apis/rancheros.cattle.io"
|
rancheros "github.com/rancher/os2/pkg/apis/rancheros.cattle.io"
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
@@ -3,14 +3,14 @@ package clients
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/rancher/os/pkg/generated/controllers/fleet.cattle.io"
|
"github.com/rancher/os2/pkg/generated/controllers/fleet.cattle.io"
|
||||||
fleetcontrollers "github.com/rancher/os/pkg/generated/controllers/fleet.cattle.io/v1alpha1"
|
fleetcontrollers "github.com/rancher/os2/pkg/generated/controllers/fleet.cattle.io/v1alpha1"
|
||||||
"github.com/rancher/os/pkg/generated/controllers/management.cattle.io"
|
"github.com/rancher/os2/pkg/generated/controllers/management.cattle.io"
|
||||||
ranchercontrollers "github.com/rancher/os/pkg/generated/controllers/management.cattle.io/v3"
|
ranchercontrollers "github.com/rancher/os2/pkg/generated/controllers/management.cattle.io/v3"
|
||||||
"github.com/rancher/os/pkg/generated/controllers/provisioning.cattle.io"
|
"github.com/rancher/os2/pkg/generated/controllers/provisioning.cattle.io"
|
||||||
provcontrollers "github.com/rancher/os/pkg/generated/controllers/provisioning.cattle.io/v1"
|
provcontrollers "github.com/rancher/os2/pkg/generated/controllers/provisioning.cattle.io/v1"
|
||||||
"github.com/rancher/os/pkg/generated/controllers/rancheros.cattle.io"
|
"github.com/rancher/os2/pkg/generated/controllers/rancheros.cattle.io"
|
||||||
oscontrollers "github.com/rancher/os/pkg/generated/controllers/rancheros.cattle.io/v1"
|
oscontrollers "github.com/rancher/os2/pkg/generated/controllers/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/wrangler/pkg/clients"
|
"github.com/rancher/wrangler/pkg/clients"
|
||||||
"github.com/rancher/wrangler/pkg/generic"
|
"github.com/rancher/wrangler/pkg/generic"
|
||||||
"k8s.io/client-go/rest"
|
"k8s.io/client-go/rest"
|
||||||
|
@@ -13,7 +13,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
os.Unsetenv("GOPATH")
|
os.Unsetenv("GOPATH")
|
||||||
controllergen.Run(args.Options{
|
controllergen.Run(args.Options{
|
||||||
OutputPackage: "github.com/rancher/os/pkg/generated",
|
OutputPackage: "github.com/rancher/os2/pkg/generated",
|
||||||
Boilerplate: "scripts/boilerplate.go.txt",
|
Boilerplate: "scripts/boilerplate.go.txt",
|
||||||
Groups: map[string]args.Group{
|
Groups: map[string]args.Group{
|
||||||
"provisioning.cattle.io": {
|
"provisioning.cattle.io": {
|
||||||
|
@@ -4,11 +4,11 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
v1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/os/pkg/clients"
|
"github.com/rancher/os2/pkg/clients"
|
||||||
ranchercontrollers "github.com/rancher/os/pkg/generated/controllers/management.cattle.io/v3"
|
ranchercontrollers "github.com/rancher/os2/pkg/generated/controllers/management.cattle.io/v3"
|
||||||
provcontrollers "github.com/rancher/os/pkg/generated/controllers/provisioning.cattle.io/v1"
|
provcontrollers "github.com/rancher/os2/pkg/generated/controllers/provisioning.cattle.io/v1"
|
||||||
v12 "github.com/rancher/os/pkg/generated/controllers/rancheros.cattle.io/v1"
|
v12 "github.com/rancher/os2/pkg/generated/controllers/rancheros.cattle.io/v1"
|
||||||
v3 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
|
v3 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
|
||||||
"github.com/rancher/wrangler/pkg/name"
|
"github.com/rancher/wrangler/pkg/name"
|
||||||
apierrors "k8s.io/apimachinery/pkg/api/errors"
|
apierrors "k8s.io/apimachinery/pkg/api/errors"
|
||||||
|
@@ -4,11 +4,11 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/rancher/fleet/pkg/apis/fleet.cattle.io/v1alpha1"
|
"github.com/rancher/fleet/pkg/apis/fleet.cattle.io/v1alpha1"
|
||||||
provv1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
provv1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/os/pkg/clients"
|
"github.com/rancher/os2/pkg/clients"
|
||||||
fleetcontrollers "github.com/rancher/os/pkg/generated/controllers/fleet.cattle.io/v1alpha1"
|
fleetcontrollers "github.com/rancher/os2/pkg/generated/controllers/fleet.cattle.io/v1alpha1"
|
||||||
ranchercontrollers "github.com/rancher/os/pkg/generated/controllers/management.cattle.io/v3"
|
ranchercontrollers "github.com/rancher/os2/pkg/generated/controllers/management.cattle.io/v3"
|
||||||
oscontrollers "github.com/rancher/os/pkg/generated/controllers/rancheros.cattle.io/v1"
|
oscontrollers "github.com/rancher/os2/pkg/generated/controllers/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/wrangler/pkg/name"
|
"github.com/rancher/wrangler/pkg/name"
|
||||||
"github.com/rancher/wrangler/pkg/relatedresource"
|
"github.com/rancher/wrangler/pkg/relatedresource"
|
||||||
apierrors "k8s.io/apimachinery/pkg/api/errors"
|
apierrors "k8s.io/apimachinery/pkg/api/errors"
|
||||||
|
@@ -3,8 +3,8 @@ package managedos
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
osv1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
osv1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/os/pkg/clients"
|
"github.com/rancher/os2/pkg/clients"
|
||||||
upgradev1 "github.com/rancher/system-upgrade-controller/pkg/apis/upgrade.cattle.io/v1"
|
upgradev1 "github.com/rancher/system-upgrade-controller/pkg/apis/upgrade.cattle.io/v1"
|
||||||
corev1 "k8s.io/api/core/v1"
|
corev1 "k8s.io/api/core/v1"
|
||||||
rbacv1 "k8s.io/api/rbac/v1"
|
rbacv1 "k8s.io/api/rbac/v1"
|
||||||
|
@@ -20,7 +20,7 @@ package fleet
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/rancher/lasso/pkg/controller"
|
"github.com/rancher/lasso/pkg/controller"
|
||||||
v1alpha1 "github.com/rancher/os/pkg/generated/controllers/fleet.cattle.io/v1alpha1"
|
v1alpha1 "github.com/rancher/os2/pkg/generated/controllers/fleet.cattle.io/v1alpha1"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Interface interface {
|
type Interface interface {
|
||||||
|
@@ -20,7 +20,7 @@ package management
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/rancher/lasso/pkg/controller"
|
"github.com/rancher/lasso/pkg/controller"
|
||||||
v3 "github.com/rancher/os/pkg/generated/controllers/management.cattle.io/v3"
|
v3 "github.com/rancher/os2/pkg/generated/controllers/management.cattle.io/v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Interface interface {
|
type Interface interface {
|
||||||
|
@@ -20,7 +20,7 @@ package provisioning
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/rancher/lasso/pkg/controller"
|
"github.com/rancher/lasso/pkg/controller"
|
||||||
v1 "github.com/rancher/os/pkg/generated/controllers/provisioning.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/generated/controllers/provisioning.cattle.io/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Interface interface {
|
type Interface interface {
|
||||||
|
@@ -20,7 +20,7 @@ package rancheros
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/rancher/lasso/pkg/controller"
|
"github.com/rancher/lasso/pkg/controller"
|
||||||
v1 "github.com/rancher/os/pkg/generated/controllers/rancheros.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/generated/controllers/rancheros.cattle.io/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Interface interface {
|
type Interface interface {
|
||||||
|
@@ -20,7 +20,7 @@ package v1
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/rancher/lasso/pkg/controller"
|
"github.com/rancher/lasso/pkg/controller"
|
||||||
v1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/wrangler/pkg/schemes"
|
"github.com/rancher/wrangler/pkg/schemes"
|
||||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
)
|
)
|
||||||
|
@@ -24,7 +24,7 @@ import (
|
|||||||
|
|
||||||
"github.com/rancher/lasso/pkg/client"
|
"github.com/rancher/lasso/pkg/client"
|
||||||
"github.com/rancher/lasso/pkg/controller"
|
"github.com/rancher/lasso/pkg/controller"
|
||||||
v1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/wrangler/pkg/apply"
|
"github.com/rancher/wrangler/pkg/apply"
|
||||||
"github.com/rancher/wrangler/pkg/condition"
|
"github.com/rancher/wrangler/pkg/condition"
|
||||||
"github.com/rancher/wrangler/pkg/generic"
|
"github.com/rancher/wrangler/pkg/generic"
|
||||||
|
@@ -24,7 +24,7 @@ import (
|
|||||||
|
|
||||||
"github.com/rancher/lasso/pkg/client"
|
"github.com/rancher/lasso/pkg/client"
|
||||||
"github.com/rancher/lasso/pkg/controller"
|
"github.com/rancher/lasso/pkg/controller"
|
||||||
v1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/wrangler/pkg/apply"
|
"github.com/rancher/wrangler/pkg/apply"
|
||||||
"github.com/rancher/wrangler/pkg/condition"
|
"github.com/rancher/wrangler/pkg/condition"
|
||||||
"github.com/rancher/wrangler/pkg/generic"
|
"github.com/rancher/wrangler/pkg/generic"
|
||||||
|
@@ -4,9 +4,9 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/rancher/os/pkg/config"
|
"github.com/rancher/os2/pkg/config"
|
||||||
"github.com/rancher/os/pkg/questions"
|
"github.com/rancher/os2/pkg/questions"
|
||||||
"github.com/rancher/os/pkg/util"
|
"github.com/rancher/os2/pkg/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Ask(cfg *config.Config) error {
|
func Ask(cfg *config.Config) error {
|
||||||
|
@@ -6,8 +6,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
|
|
||||||
"github.com/rancher/os/pkg/config"
|
"github.com/rancher/os2/pkg/config"
|
||||||
"github.com/rancher/os/pkg/questions"
|
"github.com/rancher/os2/pkg/questions"
|
||||||
"sigs.k8s.io/yaml"
|
"sigs.k8s.io/yaml"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -3,11 +3,11 @@ package operator
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
v1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/os/pkg/clients"
|
"github.com/rancher/os2/pkg/clients"
|
||||||
"github.com/rancher/os/pkg/controllers/inventory"
|
"github.com/rancher/os2/pkg/controllers/inventory"
|
||||||
"github.com/rancher/os/pkg/controllers/managedos"
|
"github.com/rancher/os2/pkg/controllers/managedos"
|
||||||
"github.com/rancher/os/pkg/server"
|
"github.com/rancher/os2/pkg/server"
|
||||||
"github.com/rancher/steve/pkg/aggregation"
|
"github.com/rancher/steve/pkg/aggregation"
|
||||||
"github.com/rancher/wrangler/pkg/crd"
|
"github.com/rancher/wrangler/pkg/crd"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
@@ -8,10 +8,10 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
v1 "github.com/rancher/os/pkg/apis/rancheros.cattle.io/v1"
|
v1 "github.com/rancher/os2/pkg/apis/rancheros.cattle.io/v1"
|
||||||
"github.com/rancher/os/pkg/clients"
|
"github.com/rancher/os2/pkg/clients"
|
||||||
ranchercontrollers "github.com/rancher/os/pkg/generated/controllers/management.cattle.io/v3"
|
ranchercontrollers "github.com/rancher/os2/pkg/generated/controllers/management.cattle.io/v3"
|
||||||
roscontrollers "github.com/rancher/os/pkg/generated/controllers/rancheros.cattle.io/v1"
|
roscontrollers "github.com/rancher/os2/pkg/generated/controllers/rancheros.cattle.io/v1"
|
||||||
v3 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
|
v3 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
|
||||||
corecontrollers "github.com/rancher/wrangler/pkg/generated/controllers/core/v1"
|
corecontrollers "github.com/rancher/wrangler/pkg/generated/controllers/core/v1"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
|
@@ -9,7 +9,7 @@ build()
|
|||||||
dockerfile()
|
dockerfile()
|
||||||
{
|
{
|
||||||
cat << "EOF"
|
cat << "EOF"
|
||||||
ARG IMAGE=rancher/os:dev
|
ARG IMAGE=rancher/os2:dev
|
||||||
|
|
||||||
FROM ${IMAGE} AS os
|
FROM ${IMAGE} AS os
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ FROM tools AS ami
|
|||||||
ARG AWS_ACCESS_KEY_ID
|
ARG AWS_ACCESS_KEY_ID
|
||||||
ARG AWS_SECRET_ACCESS_KEY
|
ARG AWS_SECRET_ACCESS_KEY
|
||||||
ARG AWS_DEFAULT_REGION
|
ARG AWS_DEFAULT_REGION
|
||||||
ARG IMAGE=rancher/os:dev
|
ARG IMAGE=rancher/os2:dev
|
||||||
ARG NAME=RancherOS-Image-dev
|
ARG NAME=RancherOS-Image-dev
|
||||||
ARG VERSION=1
|
ARG VERSION=1
|
||||||
ARG GIT_COMMIT=HEAD
|
ARG GIT_COMMIT=HEAD
|
||||||
|
@@ -33,7 +33,7 @@ isoinfo -x /boot/kernel.xz -R -i build/output.iso > build/output-kernel
|
|||||||
isoinfo -x /boot/rootfs.xz -R -i build/output.iso > build/output-initrd
|
isoinfo -x /boot/rootfs.xz -R -i build/output.iso > build/output-initrd
|
||||||
|
|
||||||
|
|
||||||
RELEASE_URL=${RELEASE_URL:-https://github.com/rancher/os/releases/download}
|
RELEASE_URL=${RELEASE_URL:-https://github.com/rancher/os2/releases/download}
|
||||||
INSTALL_CFG=${RELEASE_URL}/${VERSION}/example-cloud-init
|
INSTALL_CFG=${RELEASE_URL}/${VERSION}/example-cloud-init
|
||||||
PXE_ASSET_VERSION="\${version}-\${arch}"
|
PXE_ASSET_VERSION="\${version}-\${arch}"
|
||||||
if [ "${TAG}" = "dev" ]; then
|
if [ "${TAG}" = "dev" ]; then
|
||||||
|
Reference in New Issue
Block a user