-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (32 loc) · 2.08 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
os: Ubuntu2004
platform:
- x64
install:
- sudo apt update && sudo apt install --allow-unauthenticated -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils ruby-dev libvirt-dev
- sudo wget -nv https://releases.hashicorp.com/vagrant/2.2.9/vagrant_2.2.9_x86_64.deb
- sudo dpkg -i vagrant_2.2.9_x86_64.deb
- sudo vagrant plugin install vagrant-libvirt vagrant-scp vagrant-reload vagrant-vbguest
- git submodule update --init --recursive
build_script:
- cp -v salt/roots/pillar/podman.sls.example salt/roots/pillar/podman.sls
- cp -v salt/roots/pillar/elk.sls.example salt/roots/pillar/elk.sls
- cp -v salt/roots/pillar/nginx.sls.example salt/roots/pillar/nginx.sls
- cp -v salt/roots/pillar/zabbix-agent.sls.example salt/roots/pillar/zabbix-agent.sls
- cp -v salt/roots/formulas/elk-formula/elk/files/pipelines/logstash.conf.example salt/roots/formulas/elk-formula/elk/files/pipelines/logstash.conf
- cp -v salt/roots/formulas/elk-formula/elk/files/pipelines.yml.example salt/roots/formulas/elk-formula/elk/files/pipelines.yml
- cp -v vagrant/examples/Vagrantfile.elk-box.fedora-34.x86_64.example vagrant/Vagrantfile.elk-box
- sudo vagrant up --provider=libvirt elk-box
- sudo vagrant ssh elk-box -- sudo salt-call state.highstate
- sudo vagrant ssh elk-box -- sudo salt-call state.sls elk.config
- sudo vagrant ssh elk-box -- sudo salt-call state.sls elk.config.nginx
- sudo vagrant ssh elk-box -- sudo salt-call state.sls elk.service.elasticsearch
- sudo vagrant ssh elk-box -- sudo salt-call state.sls elk.service.logstash
- sudo vagrant ssh elk-box -- sudo salt-call state.sls elk.service.kibana
- sudo vagrant destroy --force elk-box
on_success:
- wget https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh
- sudo bash install.sh
- nvm install lts/*
- npm i -D semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/npm @semantic-release/github @semantic-release/git @semantic-release/exec @commitlint/cli @commitlint/config-conventional
- npx semantic-release
test: off