Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
02f8dc9b
Commit
02f8dc9b
authored
Aug 14, 2017
by
nadeemshahzad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "tag ami with configuration_internal commit hash"
This reverts commit
afbceb3c
.
parent
afbceb3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
util/vpc-tools/abbey.py
+1
-3
No files found.
util/vpc-tools/abbey.py
View file @
02f8dc9b
...
@@ -493,8 +493,6 @@ if [[ ! -z $git_repo_internal ]]; then
...
@@ -493,8 +493,6 @@ if [[ ! -z $git_repo_internal ]]; then
$git_cmd clone $git_repo_internal $git_repo_internal_name
$git_cmd clone $git_repo_internal $git_repo_internal_name
cd $git_repo_internal_name
cd $git_repo_internal_name
$git_cmd checkout $configuration_internal_version
$git_cmd checkout $configuration_internal_version
CONFIGURATION_INTERNAL_COMMIT_HASH=$($git_cmd rev-parse --short HEAD)
export CONFIGURATION_INTERNAL_COMMIT_HASH
cd $base_dir
cd $base_dir
fi
fi
...
@@ -719,7 +717,7 @@ def create_ami(instance_id, name, description):
...
@@ -719,7 +717,7 @@ def create_ami(instance_id, name, description):
conf_secure_tag
=
"{} {}"
.
format
(
args
.
configuration_secure_repo
,
args
.
configuration_secure_version
)
conf_secure_tag
=
"{} {}"
.
format
(
args
.
configuration_secure_repo
,
args
.
configuration_secure_version
)
img
.
add_tag
(
"version:configuration_secure"
,
conf_secure_tag
)
img
.
add_tag
(
"version:configuration_secure"
,
conf_secure_tag
)
time
.
sleep
(
AWS_API_WAIT_TIME
)
time
.
sleep
(
AWS_API_WAIT_TIME
)
conf_internal_tag
=
"{} {}"
.
format
(
args
.
configuration_internal_repo
,
os
.
environ
[
'CONFIGURATION_INTERNAL_COMMIT_HASH'
]
)
conf_internal_tag
=
"{} {}"
.
format
(
args
.
configuration_internal_repo
,
args
.
configuration_internal_version
)
img
.
add_tag
(
"version:configuration_internal"
,
conf_internal_tag
)
img
.
add_tag
(
"version:configuration_internal"
,
conf_internal_tag
)
time
.
sleep
(
AWS_API_WAIT_TIME
)
time
.
sleep
(
AWS_API_WAIT_TIME
)
img
.
add_tag
(
"cache_id"
,
args
.
cache_id
)
img
.
add_tag
(
"cache_id"
,
args
.
cache_id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment