mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-06 21:47:45 +00:00
17 lines
555 B
Bash
Executable File
17 lines
555 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -euo pipefail
|
|
|
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
pipeline=$(basename "$script_dir")
|
|
source "$script_dir/../../hack/fly-helpers.sh"
|
|
|
|
set_pipeline "$pipeline" "$script_dir/pipeline.yml"
|
|
ensure_time_resource_has_at_least_one_version "$pipeline" daily
|
|
|
|
# Make the pipeline visible to non-authenticated users in the web UI.
|
|
$FLY_CLI --target "$CONCOURSE_TARGET" expose-pipeline --pipeline "$pipeline"
|