ci: Move container registry authentication to an Azure Devops step
This aims to - Reduce duplication - Seperate CI specific setup from test setup - Prepare for migration from Azure DevOps to GitHub Actionspull/1128/head
parent
2e2dfb147e
commit
b926795973
@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import ci_lib
|
||||
|
||||
batches = [
|
||||
[
|
||||
'if [ "${TF_BUILD:-false}" = "True" ]; then aws ecr-public get-login-password | docker login --username AWS --password-stdin public.ecr.aws; fi',
|
||||
]
|
||||
]
|
||||
|
||||
ci_lib.run_batches(batches)
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import ci_lib
|
||||
|
||||
batches = [
|
||||
]
|
||||
|
||||
ci_lib.run_batches(batches)
|
@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import ci_lib
|
||||
|
||||
batches = [
|
||||
]
|
||||
|
||||
if ci_lib.have_docker():
|
||||
batches.append([
|
||||
'if [ "${TF_BUILD:-false}" = "True" ]; then aws ecr-public get-login-password | docker login --username AWS --password-stdin public.ecr.aws; fi',
|
||||
])
|
||||
|
||||
|
||||
ci_lib.run_batches(batches)
|
Loading…
Reference in New Issue