Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
terraform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
HADOOP
terraform
Commits
63a9d47c
Commit
63a9d47c
authored
4 years ago
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
gitLab CI: make image configurable
parent
8474b40c
No related branches found
No related tags found
No related merge requests found
Pipeline
#545
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-3
4 additions, 3 deletions
.gitlab-ci.yml
with
4 additions
and
3 deletions
.gitlab-ci.yml
+
4
−
3
View file @
63a9d47c
...
...
@@ -7,9 +7,10 @@ stages:
-
deploy
variables
:
IMAGE
:
debian-9-x86_64_hadoop_rc
JOB
:
check
PYTHONUNBUFFERED
:
1
SENSITIVE
:
1
JOB
:
check
flake8
:
stage
:
build
...
...
@@ -36,7 +37,7 @@ terraform-single:
-
"
.terraform/"
-
"
*.tfstate"
script
:
-
./launch.sh -var type=hadoop-single -var flavor=standard.large -var n=0 -var domain=terra1
-
./launch.sh -var type=hadoop-single -var flavor=standard.large -var n=0 -var domain=terra1
-var image=$IMAGE
-
ansible -i ./inventory -m synchronize -a 'src=image/tests dest=/home/debian/ mode=push' master
-
ansible -i ./inventory --become-user=debian -m command -a 'sh -xe ~/tests/run-tests.sh' master
-
terraform destroy -auto-approve
...
...
@@ -56,7 +57,7 @@ terraform-cluster:
-
"
.terraform/"
-
"
*.tfstate"
script
:
-
./launch.sh -var type=hadoop -var domain=terra2
-
./launch.sh -var type=hadoop -var domain=terra2
-var image=$IMAGE
-
ansible -i ./inventory -m synchronize -a 'src=image/tests dest=/home/debian/ mode=push' master
-
ansible -i ./inventory --become-user=debian -m command -a 'sh -xe ~/tests/run-tests.sh' master
-
terraform destroy -auto-approve
...
...
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