This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Renat Nurgaliyev
committed
Aug 2, 2018
1 parent
1bb3f1e
commit 3dd05c2
Showing
4 changed files
with
119 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,14 +7,14 @@ resources: | |
uri: https://github.com/rnurgaliyev/infra-automation-class.git | ||
branch: master | ||
|
||
# - name: version | ||
# type: semver | ||
# source: | ||
# driver: git | ||
# uri: [email protected]:rnurgaliyev/infra-automation-class.git | ||
# branch: version | ||
# file: version | ||
# private_key: ((SSH_KEY)) | ||
- name: version | ||
type: semver | ||
source: | ||
driver: git | ||
uri: [email protected]:rnurgaliyev/infra-automation-class.git | ||
branch: version | ||
file: version | ||
private_key: ((SSH_KEY)) | ||
|
||
- name: release | ||
type: github-release | ||
|
@@ -24,78 +24,78 @@ resources: | |
access_token: ((GITHUB_TOKEN)) | ||
|
||
jobs: | ||
# - name: keystone | ||
# plan: | ||
# - get: master | ||
# trigger: true | ||
# - task: automation test | ||
# file: master/ci/tasks/kitchen-test.yml | ||
# params: | ||
# CI_COMPONENT: keystone | ||
# SSH_KEY: ((SSH_KEY)) | ||
# OS_AUTH_URL: ((OS_AUTH_URL)) | ||
# OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
# OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
# OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
# OS_INTERFACE: ((OS_INTERFACE)) | ||
# OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
# OS_USERNAME: ((OS_USERNAME)) | ||
# OS_PASSWORD: ((OS_PASSWORD)) | ||
# OS_REGION_NAME: ((OS_REGION_NAME)) | ||
# OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
- name: keystone | ||
plan: | ||
- get: master | ||
trigger: true | ||
- task: automation test | ||
file: master/ci/tasks/kitchen-test.yml | ||
params: | ||
CI_COMPONENT: keystone | ||
OS_AUTH_URL: ((OS_AUTH_URL)) | ||
OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
OS_INTERFACE: ((OS_INTERFACE)) | ||
OS_PASSWORD: ((OS_PASSWORD)) | ||
OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
OS_REGION_NAME: ((OS_REGION_NAME)) | ||
OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
OS_USERNAME: ((OS_USERNAME)) | ||
SSH_KEY: ((SSH_KEY)) | ||
|
||
# - name: keystone-db | ||
# plan: | ||
# - get: master | ||
# trigger: true | ||
# - task: automation test | ||
# file: master/ci/tasks/kitchen-test.yml | ||
# params: | ||
# CI_COMPONENT: keystone-db | ||
# SSH_KEY: ((SSH_KEY)) | ||
# OS_AUTH_URL: ((OS_AUTH_URL)) | ||
# OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
# OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
# OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
# OS_INTERFACE: ((OS_INTERFACE)) | ||
# OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
# OS_USERNAME: ((OS_USERNAME)) | ||
# OS_PASSWORD: ((OS_PASSWORD)) | ||
# OS_REGION_NAME: ((OS_REGION_NAME)) | ||
# OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
- name: keystone-db | ||
plan: | ||
- get: master | ||
trigger: true | ||
- task: automation test | ||
file: master/ci/tasks/kitchen-test.yml | ||
params: | ||
CI_COMPONENT: keystone-db | ||
OS_AUTH_URL: ((OS_AUTH_URL)) | ||
OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
OS_INTERFACE: ((OS_INTERFACE)) | ||
OS_PASSWORD: ((OS_PASSWORD)) | ||
OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
OS_REGION_NAME: ((OS_REGION_NAME)) | ||
OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
OS_USERNAME: ((OS_USERNAME)) | ||
SSH_KEY: ((SSH_KEY)) | ||
|
||
# - name: loadbalancer | ||
# plan: | ||
# - get: master | ||
# trigger: true | ||
# - task: automation test | ||
# file: master/ci/tasks/kitchen-test.yml | ||
# params: | ||
# CI_COMPONENT: loadbalancer | ||
# SSH_KEY: ((SSH_KEY)) | ||
# OS_AUTH_URL: ((OS_AUTH_URL)) | ||
# OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
# OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
# OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
# OS_INTERFACE: ((OS_INTERFACE)) | ||
# OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
# OS_USERNAME: ((OS_USERNAME)) | ||
# OS_PASSWORD: ((OS_PASSWORD)) | ||
# OS_REGION_NAME: ((OS_REGION_NAME)) | ||
# OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
- name: loadbalancer | ||
plan: | ||
- get: master | ||
trigger: true | ||
- task: automation test | ||
file: master/ci/tasks/kitchen-test.yml | ||
params: | ||
CI_COMPONENT: loadbalancer | ||
OS_AUTH_URL: ((OS_AUTH_URL)) | ||
OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
OS_INTERFACE: ((OS_INTERFACE)) | ||
OS_PASSWORD: ((OS_PASSWORD)) | ||
OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
OS_REGION_NAME: ((OS_REGION_NAME)) | ||
OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
OS_USERNAME: ((OS_USERNAME)) | ||
SSH_KEY: ((SSH_KEY)) | ||
|
||
# - name: Publish release | ||
# plan: | ||
# - get: master | ||
# passed: [keystone, keystone-db, loadbalancer] | ||
# trigger: true | ||
# - put: version | ||
# params: | ||
# bump: minor | ||
# - put: release | ||
# params: | ||
# name: version/version | ||
# tag: version/version | ||
- name: Publish release | ||
plan: | ||
- get: master | ||
passed: [keystone, keystone-db, loadbalancer] | ||
trigger: true | ||
- put: version | ||
params: | ||
bump: minor | ||
- put: release | ||
params: | ||
name: version/version | ||
tag: version/version | ||
|
||
- name: Build images | ||
plan: | ||
|
@@ -105,34 +105,38 @@ jobs: | |
include_source_tarball: true | ||
- get: master | ||
- aggregate: | ||
# - task: Build keystone image | ||
# file: master/ci/tasks/build-image.yml | ||
# params: | ||
# CI_COMPONENT: keystone | ||
# OS_AUTH_URL: ((OS_AUTH_URL)) | ||
# OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
# OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
# OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
# OS_INTERFACE: ((OS_INTERFACE)) | ||
# OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
# OS_USERNAME: ((OS_USERNAME)) | ||
# OS_PASSWORD: ((OS_PASSWORD)) | ||
# OS_REGION_NAME: ((OS_REGION_NAME)) | ||
# OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
# - task: Build keystone-db image | ||
# file: master/ci/tasks/build-image.yml | ||
# params: | ||
# CI_COMPONENT: keystone-db | ||
# OS_AUTH_URL: ((OS_AUTH_URL)) | ||
# OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
# OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
# OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
# OS_INTERFACE: ((OS_INTERFACE)) | ||
# OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
# OS_USERNAME: ((OS_USERNAME)) | ||
# OS_PASSWORD: ((OS_PASSWORD)) | ||
# OS_REGION_NAME: ((OS_REGION_NAME)) | ||
# OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
- task: Build keystone image | ||
file: master/ci/tasks/build-image.yml | ||
params: | ||
CI_COMPONENT: keystone | ||
OS_AUTH_URL: ((OS_AUTH_URL)) | ||
OS_DOMAIN_NAME: ((OS_DOMAIN_NAME)) | ||
OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
OS_INTERFACE: ((OS_INTERFACE)) | ||
OS_PASSWORD: ((OS_PASSWORD)) | ||
OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
OS_REGION_NAME: ((OS_REGION_NAME)) | ||
OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
OS_USERNAME: ((OS_USERNAME)) | ||
SSH_KEY: ((SSH_KEY)) | ||
- task: Build keystone-db image | ||
file: master/ci/tasks/build-image.yml | ||
params: | ||
CI_COMPONENT: keystone-db | ||
OS_AUTH_URL: ((OS_AUTH_URL)) | ||
OS_DOMAIN_NAME: ((OS_DOMAIN_NAME)) | ||
OS_ENDPOINT_TYPE: ((OS_ENDPOINT_TYPE)) | ||
OS_IDENTITY_API_VERSION: ((OS_IDENTITY_API_VERSION)) | ||
OS_INTERFACE: ((OS_INTERFACE)) | ||
OS_PASSWORD: ((OS_PASSWORD)) | ||
OS_PROJECT_ID: ((OS_PROJECT_ID)) | ||
OS_PROJECT_NAME: ((OS_PROJECT_NAME)) | ||
OS_REGION_NAME: ((OS_REGION_NAME)) | ||
OS_USER_DOMAIN_NAME: ((OS_USER_DOMAIN_NAME)) | ||
OS_USERNAME: ((OS_USERNAME)) | ||
SSH_KEY: ((SSH_KEY)) | ||
- task: Build loadbalancer image | ||
file: master/ci/tasks/build-image.yml | ||
params: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters