-
Notifications
You must be signed in to change notification settings - Fork 114
Manually merge jammy #660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Manually merge jammy #660
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8d488f3
Bump os-image tgz
bosh-admin-bot 5d29664
bump bosh-agent/2.860.0
bosh-admin-bot b034843
Bump os-image tgz
bosh-admin-bot a7aa9f5
bump bosh-blobstore-gcs/0.0.391
bosh-admin-bot 1a31225
bump bosh-blobstore-azure-storage/0.0.240
bosh-admin-bot 707668c
Bump os-image tgz
bosh-admin-bot 0488435
Bump os-image tgz
bosh-admin-bot 9b92954
Bump actions/checkout from 6 to 7
dependabot[bot] f0b89c3
Bump os-image tgz
bosh-admin-bot 0b99964
Update vendored dependencies
bosh-admin-bot 2cb832b
bump bosh-blobstore-dav/0.0.484
bosh-admin-bot c159273
Bump os-image tgz
bosh-admin-bot 8ae8c52
Bump os-image tgz
bosh-admin-bot 063d8d8
bump bosh-agent/2.861.0
bosh-admin-bot bf3cb30
Bump os-image tgz
bosh-admin-bot c2e1e3c
CI: remove light-aws-builder specs, use binary from image.
aramprice 718a56e
ci: simplify cleanup_* functions
aramprice 0d4f2d0
CI: fix script permissions
aramprice 3ea5d44
CI: collapse publisher into builder pipeline
aramprice dfdad7e
Merge branch 'ubuntu-jammy' into manually-merge-jammy
aramprice File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,61 +1,35 @@ | ||
| #!/usr/bin/env bash | ||
| set -eu -o pipefail | ||
|
|
||
| STEMCELL_LINE="ubuntu-noble" | ||
|
|
||
| REPO_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" | ||
|
|
||
| if [[ -n "${DEBUG:-}" ]]; then | ||
| set -x | ||
| fi | ||
|
|
||
| fly="${FLY_CLI:-fly}" | ||
| REPO_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" | ||
|
|
||
| STEMCELL_LINE="ubuntu-noble" | ||
|
|
||
| pipelines_dir="${REPO_ROOT}/ci" | ||
| pipeline_name="${STEMCELL_LINE}" | ||
| pipeline_template="pipeline-template.yml" | ||
| pipeline_vars="pipeline-vars.yml" | ||
|
|
||
| concourse_target="${CONCOURSE_TARGET:-stemcell}" | ||
| fly="${FLY_CLI:-fly}" | ||
|
|
||
| until "${fly}" -t "${concourse_target}" status; do | ||
| "${fly}" -t "${concourse_target}" login | ||
| sleep 1 | ||
| done | ||
|
|
||
| pipelines_dir="${REPO_ROOT}/ci/pipelines" | ||
| vars_file_name="vars.yml" | ||
|
|
||
| mapfile -t available_pipelines < \ | ||
| <( find "${pipelines_dir}" -maxdepth 1 -type f -name '*.yml' | grep -v "${vars_file_name}" | sort ) | ||
|
|
||
| if (( ${#available_pipelines[@]} == 0 )); then | ||
| echo "No pipelines found under '${pipelines_dir}'" >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| i=1 | ||
| echo "Choose a pipeline to configure:" | ||
| for pipeline in "${available_pipelines[@]}"; do | ||
| pipeline_choice_label=$(echo "${pipeline#"${pipelines_dir}/"}" | cut -d/ -f 1) | ||
| printf "%4s. %s\n" "${i}" "${pipeline_choice_label}" | ||
| i=$((i + 1)) | ||
| done | ||
| read -rp "pipeline: " pipeline_index | ||
| echo "Rendering..." | ||
| rendered_template="$(ytt -f "${pipelines_dir}/${pipeline_template}" -f "${pipelines_dir}/${pipeline_vars}")" | ||
| echo "" | ||
|
|
||
| if ! [[ "${pipeline_index}" =~ ^[0-9]+$ ]] || (( pipeline_index < 1 || pipeline_index > ${#available_pipelines[@]} )); then | ||
| echo "Invalid selection: '${pipeline_index}'" >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| pipeline_file=${available_pipelines[(pipeline_index-1)]} | ||
| if [ ! -f "${pipeline_file}" ]; then | ||
| echo "No pipeline found: '${pipeline_file}'" >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| pipeline_name=$(basename "${pipeline_file%".yml"}") | ||
|
|
||
| echo "Configuring '${pipeline_name}' using '${pipeline_file#"${pipelines_dir}/"}'..." | ||
| echo "Validating..." | ||
| fly validate-pipeline --strict --config <(echo "${rendered_template}") | ||
| echo "" | ||
|
|
||
| rendered_template="$(ytt -f "${pipeline_file}" -f "${pipelines_dir}/${vars_file_name}")" | ||
|
|
||
| "${fly}" -t "${concourse_target}" set-pipeline \ | ||
| -p "${STEMCELL_LINE}-${pipeline_name}" \ | ||
| echo "Configuring..." | ||
| "${fly}" -t "${concourse_target}" set-pipeline -p "${pipeline_name}" \ | ||
| -c <(echo "${rendered_template}") |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.