Skip to content
Snippets Groups Projects
Verified Commit 5eda2174 authored by Varac's avatar Varac
Browse files

Add version info script

parent 72d9847c
No related branches found
No related tags found
No related merge requests found
......@@ -48,11 +48,15 @@ bootstrap:
install:
stage: install-apps
variables:
ANSIBLE_HOST_KEY_CHECKING: 'False'
script:
- cd test/
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- ANSIBLE_HOST_KEY_CHECKING=False python3 -u ./ci-bootstrap.py --use-existing-inventory --run-ansible --ansible-param tags=helmfile --write-behave-config
- python3 -u ./ci-bootstrap.py --use-existing-inventory --run-ansible --ansible-param tags=helmfile --write-behave-config
# Show versions of installed apps/binaries
- ansible master -m shell -a 'oas-version-info.sh 2>&1'
artifacts:
paths:
- test/behave/behave.ini
......
#!/bin/bash -x
kubectl version
kubectl krew version
docker version | grep -B2 Version
helm version
helm plugin list
rke --version
helmfile --version
helm ls
......@@ -92,3 +92,13 @@
- 'oas_control'
- 'oas_controlshell'
become: true
- name: Install oas-version-info.sh script
tags:
- debug
- scripts
copy:
dest: /usr/local/bin/
src: oas-version-info.sh
mode: '0755'
become: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment