Skip to content

Commit

Permalink
Test oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
floryut committed Jul 5, 2021
1 parent 8eb2f61 commit 327221e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 49 deletions.
86 changes: 43 additions & 43 deletions .gitlab-ci/packet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ packet_debian10-containerd:
MITOGEN_ENABLE: "true"

packet_centos7-calico-ha-once-localhost:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
variables:
Expand All @@ -102,140 +102,140 @@ packet_centos7-calico-ha-once-localhost:
- docker:19.03.9-dind

packet_centos8-kube-ovn:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part2
extends: .packet_periodic
when: on_success

packet_centos8-calico:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success

packet_fedora34-weave:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success

packet_opensuse-canal:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part2
extends: .packet_periodic
when: on_success

packet_ubuntu18-ovn4nfv:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part2
extends: .packet_periodic
when: on_success

# ### MANUAL JOBS

packet_ubuntu16-weave-sep:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_ubuntu18-cilium-sep:
stage: deploy-part1
stage: deploy-special
extends: .packet_pr
when: on_success
when: manual

packet_ubuntu18-flannel-containerd-ha:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_ubuntu18-flannel-containerd-ha-once:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_debian9-macvlan:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_centos7-calico-ha:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_centos7-kube-router:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_centos7-multus-calico:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_oracle7-canal-ha:
stage: unit-tests
extends: .packet_pr
when: on_success
when: manual

packet_fedora33-calico:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part2
extends: .packet_periodic
when: on_success
variables:
MITOGEN_ENABLE: "true"

packet_amazon-linux-2-aio:
stage: deploy-part1
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual

packet_fedora34-kube-ovn-containerd:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part2
extends: .packet_periodic
when: on_success

# ### PR JOBS PART3
# Long jobs (45min+)

packet_centos7-weave-upgrade-ha:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part3
extends: .packet_periodic
when: on_success
variables:
UPGRADE_TEST: basic
MITOGEN_ENABLE: "false"

# Calico HA Wireguard
packet_ubuntu20-calico-ha-wireguard:
stage: unit-tests
stage: deploy-part2
extends: .packet_pr
when: on_success
when: manual
variables:
MITOGEN_ENABLE: "true"

packet_debian9-calico-upgrade:
stage: deploy-part1
stage: deploy-part3
extends: .packet_pr
when: on_success
variables:
UPGRADE_TEST: graceful
MITOGEN_ENABLE: "false"

packet_debian9-calico-upgrade-once:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part3
extends: .packet_periodic
when: on_success
variables:
UPGRADE_TEST: graceful
MITOGEN_ENABLE: "false"

packet_ubuntu18-calico-ha-recover:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part3
extends: .packet_periodic
when: on_success
variables:
RECOVER_CONTROL_PLANE_TEST: "true"
RECOVER_CONTROL_PLANE_TEST_GROUPS: "etcd[2:],kube_control_plane[1:]"

packet_ubuntu18-calico-ha-recover-noquorum:
stage: deploy-part1
extends: .packet_pr
stage: deploy-part3
extends: .packet_periodic
when: on_success
variables:
RECOVER_CONTROL_PLANE_TEST: "true"
Expand Down
7 changes: 1 addition & 6 deletions roles/container-engine/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
dnf:
enablerepo: "{{ docker_package_info.enablerepo | default(omit) }}"
yum:
enablerepo: "{{ docker_package_info.enablerepo | default(omit) }}"
enablerepo: "docker-ce"
zypper:
update_cache: true
register: docker_task_result
Expand All @@ -126,11 +126,6 @@
- not is_ostree
- docker_package_info.pkgs|length > 0

- name: Pause for 5 minutes to build app cache
pause:
minutes: 60


# This is required to ensure any apt upgrade will not break kubernetes
- name: Tell Debian hosts not to change the docker version with apt upgrade
dpkg_selections:
Expand Down

0 comments on commit 327221e

Please sign in to comment.