Skip to content
Snippets Groups Projects
Commit e297fc61 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Update .gitlab-ci.yml file

parent 0f413df7
No related branches found
No related tags found
No related merge requests found
default:
image: $CI_REGISTRY_IMAGE:latest
variables:
CAMPUS_IP: 138.26.48.47
TEST_IP: 138.26.48.62
ANSIBLE_REMOTE_TMP: "/tmp"
AWS_DEFAULT_REGION: "bhm"
OS_AUTH_TYPE: "v3applicationcredential"
OS_AUTH_URL: "https://keystone.cloud.rc.uab.edu:5000/v3"
OS_IDENTITY_API_VERSION: "3"
OS_INTERFACE: "public"
OS_REGION_NAME: "bhm1"
PKR_VAR_flavor: "m1.small"
PKR_VAR_source_image: "CentOS-7-x86_64-GenericCloud-2009"
PKR_VAR_floating_ip_network: "uab-campus"
PKR_VAR_security_groups: '["allow-ssh"]'
PKR_VAR_skip_create_image: "false"
PKR_VAR_ssh_username: "centos"
PKR_VAR_networks: '["256e12b8-685e-48bf-ad47-b0985c9383c0"]'
GIT_AUTHOR_NAME: "Gitlab runner"
GIT_AUTHOR_EMAIL: "gitlab@runner"
NUM_SERVER_TO_KEEP: 5
NUM_IMAGE_TO_KEEP: 30
PACKER_VER: 1.8.3
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
- build - build
- test - test
...@@ -31,6 +5,7 @@ stages: # List of stages for jobs, and their order of execution ...@@ -31,6 +5,7 @@ stages: # List of stages for jobs, and their order of execution
build-job: # This job runs in the build stage, which runs first. build-job: # This job runs in the build stage, which runs first.
stage: build stage: build
tags: [build]
script: script:
- echo "Compiling the code..." - echo "Compiling the code..."
- echo "Compile complete." - echo "Compile complete."
......
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