Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Hepto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACIDES
Hepto
Commits
4f1f243e
Commit
4f1f243e
authored
1 year ago
by
kaiyou
Browse files
Options
Downloads
Patches
Plain Diff
Install helm properly for CI
parent
2d6dc0c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#29267
failed
1 year ago
Stage: build
Stage: upload
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-2
0 additions, 2 deletions
.gitlab-ci.yml
ansible/test_podinfo.yaml
+6
-1
6 additions, 1 deletion
ansible/test_podinfo.yaml
with
6 additions
and
3 deletions
.gitlab-ci.yml
+
0
−
2
View file @
4f1f243e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
ansible/test_podinfo.yaml
+
6
−
1
View file @
4f1f243e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment