Skip to content

Commit

Permalink
fixup! upstream CI: Use start.sh script and environment template
Browse files Browse the repository at this point in the history
  • Loading branch information
rjeffman committed Oct 22, 2024
1 parent c11b0ee commit 0f2adc0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion infra/azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ trigger:
- master

pool:
vmImage: 'ubuntu-22.04'
vmImage: 'ubuntu-20.04'

stages:

Expand Down
2 changes: 1 addition & 1 deletion infra/azure/build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ schedules:
trigger: none

pool:
vmImage: 'ubuntu-22.04'
vmImage: 'ubuntu-20.04'

stages:

Expand Down
2 changes: 1 addition & 1 deletion infra/azure/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ schedules:
trigger: none

pool:
vmImage: 'ubuntu-22.04'
vmImage: 'ubuntu-20.04'

stages:

Expand Down
2 changes: 1 addition & 1 deletion infra/azure/pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ trigger:
- master

pool:
vmImage: 'ubuntu-22.04'
vmImage: 'ubuntu-20.04'

stages:

Expand Down
5 changes: 2 additions & 3 deletions infra/image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ EOF

name="ansible-freeipa-image-builder"
hostname="ipaserver.test.local"
# Number of cpus is not available in usptream CI (Ubuntu 22.04).
# cpus="2"
cpus="2"
memory="3g"
quayname="quay.io/ansible-freeipa/upstream-tests"
deploy_server="N"
Expand Down Expand Up @@ -82,7 +81,7 @@ container_remove_image_if_exists "${tag}"
container_remove_image_if_exists "${server_tag}"

container_build "${tag}" "${BASEDIR}/dockerfile/${distro}" "${BASEDIR}"
container_create "${name}" "${tag}" "${hostname}" "${memory}"
container_create "${name}" "${tag}" "${hostname}" "${memory}" "${cpus}
container_commit "${name}" "${quayname}:${tag}"
if [ "${deploy_server}" == "Y" ]
Expand Down

0 comments on commit 0f2adc0

Please sign in to comment.