Skip to content
This repository was archived by the owner on Jul 3, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
854dfb3
Move pipeline to FIWG concourse
selzoc Apr 14, 2025
f2cba11
Update vendored dependencies
cf-rabbit-bot Apr 19, 2025
7d518ee
Update vendored dependencies
cf-rabbit-bot Apr 26, 2025
0d790aa
Bump golangci/golangci-lint-action from 6 to 7
dependabot[bot] Mar 25, 2025
4b8c733
Update for golangci-lint 2.0
aramprice Apr 7, 2025
9f6fa37
Bump golangci/golangci-lint-action from 7 to 8
dependabot[bot] May 9, 2025
8fddccf
Update vendored dependencies
cf-rabbit-bot May 10, 2025
81b965c
Update vendored dependencies
cf-rabbit-bot May 24, 2025
6abfac2
Update `bin/lint` to use golangci-lint v2
aramprice May 31, 2025
e3811d1
Update vendored dependencies
cf-rabbit-bot Jun 7, 2025
f48de57
Update vendored dependencies
cf-rabbit-bot Jun 14, 2025
f45b62e
Update vendored dependencies
cf-rabbit-bot Jun 28, 2025
52a5ad5
Update vendored dependencies
cf-rabbit-bot Jul 5, 2025
3a845d7
Update vendored dependencies
cf-rabbit-bot Jul 12, 2025
6b81ad6
Update vendored dependencies
cf-rabbit-bot Jul 19, 2025
5cee615
Update vendored dependencies
cf-rabbit-bot Jul 25, 2025
76d1646
Update vendored dependencies
cf-rabbit-bot Aug 9, 2025
59ed019
Bump actions/checkout from 4 to 5
dependabot[bot] Aug 12, 2025
810ea0d
Update vendored dependencies
cf-rabbit-bot Aug 16, 2025
7c1b77e
Update vendored dependencies
cf-rabbit-bot Aug 23, 2025
5aa31c6
Update vendored dependencies
cf-rabbit-bot Aug 30, 2025
157ecca
Update vendored dependencies
cf-rabbit-bot Sep 6, 2025
5692ba6
Bump actions/setup-go from 5 to 6
dependabot[bot] Sep 4, 2025
08e236b
Update vendored dependencies
cf-rabbit-bot Oct 4, 2025
7bdefde
Update vendored dependencies
cf-rabbit-bot Oct 25, 2025
7fc0ee5
Update vendored dependencies
cf-rabbit-bot Nov 1, 2025
aacf9ec
Update vendored dependencies
cf-rabbit-bot Nov 8, 2025
29dd130
Bump golangci/golangci-lint-action from 8 to 9
dependabot[bot] Nov 10, 2025
7213c9a
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 21, 2025
5049419
Make RSA key size configurable via key_length parameter
yuriadam-sap Jan 8, 2026
e9b48a3
fixed lint test
yuriadam-sap Jan 8, 2026
5da4c1f
validate key lengths
yuriadam-sap Jan 12, 2026
ff6bcf2
Apply suggestions from code review
yuriadam-sap Jan 12, 2026
b2f810d
Apply suggestion from @neddp
yuriadam-sap Jan 12, 2026
6f6ab45
fixed goimports
yuriadam-sap Jan 12, 2026
4067122
Merge pull request #30 from yuriadam-sap/make-rsa-bit-configurable
rkoster Jan 22, 2026
99ca049
fixed rsa validation test (#35)
yuriadam-sap Jan 26, 2026
c2deb4e
fixed crypto/rsa error
yuriadam-sap Feb 11, 2026
24774a3
Update go version to 1.25
cf-rabbit-bot Feb 12, 2026
ee76cb7
Update vendored dependencies
cf-rabbit-bot Feb 14, 2026
7f93e4d
Update vendored dependencies
cf-rabbit-bot Feb 21, 2026
245a272
Update vendored dependencies
cf-rabbit-bot Mar 7, 2026
0b158fe
Update vendored dependencies
cf-rabbit-bot Mar 14, 2026
66dee0d
Update vendored dependencies
cf-rabbit-bot Mar 21, 2026
21fb8bf
Switch custom resource types to registry-image
selzoc Mar 23, 2026
b3c7300
Merge pull request #37 from cloudfoundry/registry-image-fix
selzoc Mar 23, 2026
f9dd718
CI: use registry-image type; remove image_resource from tasks
aramprice Mar 24, 2026
aa09f83
CI: fix postgres image repository
aramprice Mar 24, 2026
17a93b3
Update vendored dependencies
cf-rabbit-bot Mar 28, 2026
e635f13
Update vendored dependencies
cf-rabbit-bot Apr 4, 2026
6d9ba70
Update vendored dependencies
cf-rabbit-bot Apr 11, 2026
7da0755
Update vendored dependencies
cf-rabbit-bot Apr 18, 2026
dd59cd2
Update vendored dependencies
cf-rabbit-bot Apr 25, 2026
b156f74
Update vendored dependencies
cf-rabbit-bot May 2, 2026
92ab745
Update vendored dependencies
cf-rabbit-bot May 9, 2026
91b2fcd
Update vendored dependencies
cf-rabbit-bot May 16, 2026
d80e8fb
Update vendored dependencies
cf-rabbit-bot May 23, 2026
6aa786a
Update vendored dependencies
cf-rabbit-bot May 30, 2026
0ff918b
Update vendored dependencies
cf-rabbit-bot Jun 6, 2026
d919f9a
Update vendored dependencies
cf-rabbit-bot Jun 13, 2026
aa566c5
Bump actions/checkout from 6 to 7
dependabot[bot] Jun 19, 2026
713ff23
Update vendored dependencies
cf-rabbit-bot Jun 20, 2026
47a19f8
Update vendored dependencies
cf-rabbit-bot Jun 27, 2026
20fcdf3
add build for new template tests
mkocher Jul 1, 2026
c772105
Prepare pipeline for consolidation
aramprice Jul 1, 2026
c43f593
Update vendored dependencies
cf-rabbit-bot Jul 1, 2026
7ad3af6
ci: fix build script
aramprice Jul 1, 2026
c74da78
Update readme with archived notice.
aramprice Jul 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v6
- uses: golangci/golangci-lint-action@v9
15 changes: 0 additions & 15 deletions .github/workflows/protect-master.yml

This file was deleted.

15 changes: 8 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# https://golangci-lint.run/usage/configuration/
run:
timeout: 3m # 1m default times out on github-action runners
version: "2"

linters:
default: standard

settings:
errcheck:
check-blank: true # assignment to blank identifier: `_ := someFunc()`.

formatters:
enable:
- goimports

output:
# Sort results by: filepath, line and column.
sort-results: true
37 changes: 3 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,5 @@
# Config Server
# Deprecated

- CI: <https://main.bosh-ci.cf-app.com/teams/main/pipelines/config-server>
- [API Docs](docs/api.md)
This repository is deprecated.

See [config-server-release](https://github.com/cloudfoundry/config-server-release) for the release repo for config-server
See [bosh-notes](https://github.com/cloudfoundry/bosh-notes/blob/master/proposals/config-server.md) for more information

## Contributing

All PRs and code should be against the `develop` branch. Before submitting PRs, you should make sure that tests are passing properly.

### Unit tests

Before running the unit test on your local machine, you should install
`golangci-lint` following its documentation, see
<https://github.com/golangci/golangci-lint>. (Indeed, the way the
[lint](bin/lint) script installs `golangci-lint` is not suitable for running
on a local machine.)

Then run the unit tests using the dedicated script.

```bash
bin/test-unit
```

### Integration tests

There are 3 distinct flavors of integration tests. Run the relevant one, or
all, depending on the changes you've done.

```bash
bin/test-integration memory # <- uses an in-memory database
bin/test-integration mysql # <- uses a MySQL database
bin/test-integration postgresql # <- uses a PostgreSQL database
```
The code here has been merged into https://github.com/cloudfoundry/config-server-release/
2 changes: 1 addition & 1 deletion bin/lint
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
(
cd "$ROOT_DIR"
if ! command -v golangci-lint &> /dev/null; then
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
fi
)
go_bin_path="$(go env GOPATH)/bin" # TODO this should be handled in the docker container
Expand Down
28 changes: 27 additions & 1 deletion ci/configure.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
#!/usr/bin/env bash
set -eu -o pipefail

fly -t bosh-ecosystem set-pipeline -p config-server -c ci/pipeline.yml
if [[ -n "${DEBUG:-}" ]]; then
set -x
fi

REPO_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"

pipeline_name="config-server"
pipeline_yaml="${REPO_ROOT}/ci/pipeline.yml"

concourse_target="${CONCOURSE_TARGET:-bosh}"
fly="${FLY_CLI:-fly}"

until "${fly}" -t "${concourse_target}" status; do
"${fly}" -t "${concourse_target}" login
sleep 1
done

echo "Validating..."
"${fly}" validate-pipeline --strict --config "${pipeline_yaml}"
echo ""

echo "Configuring..."
"${fly}" -t "${concourse_target}" \
set-pipeline \
--pipeline "${pipeline_name}" \
--config "${pipeline_yaml}"
Loading
Loading