-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #746 from cheesesashimi/zzlotnik/add-openshift-der…
…ivation-test adds openshift image derivation test
- Loading branch information
Showing
7 changed files
with
3,327 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# For CI on a config git repo, all we need to do is combine | ||
# the source code with coreos-assembler into an image to test. | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.17-openshift-4.10 AS builder | ||
WORKDIR /go/src/github.com/openshift/os | ||
COPY . . | ||
# Prevent go mod from requiring a vendor directory. | ||
ENV GOFLAGS=-mod=mod | ||
# Compile our layering test binary for future use. | ||
RUN go test -v -c -o layering_test ./tests/layering | ||
|
||
FROM registry.svc.ci.openshift.org/coreos/coreos-assembler:latest | ||
WORKDIR /src | ||
COPY --from=builder /go/src/github.com/openshift/os/layering_test /usr/local/bin/layering_test | ||
COPY . . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
module github.com/openshift/os | ||
|
||
go 1.17 | ||
|
||
require ( | ||
github.com/openshift/api v0.0.0-20220310165943-abf6417c2748 | ||
github.com/openshift/machine-config-operator v0.0.1-0.20220312201823-427d011f6de7 | ||
github.com/stretchr/testify v1.7.0 | ||
k8s.io/api v0.23.4 | ||
k8s.io/apimachinery v0.23.4 | ||
k8s.io/client-go v0.23.1 | ||
k8s.io/kubectl v0.23.0 | ||
k8s.io/kubernetes v1.23.0 | ||
) | ||
|
||
require ( | ||
github.com/clarketm/json v1.14.1 // indirect | ||
github.com/coreos/go-semver v0.3.0 // indirect | ||
github.com/coreos/go-systemd/v22 v22.3.2 // indirect | ||
github.com/coreos/ignition/v2 v2.13.0 // indirect | ||
github.com/coreos/vcontext v0.0.0-20211021162308-f1dbbca7bef4 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-logr/logr v1.2.2 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/glog v1.0.0 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/go-cmp v0.5.7 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/uuid v1.2.0 // indirect | ||
github.com/googleapis/gnostic v0.5.5 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/moby/spdystream v0.2.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/onsi/ginkgo v1.16.5 // indirect | ||
github.com/onsi/gomega v1.17.0 // indirect | ||
github.com/openshift/client-go v0.0.0-20211209144617-7385dd6338e3 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/vincent-petithory/dataurl v1.0.0 // indirect | ||
golang.org/x/net v0.0.0-20210825183410-e898025ed96a // indirect | ||
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect | ||
golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8 // indirect | ||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
k8s.io/apiextensions-apiserver v0.23.1 // indirect | ||
k8s.io/apiserver v0.23.0 // indirect | ||
k8s.io/component-base v0.23.0 // indirect | ||
k8s.io/klog/v2 v2.40.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect | ||
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect | ||
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect | ||
sigs.k8s.io/yaml v1.3.0 // indirect | ||
) | ||
|
||
replace ( | ||
github.com/InVisionApp/go-health => github.com/InVisionApp/go-health v1.1.7-0.20190926150048-b5cab38233bb | ||
github.com/go-log/log => github.com/go-log/log v0.1.1-0.20181211034820-a514cf01a3eb | ||
github.com/godbus/dbus => github.com/godbus/dbus v0.0.0-20190623212516-8a1682060722 | ||
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.1 | ||
github.com/opencontainers/runtime-spec => github.com/opencontainers/runtime-spec v0.1.2-0.20190408193819-a1b50f621a48 | ||
github.com/openshift/cluster-api => github.com/openshift/cluster-api v0.0.0-20191129101638-b09907ac6668 | ||
github.com/securego/gosec => github.com/securego/gosec v0.0.0-20190709033609-4b59c948083c | ||
k8s.io/api => k8s.io/api v0.23.0 | ||
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.23.0 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.23.0 | ||
k8s.io/apiserver => k8s.io/apiserver v0.23.0 | ||
k8s.io/cli-runtime => k8s.io/cli-runtime v0.23.0 | ||
k8s.io/client-go => k8s.io/client-go v0.23.0 | ||
k8s.io/cloud-provider => k8s.io/cloud-provider v0.23.0 | ||
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.23.0 | ||
k8s.io/code-generator => k8s.io/code-generator v0.23.0 | ||
k8s.io/component-base => k8s.io/component-base v0.23.0 | ||
k8s.io/component-helpers => k8s.io/component-helpers v0.23.0 | ||
k8s.io/controller-manager => k8s.io/controller-manager v0.23.0 | ||
k8s.io/cri-api => k8s.io/cri-api v0.23.0 | ||
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.23.0 | ||
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.23.0 | ||
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.23.0 | ||
k8s.io/kube-proxy => k8s.io/kube-proxy v0.23.0 | ||
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.23.0 | ||
k8s.io/kubectl => k8s.io/kubectl v0.23.0 | ||
k8s.io/kubelet => k8s.io/kubelet v0.23.0 | ||
k8s.io/kubernetes => k8s.io/kubernetes v1.23.0 | ||
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.23.0 | ||
k8s.io/metrics => k8s.io/metrics v0.23.0 | ||
k8s.io/mount-utils => k8s.io/mount-utils v0.23.0 | ||
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.23.0 | ||
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.23.0 | ||
) |
Oops, something went wrong.