Skip to content
Snippets Groups Projects
Commit 4f1f243e authored by kaiyou's avatar kaiyou
Browse files

Install helm properly for CI

parent 2d6dc0c9
No related branches found
No related tags found
No related merge requests found
Pipeline #29267 failed
......@@ -26,11 +26,9 @@ compile:
.before_script_template: &ansible-job
image: docker.tedomum.net/acides/ansible-ci:main
before_script:
- apk --no-cache add openssh-client
- echo "$VAULT_PASSWORD" > /tmp/vault
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_KEY"|base64 -d)
- pip install ansible boto3 netaddr
variables:
ANSIBLE_ARGS: -i .ansible-ci.yaml --vault-password-file /tmp/vault -e node_prefix=ci-$CI_JOB_ID
......
......@@ -2,9 +2,14 @@
# Import the cloud playbook to populate inventory
- import_playbook: cloud.yaml
# Install helm
- hosts: master
roles:
- helm
# Do the actual testing from master
- hosts: master
tasks:
tasks:
- name: Deploy podinfo
ansible.builtin.shell: |
helm repo add --force-update podinfo https://stefanprodan.github.io/podinfo
......
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