Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Use preinstalled dependencies for ubuntu #3169

Draft
wants to merge 79 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
8340718
Use preinstalled dependencies for ubuntu
pazone Oct 26, 2022
86808c7
Use the new ubuntu image for the stack
pazone Oct 27, 2022
3c358dc
Use latest preinstalled AMI
pazone Oct 27, 2022
93303fc
Added image_id param
pazone Oct 27, 2022
5be1b63
Pick stack image by name
pazone Oct 28, 2022
1f81e3e
Ansible: removed intermediate nodeUser variable in Ansible to use ans…
pazone Oct 28, 2022
00f294d
Ansible: added default value for ansible_user for docker role
pazone Oct 28, 2022
67e4d9a
Ansible: added default value for ansible_user for main.yml
pazone Oct 28, 2022
7eff647
Ansible: test change
pazone Oct 31, 2022
fcef5a4
Ansible: disabled ssh-import-id installation
pazone Oct 31, 2022
ba1c808
Ansible: disabled ssh-import-id installation
pazone Nov 2, 2022
4b6ab6c
test: execute setup-node on preinstalled runner machine
pazone Nov 2, 2022
a54f589
removed sshd killing task
pazone Nov 3, 2022
a4de617
Skip setup-node when dependencies are preinstalled
pazone Nov 3, 2022
f2a507d
Run all tests on ubuntu preinstalled
pazone Nov 3, 2022
1a1f026
Make helm always installed
pazone Nov 3, 2022
0c10008
Introduced variables
pazone Nov 3, 2022
dbac069
Debian 10, 11 and arm
pazone Nov 7, 2022
922e0d5
CentOs8 AMD+ARM, Windows2019
pazone Nov 7, 2022
13a3f22
Added explicit EBS mappings to AMIs
pazone Nov 10, 2022
d92e3b4
Windows 2019 AMI with preinstalled dependencies
pazone Nov 15, 2022
af357ed
Windows 2019 AMI with preinstalled dependencies: fixed image name
pazone Nov 15, 2022
5f1920e
Windows 2019 AMI with preinstalled dependencies: removed main ebs map…
pazone Nov 15, 2022
94fd1c2
CI: Moved arbitrary functions to e2eUtils.groovy
pazone Nov 30, 2022
7209c3d
Fixed missin comma
pazone Dec 5, 2022
d6de2d9
Added required script blocks
pazone Dec 5, 2022
ab4df07
Fixed utils path
pazone Dec 5, 2022
39b7231
Declared e2eUtils globally
pazone Dec 5, 2022
257b866
Declared e2eUtils globally
pazone Dec 5, 2022
ab11d1f
Fixed githubCheckNotify declaration
pazone Dec 5, 2022
4b8f624
Fixed githubCheckNotify declaration
pazone Dec 5, 2022
3254209
Fixed rune2e declaration
pazone Dec 6, 2022
5619efc
Fixed rune2e suites condition
pazone Dec 6, 2022
b749960
Init e2eUtils with workerStatus
pazone Dec 6, 2022
d277a5a
troubleshooting nodeImage
pazone Dec 6, 2022
4941c8f
Fix imports
pazone Dec 6, 2022
432476a
Fix imports
pazone Dec 6, 2022
d982fbe
Fix imports
pazone Dec 6, 2022
7dac936
Fix imports
pazone Dec 6, 2022
5e3c35e
Added organisation arn variable
pazone Dec 7, 2022
fedb5e7
Added packer build step
pazone Dec 7, 2022
159c1bb
Added packer build step
pazone Dec 7, 2022
60ff1ed
Added packer build step
pazone Dec 7, 2022
3939873
Added packer build step
pazone Dec 7, 2022
bb7adbd
Added packer build step
pazone Dec 7, 2022
eb7d190
added withPackerEnv
pazone Dec 7, 2022
15e41b7
added withPackerEnv
pazone Dec 7, 2022
4e9d4da
added withPackerEnv
pazone Dec 7, 2022
8c69a6a
added withPackerEnv
pazone Dec 7, 2022
84d6b4b
Specified ansible paths
pazone Dec 8, 2022
fe3b055
Added mandatory tags
pazone Dec 8, 2022
1472b86
Fix makefile
pazone Dec 8, 2022
6b8cd68
Fixed packer ansible command variables
pazone Dec 8, 2022
5eca961
Fixed packer ansible command variables
pazone Dec 8, 2022
aff2207
debug paths
pazone Dec 8, 2022
6c4b408
Debug ansible playbook path
pazone Dec 12, 2022
9b4543c
packer: Unquoted command variables
pazone Dec 20, 2022
ed4e9b5
Makefile: added vars to packer validate
pazone Dec 20, 2022
a07e3ac
packer: remover org_arn parameter
pazone Dec 20, 2022
6e7ac2a
packer: remover org_arn parameter
pazone Dec 20, 2022
1b26936
added ami suffix specifier
pazone Dec 21, 2022
06664c6
amis deletion test
pazone Dec 22, 2022
4fcd1b7
ansible: converted delete amis to a single playbook
pazone Dec 23, 2022
b8dccb0
Jenkinsfile: Added internal post stage to deregister amis
pazone Dec 23, 2022
39e00f8
Jenkinsfile: Added internal post stage to deregister amis
pazone Dec 23, 2022
8aec03c
packer: temporary commented sles15 due to a problem
pazone Dec 23, 2022
046dc4c
changed deregister condition
pazone Jan 20, 2023
40c2950
merge with main
pazone Jan 23, 2023
a303538
fixed merge mistakes
pazone Jan 23, 2023
9016d37
fixed merge mistakes
pazone Jan 23, 2023
c2782a5
fixed merge mistakes
pazone Jan 23, 2023
f5a2d94
fixed merge mistakes
pazone Jan 23, 2023
47b34fa
fixed merge mistakes
pazone Jan 23, 2023
2f7beac
fixed merge mistakes
pazone Jan 23, 2023
6087370
test deploy test infra
pazone Jan 24, 2023
e340e95
test deploy test infra
pazone Jan 24, 2023
5e4f31f
test deploy test infra
pazone Jan 24, 2023
7dc8075
test deploy test infra
pazone Jan 24, 2023
5dd1b42
test deploy test infra
pazone Jan 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .ci/.e2e-platforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,62 @@ PLATFORMS:
instance_type: "t3.xlarge"
shell_type: sh
username: ubuntu

# Machines with preinstalled dependencies
# Argument "image" doesn't fully specify the AMI name.
# The result image name is concatenated with branch name and corresponds to pattern:
# [image]-[branch]
# for example:
# - ubuntu-2204-e2e-runner-main
# - ubuntu-2204-e2e-runner-8.3
# - ubuntu-2204-e2e-runner-PR-3698 (a temporary AMI is being built and tested when we change ansible packer dirs)
ubuntu_22_04_amd64_preinstalled:
description: "Ubuntu 22.04 AMD64 Preinstalled"
image: "ubuntu-2204-e2e-runner"
instance_type: "t3.xlarge"
shell_type: sh
username: ubuntu
dependencies_installed: true
debian_10_arm64_preinstalled:
description: "Debian 10 ARM64 Preinstalled"
image: "debian-10-arm64-runner"
instance_type: "a1.large"
shell_type: sh
username: admin
dependencies_installed: true
debian_10_amd64_preinstalled:
description: "Debian 10 AMD64 Preinstalled"
image: "debian-10-amd64-runner"
instance_type: "t3.xlarge"
shell_type: sh
username: admin
dependencies_installed: true
debian_11_amd64_preinstalled:
description: "Debian 11 AMD64 Preinstalled"
image: "debian-11-amd64-runner"
instance_type: "t3.xlarge"
shell_type: sh
username: admin
dependencies_installed: true
centos8_arm64_preinstalled:
description: "CentOS Stream 8 aarch64 preinstalled"
image: "centos-8-arm64-runner"
instance_type: "a1.large"
shell_type: sh
username: centos
dependencies_installed: true
centos8_amd64_preinstalled:
description: "CentOS Stream 8 x86_64"
image: "centos-8-amd64-runner"
instance_type: "t3.xlarge"
shell_type: sh
username: centos
dependencies_installed: true
windows2019_preinstalled:
description: "Windows 2019 x86_64 (HVM) preinstalled"
image: "windows-2019-runner"
instance_type: "c5.2xlarge"
shell_type: cmd
username: ogc
dependencies_installed: true

19 changes: 19 additions & 0 deletions .ci/.e2e-tests-tmp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
SUITES:
# - suite: "helm"
# provider: "docker"
# scenarios:
# - name: "APM Server"
# tags: "apm-server"
# platforms: [ "debian_10_amd64_preinstalled" ]
# - name: "Filebeat"
# tags: "filebeat"
# platforms: [ "debian_10_amd64_preinstalled" ]
# - name: "Metricbeat"
# tags: "metricbeat"
# platforms: [ "debian_10_amd64_preinstalled" ]
- suite: "fleet"
scenarios:
- name: "Fleet"
tags: "fleet_mode"
platforms: ["centos8_amd64_preinstalled"]
Loading