Mrunal Patel
4fd94187bc
Make the /opt/cni mount rw
...
kubernetes daemon sets want to be able to drop plugin
payload into the /opt/cni/bin directory.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2018-02-24 07:56:02 -08:00
Mrunal Patel
5f7ac28059
Update code for latest k8s
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2018-02-21 11:03:56 -08:00
Antonio Murdaca
6582f9dd16
system container: add /var/tmp as RW
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2018-02-12 17:11:37 +01:00
Mrunal Patel
28997fe4cd
Merge pull request #1304 from runcom/fix-ami-build
...
contrib: test: fix runc build on AMIs
2018-02-08 13:07:08 -08:00
Giuseppe Scrivano
64e25b8c1b
syscontainers, rhel: add ADDTL_MOUNTS
...
This allows to accept additional mounts during creation.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-02-07 17:38:39 +01:00
Giuseppe Scrivano
332aeee1b9
syscontainers, fedora: add ADDTL_MOUNTS
...
This allows to accept additional mounts during creation.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-02-07 17:38:32 +01:00
Giuseppe Scrivano
caf5615704
syscontainers, centos: add ADDTL_MOUNTS
...
This allows to accept additional mounts during creation.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-02-07 17:38:25 +01:00
Antonio Murdaca
3c859c0d60
contrib: test: fix runc build on AMIs
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2018-02-06 21:26:47 +01:00
Giuseppe Scrivano
bc7b273d67
integration/README.md: add missing newline
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-02-02 10:18:27 +01:00
Giuseppe Scrivano
4f955ae223
integration: allow to use runc from the host
...
Allow to override installation of runc so that the version already
installed can be used.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-02-02 10:18:16 +01:00
Antonio Murdaca
ef57cf2810
Merge pull request #1270 from mrunalp/bump_runc
...
test: Bump up runc to 9f9c96235cc97674e935002fc3d78361b696a69e
2018-01-31 16:20:04 +01:00
Mrunal Patel
d0fd1f5fa8
Bump up cri-tools to f1a58d681c056f259802f5cae2fe1fbcc6b28667
...
We need this to pick up a fix for attach test.
This change brings in changes to the crictl CLI
requiring changes to the integration tests.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2018-01-29 19:25:49 -08:00
Mrunal Patel
970b8d61a7
test: Bump up runc to 9f9c96235cc97674e935002fc3d78361b696a69e
...
This brings in a fix for a cgroups setup race condition
that we hit sometimes in the tests.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2018-01-23 11:06:21 -08:00
Antonio Murdaca
8d2a572ead
contrib: test: add node-e2e job
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2018-01-11 16:56:47 +01:00
Giuseppe Scrivano
2cb22eba49
syscontainer, fedora: create /var/run/crio
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-09 18:01:03 +01:00
Giuseppe Scrivano
6bb1b7e17d
syscontainer, rhel: create /var/run/crio
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-09 18:00:53 +01:00
Giuseppe Scrivano
b1b380d67b
syscontainer, centos: create /var/run/crio
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-09 18:00:43 +01:00
Giuseppe Scrivano
b5167d4e8f
syscontainer, centos: read env variables from files
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-04 20:14:52 +01:00
Giuseppe Scrivano
1f75ec82e1
syscontainer, fedora: read env variables from files
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-04 20:14:39 +01:00
Giuseppe Scrivano
3881f375b9
syscontainer, rhel: read env variables from files
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2018-01-04 20:14:29 +01:00
Daniel J Walsh
6c0b79b706
Merge pull request #1208 from runcom/moar-tests
...
contrib: test: integration: enable more e2e kube tests
2017-12-18 10:25:50 -05:00
Mrunal Patel
aee7dea272
Merge pull request #1227 from runcom/bump-runc-systemd-race
...
bump runc to c6e4a1ebeb1a72b529c6f1b6ee2b1ae5b868b14f
2017-12-15 08:56:40 -08:00
Antonio Murdaca
455245e65b
bump runc to c6e4a1ebeb1a72b529c6f1b6ee2b1ae5b868b14f
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-12-15 14:33:44 +01:00
Antonio Murdaca
7d2bde110a
contrib: test: integration: enable more e2e kube tests
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-12-14 22:21:42 +01:00
Nalin Dahyabhai
fa90249c59
Playbooks: install the atomic-registries package
...
Install atomic-registries to get a /etc/containers/registries.conf file,
so that we can resolve image names that don't include domain portions.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-12-14 14:23:53 -05:00
Nalin Dahyabhai
72442d0957
Don't skip a critest that we now pass
...
We can pass the "listImage should get exactly 2 repoTags in the result
image" test now, so we no longer need to skip it.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-12-14 14:23:53 -05:00
Nalin Dahyabhai
0ab8c507f4
Install python-rhsm-certificates, handle python-boto
...
Add python-rhsm-certificates to the list of packages that we require, so
that the required certificates are available for the
pull-image-with-signature tests.
Add per-distribution package install tasks so that we install either
python2-boto or python-boto, depending on whether we're running on
Fedora or RHEL/CentOS, respectively.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-12-14 14:23:53 -05:00
Nalin Dahyabhai
492f758176
Playbooks: don't assume the default network is eth0
...
Replace instances of "ansible_eth0.ipv4.address" with
"ansible_default_ipv4.address" in the integration test playbook, so that
we can run tests without depending on the name of the primary network
interface being "eth0".
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-12-14 14:23:53 -05:00
Antonio Murdaca
d91df68638
CI: split critest from e2e
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-12-14 00:09:36 +01:00
Mrunal Patel
da50e6ca11
Merge pull request #1197 from runcom/sys-cont
...
contrib: import system containers
2017-12-13 09:22:55 -08:00
Antonio Murdaca
f317ffce5b
vendor: bump to kube 1.10/master
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-12-11 16:45:48 +01:00
Antonio Murdaca
06904d4dbb
contrib: import system containers
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-12-02 12:24:40 +01:00
Mrunal Patel
32d2c2d57c
Bump up go version to 1.8.5
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-11-30 08:02:02 -08:00
Mrunal Patel
4cf4137be0
conmon: Add support for partial/newline log tags
...
This is for ttps://github.com/kubernetes/kubernetes/pull/55922
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-11-28 18:57:21 -08:00
Antonio Murdaca
03fb727f2b
CI: drop git-validation as it's never used
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-28 11:40:06 +01:00
Antonio Murdaca
2f344c7533
contrib: parametrize the crio socket for kube
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-22 14:14:06 +01:00
Antonio Murdaca
6da7193ff5
CI: wire in critest
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-21 11:19:37 +01:00
Chris Evich
bbd9a6528c
Remove disused contrib/rpm
...
I don't believe the files in this dir are actually used anymore. Remove
them so content can be added to this directory in the future w/o
clashing.
Signed-off-by: Chris Evich <cevich@redhat.com>
2017-11-17 11:49:18 -05:00
Daniel J Walsh
31111ba651
Merge pull request #1154 from runcom/move-crio-socket
...
Move crio default sock to /var/run/crio/crio.sock
2017-11-15 10:14:22 -05:00
Mrunal Patel
3596aa0155
test: Add a version var for kube branches
...
This allows us to cache a k8s branch for cri-o 1.0 branch
while allowing overriding of k8s branch in master and other
newer cri-o branches.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-11-14 09:58:53 -08:00
Mrunal Patel
8fe6dd36a4
Move crio default sock to /var/run/crio/crio.sock
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-14 16:11:43 +01:00
Antonio Murdaca
7a675ccd92
vendor: bump to Kube 1.9/master
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-13 19:57:20 +01:00
Antonio Murdaca
e99a78edff
*: add crictl.yaml
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-12 01:54:19 +01:00
Chris Evich
d49fb788da
Fix Local modifications exist in repository
...
Depending on the state of upstream repositories, it's possible the
kubernetes repo could change between the ``setup`` and ``run`` phase.
Alternatively, something during ``setup`` itself could mangle the repo.
Add an option to force clone the kubernetes repo. This gives support
for testing on multiple CRI-O branches, realizing some benefit from
caching, yet also allows hauling in brand-new-kubernetes for the e2e
tests.
Signed-off-by: Chris Evich <cevich@redhat.com>
2017-11-08 12:34:45 -05:00
Antonio Murdaca
4dce8e12a0
build k8s and cri-tools in place
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-02 16:12:47 +01:00
Antonio Murdaca
c25530ac0b
server: implement update container resources
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-02 16:07:52 +01:00
Antonio Murdaca
d6e819133d
*: initial update to kube 1.8
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-11-02 16:07:51 +01:00
Mrunal Patel
87e7280f5a
test: Add networking settings for critest
...
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-10-31 13:14:50 -07:00
Lokesh Mandvekar
74f744dc34
systemd: expand limits for tests
...
Borrowed from:
https://github.com/projectatomic/atomic-system-containers/pull/136
From: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2017-10-27 10:50:02 -04:00
Mrunal Patel
5a4ffef9d3
Merge pull request #1066 from nalind/storage-opts
...
tests: rename $STORAGE_OPTS to $STORAGE_OPTIONS
2017-10-24 21:01:33 -07:00