mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 10:29:22 +02:00
Add multi-arch image via Bazel (#1452)
* Add multi-arch image via Bazel * Drop the commented tags * Move tests to //integration
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
FROM ubuntu
|
||||
RUN echo Hello
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
schemaVersion: "1.0.0"
|
||||
commandTests:
|
||||
- name: Trivial build
|
||||
command: ["/kaniko/executor", "--no-push", "--dockerfile", "./Dockerfile.trivial"]
|
||||
exitCode: 0
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
schemaVersion: "1.0.0"
|
||||
commandTests:
|
||||
- name: check fixed name
|
||||
command: ["/kaniko/executor"]
|
||||
expectedError: ['Usage:']
|
||||
exitCode: 1
|
||||
- name: check PATH
|
||||
command: ["executor"]
|
||||
expectedError: ['Usage:']
|
||||
exitCode: 1
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
schemaVersion: "1.0.0"
|
||||
fileExistenceTests:
|
||||
# Basic FS sanity checks.
|
||||
- name: root
|
||||
path: '/'
|
||||
shouldExist: true
|
||||
- name: certs
|
||||
path: '/kaniko/ssl/certs/ca-certificates.crt'
|
||||
shouldExist: true
|
||||
- name: certs
|
||||
path: '/etc/nsswitch.conf'
|
||||
shouldExist: true
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
schemaVersion: "1.0.0"
|
||||
fileExistenceTests:
|
||||
# Basic FS sanity checks.
|
||||
- name: trivial testdata Dockerfile
|
||||
path: '/workspace/Dockerfile.trivial'
|
||||
shouldExist: true
|
||||
Reference in New Issue
Block a user