Move CI to a new internal Concourse

This commit is contained in:
Ryan Richard
2025-06-26 12:13:08 -07:00
parent 80e5eb5b56
commit 399b1d86b2
29 changed files with 324 additions and 336 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
# Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Some global fly config.
#
export FLY_CLI=/usr/local/bin/fly
export CONCOURSE_URL=https://ci.pinniped.dev
export CONCOURSE_URL=https://ci.pinniped.broadcom.net
export CONCOURSE_TEAM=main
export CONCOURSE_TARGET=pinniped
export ROOT_DIR
+6 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copyright 2020-2024 the Pinniped contributors. All Rights Reserved.
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
@@ -16,6 +16,11 @@ if [[ ! -f "$FLY_CLI" ]]; then
chmod 755 "$FLY_CLI"
fi
if $FLY_CLI targets | grep ^"$CONCOURSE_TARGET" | grep -q 'https://ci\.pinniped\.dev'; then
# The user has the old ci.pinniped.dev target. Remove it so we can replace it.
$FLY_CLI delete-target --target "$CONCOURSE_TARGET"
fi
if ! $FLY_CLI targets | tr -s ' ' | cut -f1 -d ' ' | grep -q "$CONCOURSE_TARGET"; then
# Create the target if needed
$FLY_CLI --target "$CONCOURSE_TARGET" login \