Skip to content
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

Bump github.com/onsi/gomega from 1.28.1 to 1.30.0 #767

Open
wants to merge 133 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
174af76
add cloudstack support
psycofdj Jan 12, 2022
c61154e
add mandatory field source_range for resource google_compute_firewall
mdimiceli Jan 21, 2022
13bf41e
Bump github.com/spf13/afero from 1.6.0 to 1.8.2
dependabot[bot] Mar 14, 2022
4200b81
Bump github.com/onsi/gomega from 1.16.0 to 1.19.0
dependabot[bot] Mar 28, 2022
1eb20cb
Bump bosh/deployments/jumpbox-deployment from `36c85b4` to `834eeff`
dependabot[bot] Apr 1, 2022
eef0e69
Bump bosh/deployments/bosh-deployment from `ee7d8f8` to `db2bc9f`
dependabot[bot] Apr 11, 2022
96468b6
Merge pull request #206 from orange-cloudfoundry/dependabot/go_module…
mdimiceli Apr 11, 2022
9b730b8
Merge pull request #222 from orange-cloudfoundry/dependabot/go_module…
mdimiceli Apr 11, 2022
bde9453
merge with upstream
dependabot[bot] Apr 11, 2022
0955283
Merge pull request #84 from orange-cloudfoundry/dependabot/go_modules…
mdimiceli Apr 11, 2022
caf9435
Merge pull request #230 from orange-cloudfoundry/dependabot/submodule…
mdimiceli Apr 11, 2022
35ae621
Bump google.golang.org/api from 0.58.0 to 0.74.0
dependabot[bot] Apr 11, 2022
0bfd32d
Bump github.com/mholt/archiver
dependabot[bot] Apr 11, 2022
d38177e
Merge pull request #226 from orange-cloudfoundry/dependabot/go_module…
mdimiceli Apr 11, 2022
47321a9
Merge pull request #241 from orange-cloudfoundry/dependabot/submodule…
mdimiceli Apr 11, 2022
eb8f59c
Bump github.com/aws/aws-sdk-go from 1.40.59 to 1.43.36
dependabot[bot] Apr 11, 2022
9589bab
Merge pull request #242 from orange-cloudfoundry/dependabot/go_module…
mdimiceli Apr 11, 2022
479d7d5
Merge pull request #240 from orange-cloudfoundry/dependabot/go_module…
mdimiceli Apr 11, 2022
1e495f5
Bump github.com/aws/aws-sdk-go from 1.43.36 to 1.43.37 (#243)
dependabot[bot] Apr 12, 2022
c9994eb
downgrade go-autorest to v9.10.0
mdimiceli Apr 12, 2022
2a72245
Merge pull request #244 from orange-cloudfoundry/downgrade-dependancies
mdimiceli Apr 12, 2022
8257e74
Bump github.com/aws/aws-sdk-go from 1.43.37 to 1.43.38 (#245)
dependabot[bot] Apr 12, 2022
62bdfbd
Bump github.com/aws/aws-sdk-go from 1.43.38 to 1.43.39 (#248)
dependabot[bot] Apr 14, 2022
85c1f48
Bump github.com/aws/aws-sdk-go from 1.43.39 to 1.43.40 (#250)
dependabot[bot] Apr 15, 2022
e7ccee3
Bump github.com/aws/aws-sdk-go from 1.43.40 to 1.43.41 (#252)
dependabot[bot] Apr 18, 2022
e07962d
Bump github.com/aws/aws-sdk-go from 1.43.41 to 1.43.42 (#255)
dependabot[bot] Apr 20, 2022
2ee5217
Bump github.com/aws/aws-sdk-go from 1.43.42 to 1.43.43 (#258)
dependabot[bot] Apr 21, 2022
42f0411
Bump github.com/aws/aws-sdk-go from 1.43.43 to 1.43.44 (#259)
dependabot[bot] Apr 22, 2022
227623c
Bump github.com/aws/aws-sdk-go from 1.43.44 to 1.43.45 (#260)
dependabot[bot] Apr 25, 2022
4c598ae
consider only .yml files for runtime-config ops-files
psycofdj Jun 2, 2022
2cc9777
add cloudstack support
psycofdj Jan 12, 2022
39ade61
add mandatory field source_range for resource google_compute_firewall
mdimiceli Jan 21, 2022
e463810
Bump github.com/spf13/afero from 1.6.0 to 1.8.2
dependabot[bot] Mar 14, 2022
08569bd
Bump github.com/onsi/gomega from 1.16.0 to 1.19.0
dependabot[bot] Mar 28, 2022
b9c59cf
merge with upstream
dependabot[bot] Apr 11, 2022
e14d328
Bump bosh/deployments/jumpbox-deployment from `36c85b4` to `834eeff`
dependabot[bot] Apr 1, 2022
ee00cfa
Bump google.golang.org/api from 0.58.0 to 0.74.0
dependabot[bot] Apr 11, 2022
1c484b9
Bump bosh/deployments/bosh-deployment from `ee7d8f8` to `db2bc9f`
dependabot[bot] Apr 11, 2022
aafb58b
Bump github.com/mholt/archiver
dependabot[bot] Apr 11, 2022
1ba6502
Bump github.com/aws/aws-sdk-go from 1.40.59 to 1.43.36
dependabot[bot] Apr 11, 2022
481e9e2
Bump github.com/aws/aws-sdk-go from 1.43.36 to 1.43.37 (#243)
dependabot[bot] Apr 12, 2022
110bedf
downgrade go-autorest to v9.10.0
mdimiceli Apr 12, 2022
973f0f3
Bump github.com/aws/aws-sdk-go from 1.43.37 to 1.43.38 (#245)
dependabot[bot] Apr 12, 2022
b503386
Bump github.com/aws/aws-sdk-go from 1.43.38 to 1.43.39 (#248)
dependabot[bot] Apr 14, 2022
38fc679
Bump github.com/aws/aws-sdk-go from 1.43.39 to 1.43.40 (#250)
dependabot[bot] Apr 15, 2022
3749e93
Bump github.com/aws/aws-sdk-go from 1.43.40 to 1.43.41 (#252)
dependabot[bot] Apr 18, 2022
53829ec
Bump github.com/aws/aws-sdk-go from 1.43.41 to 1.43.42 (#255)
dependabot[bot] Apr 20, 2022
e9d3620
Bump github.com/aws/aws-sdk-go from 1.43.42 to 1.43.43 (#258)
dependabot[bot] Apr 21, 2022
66c36b3
Bump github.com/aws/aws-sdk-go from 1.43.43 to 1.43.44 (#259)
dependabot[bot] Apr 22, 2022
7bee577
Bump github.com/aws/aws-sdk-go from 1.43.44 to 1.43.45 (#260)
dependabot[bot] Apr 25, 2022
2b36e56
consider only .yml files for runtime-config ops-files
psycofdj Jun 2, 2022
4d72cf1
update bosh-deployment and jumbox-deployment
gmllt Jun 28, 2022
6055ed3
fix go version to 1.18 for goreleaser
gmllt Jun 28, 2022
5213525
Merge branch 'main' into maj-trimestrielle-06-2022
gmllt Jun 28, 2022
4ad3a0c
Merge pull request #354 from orange-cloudfoundry/maj-trimestrielle-06…
gmllt Jun 28, 2022
be47ca3
bump dependencies and update go version to 1.19
mdimiceli Sep 21, 2022
6bba6d0
Merge pull request #476 from orange-cloudfoundry/maj-trimestrielle-09-22
paasbot Sep 21, 2022
e8fcfbf
Bump github.com/Azure/go-autorest
dependabot[bot] Sep 21, 2022
e98707b
Bump github.com/mholt/archiver
dependabot[bot] Sep 21, 2022
e208b0c
Merge remote-tracking branch 'upstream/main'
psycofdj Jan 3, 2023
cccee94
bump upstream
psycofdj Jan 3, 2023
62ea108
sync deployments
psycofdj Jan 5, 2023
a63007c
bump deployments (support for nats2)
psycofdj Jan 6, 2023
14a59fe
update go version and bump dependencies and deployments
mdimiceli Mar 28, 2023
194907d
Merge pull request #680 from orange-cloudfoundry/update-go-version
mdimiceli Mar 28, 2023
9bf5a9a
update go version and bump dependencies and deployments
mdimiceli Mar 28, 2023
1bfded8
Merge pull request #681 from orange-cloudfoundry/update-go-version
mdimiceli Mar 28, 2023
c1d838c
remove acl reference
fredga Jun 13, 2023
e84707c
clean command cloudstack-secure
fredga Jun 13, 2023
5a5bfef
delete secure option for cloudstack
mdimiceli Jun 20, 2023
e293b88
delete networks from cloudstack templates
mdimiceli Jun 20, 2023
edf0a02
bump deployments
SMendaci Jul 4, 2023
c98e028
bump deployments
SMendaci Jul 4, 2023
d4b5307
Merge pull request #682 from orange-cloudfoundry/clean-acl-template
mdimiceli Jul 6, 2023
a308d83
Merge pull request #246 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 15, 2023
ea0c1aa
Merge pull request #247 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 15, 2023
7d159b3
Bump bosh/deployments/jumpbox-deployment from `f1a57c6` to `0097c86`
dependabot[bot] Sep 15, 2023
cc802ab
Bump github.com/spf13/afero from 1.8.2 to 1.9.5
dependabot[bot] Sep 15, 2023
92ecac4
Bump bosh/deployments/bosh-deployment from `10d4205` to `21b9031`
dependabot[bot] Sep 15, 2023
8d9b76b
Merge pull request #683 from orange-cloudfoundry/dependabot/submodule…
romain-dartigues Sep 15, 2023
0f968c5
Merge pull request #684 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 15, 2023
f73eb41
Bump google.golang.org/api from 0.74.0 to 0.141.0
dependabot[bot] Sep 15, 2023
95e2236
Merge pull request #685 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 15, 2023
a526d2d
Bump github.com/aws/aws-sdk-go from 1.43.45 to 1.45.10
dependabot[bot] Sep 15, 2023
864b1a8
Merge pull request #686 from orange-cloudfoundry/dependabot/submodule…
romain-dartigues Sep 15, 2023
016989b
Merge pull request #687 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 15, 2023
739134e
Bump github.com/aws/aws-sdk-go from 1.45.10 to 1.45.11 (#688)
dependabot[bot] Sep 18, 2023
953c6b7
Bump github.com/gobuffalo/packd from 1.0.1 to 1.0.2 (#692)
dependabot[bot] Sep 18, 2023
0b7fd0f
Bump github.com/coreos/go-semver from 0.3.0 to 0.3.1 (#690)
dependabot[bot] Sep 18, 2023
26f351e
Bump github.com/Azure/go-autorest/autorest/adal from 0.9.21 to 0.9.23…
dependabot[bot] Sep 18, 2023
900dbd1
Bump github.com/genevieve/leftovers
dependabot[bot] Sep 18, 2023
1399b8a
Bump github.com/aws/aws-sdk-go from 1.45.11 to 1.45.12 (#694)
dependabot[bot] Sep 19, 2023
cf28e54
Bump github.com/Azure/go-autorest/autorest from 0.11.28 to 0.11.29 (#…
dependabot[bot] Sep 19, 2023
bce411b
Bump google.golang.org/api from 0.141.0 to 0.142.0
dependabot[bot] Sep 20, 2023
a4eb67e
Bump bosh/deployments/jumpbox-deployment from `0097c86` to `8828633`
dependabot[bot] Sep 20, 2023
c7d34c4
Bump github.com/aws/aws-sdk-go from 1.45.12 to 1.45.13 (#698)
dependabot[bot] Sep 20, 2023
ff4b1b4
Bump bosh/deployments/bosh-deployment from `21b9031` to `71122d2`
dependabot[bot] Sep 21, 2023
29d8707
Bump github.com/aws/aws-sdk-go from 1.45.13 to 1.45.14 (#701)
dependabot[bot] Sep 21, 2023
3d56dd9
Merge pull request #689 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 22, 2023
6de5d4d
Bump github.com/onsi/gomega from 1.19.0 to 1.27.10
dependabot[bot] Sep 22, 2023
94ee4c3
Merge pull request #696 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 22, 2023
3b146f7
Merge pull request #697 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 22, 2023
500987d
Merge pull request #699 from orange-cloudfoundry/dependabot/submodule…
romain-dartigues Sep 22, 2023
0f7bc18
Merge pull request #700 from orange-cloudfoundry/dependabot/submodule…
romain-dartigues Sep 22, 2023
78a6a84
GH workflow: increase gomod interval to weekly
romain-dartigues Sep 22, 2023
dacf986
GH workflow: weekly GH Actions auto-update
romain-dartigues Sep 22, 2023
3311a91
Bump actions/checkout from 2 to 4
dependabot[bot] Sep 22, 2023
fe4578f
Bump dependabot/fetch-metadata from 1.1.1 to 1.6.0
dependabot[bot] Sep 22, 2023
91eab07
Bump actions/cache from 1 to 3
dependabot[bot] Sep 22, 2023
074ae59
Bump goreleaser/goreleaser-action from 2 to 5
dependabot[bot] Sep 22, 2023
0d4b512
Bump actions/setup-go from 2 to 4
dependabot[bot] Sep 22, 2023
9e85459
Bump github.com/spf13/afero from 1.9.5 to 1.10.0
dependabot[bot] Sep 25, 2023
77846bf
Bump github.com/aws/aws-sdk-go from 1.45.14 to 1.45.15 (#708)
dependabot[bot] Sep 25, 2023
00f12bb
Bump bosh/deployments/jumpbox-deployment from `8828633` to `157a22b`
dependabot[bot] Sep 25, 2023
707c75e
Merge pull request #706 from orange-cloudfoundry/dependabot/github_ac…
fredga Sep 25, 2023
a8a08bd
Merge pull request #705 from orange-cloudfoundry/dependabot/github_ac…
fredga Sep 25, 2023
8d938ff
Merge pull request #704 from orange-cloudfoundry/dependabot/github_ac…
fredga Sep 25, 2023
05cfa57
Merge pull request #702 from orange-cloudfoundry/dependabot/github_ac…
fredga Sep 25, 2023
7aa927b
Bump bosh/deployments/bosh-deployment from `71122d2` to `241121c`
dependabot[bot] Sep 29, 2023
75f6cce
Merge pull request #703 from orange-cloudfoundry/dependabot/github_ac…
romain-dartigues Sep 29, 2023
28e34c2
Merge pull request #707 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 29, 2023
df4ffa6
Merge pull request #710 from orange-cloudfoundry/dependabot/submodule…
romain-dartigues Sep 29, 2023
4e9ffbb
Merge pull request #712 from orange-cloudfoundry/dependabot/submodule…
romain-dartigues Sep 29, 2023
ed20374
Bump google.golang.org/api from 0.142.0 to 0.143.0
dependabot[bot] Sep 29, 2023
07bd86a
Bump github.com/onsi/gomega from 1.27.10 to 1.28.0
dependabot[bot] Sep 29, 2023
162e0dc
Bump github.com/aws/aws-sdk-go from 1.45.15 to 1.45.19 (#715)
dependabot[bot] Sep 29, 2023
c247fd8
Merge pull request #714 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 29, 2023
17d9aac
Merge pull request #713 from orange-cloudfoundry/dependabot/go_module…
romain-dartigues Sep 29, 2023
0f2b424
Bump tvdias/github-tagger from 0.0.1 to 0.0.2 (#716)
dependabot[bot] Oct 2, 2023
257e681
Bump github.com/aws/aws-sdk-go from 1.45.19 to 1.45.24 (#728)
dependabot[bot] Oct 9, 2023
78b55b9
Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.25 (#738)
dependabot[bot] Oct 16, 2023
cf77bab
Bump github.com/onsi/gomega from 1.28.0 to 1.28.1 (#744)
dependabot[bot] Oct 23, 2023
82b3267
Bump github.com/onsi/gomega from 1.28.1 to 1.30.0
dependabot[bot] Nov 13, 2023
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .github/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- match:
dependency_type: all
update_type: "semver:patch"
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
57 changes: 57 additions & 0 deletions .github/workflows/after-merge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: after-merge-dependabot

on:
pull_request_target:
types: [closed]

jobs:
check:
if: github.event.pull_request.merged && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
concurrency:
group: dependabot-after-merge
cancel-in-progress: true
steps:
- name: Fetch dependabot metadata
id: dependabot-metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- uses: oprypin/find-latest-tag@v1
id: octokit
with:
repository: ${{ github.repository }}
prefix: v

- name: Parse last release
id: semver_parser
uses: booxmedialtd/ws-action-parse-semver@v1
with:
input_string: '${{ steps.octokit.outputs.tag }}'
version_extractor_regex: 'v(.*)$'

- name: Compute tag
id: compte_tag
run: |
major=${{ steps.semver_parser.outputs.major }}
minor=${{ steps.semver_parser.outputs.minor }}
patch=${{ steps.semver_parser.outputs.patch }}
if [ "${{ steps.dependabot-metadata.outputs.update-type }}" == "version-update:semver-minor" ]; then
minor=$((minor+1))
patch=0
echo "::warning::bumping minor version"
elif [ "${{ steps.dependabot-metadata.outputs.update-type }}" == "version-update:semver-patch" ]; then
patch=$((patch+1))
echo "::warning::bumping patch version"
fi
tag="v${major}.${minor}.${patch}"
echo "::set-output name=tag::${tag}"
echo "::warning::tag == ${tag}"

- name: Create tag
uses: tvdias/[email protected]
if: steps.compte_tag.outputs.tag != steps.semver_parser.outputs.fullversion
with:
repo-token: "${{ secrets.AUTO_MERGE_TOKEN }}"
tag: "${{ steps.compte_tag.outputs.tag }}"
20 changes: 20 additions & 0 deletions .github/workflows/auto-accept-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto-accept-dependabot

on:
pull_request_target:

jobs:
auto-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
config: .github/auto-merge.yml
command: "squash and merge"
github-token: ${{ secrets.AUTO_MERGE_TOKEN }}
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '29 22 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
58 changes: 58 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: goreleaser

on:
push:
# not not consider simplec commit
branches:
- '!*'
# consider only release and pre-release tags
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- name: set up go
uses: actions/setup-go@v4
with:
go-version: "1.20"

- name: cache go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: tests modules
run: |
go mod vendor
if [ ! -z "$(git status --porcelain)" ]; then
echo "::error::vendor directory if not synched with go.mod, please run go mod vendor"
exit 1
fi

- name: packr2
run: |
curl -fsSL https://github.com/gobuffalo/packr/releases/download/v2.8.1/packr_2.8.1_linux_amd64.tar.gz | \
tar -xz -C /usr/local/bin/ packr2
which packr2

- name: run goreleaser
uses: goreleaser/goreleaser-action@v5
if: success() && startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist -p 1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USER: github-actions
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ bbl/debug
# packrd
**/*-packr.go
bbl/packrd
/dist
/bbl/bbl
57 changes: 57 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
project_name: bosh-bootloader

builds:
-
&template
id: binary
dir: bbl
binary: bbl
env:
- CGO_ENABLED=0
- TF_VERSION=1.4.2
ldflags:
- -s
- -w
- -X main.Version={{.Version}}-ora
hooks:
pre:
- cmd: ./scripts/terraform_dist
env:
- GOOS={{.Os}}
- GOARCH={{.Arch}}
- cmd: bash -c "source ./scripts/create_mod && create_mod"
- cmd: ./scripts/generate
goos:
- darwin
- linux
goarch:
- amd64

archives:
- id: archives
builds:
- binary
format: "tar.gz"
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
wrap_in_directory: true
files:
- LICENSE*
- README*
- CHANGELOG*
- docs/*
- assets/*
- static/*
- templates/*
- ./*/static/*
- ./*/templates/*

checksum:
name_template: checksums.txt
algorithm: sha256

release:
github:
owner: orange-cloudfoundry
name: bosh-bootloader
prerelease: auto
name_template: '{{.Tag}}'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ $ brew install bbl
- [Getting Started: AWS](docs/getting-started-aws.md)
- [Getting Started: vSphere](docs/getting-started-vsphere.md)
- [Getting Started: OpenStack](docs/getting-started-openstack.md)
- [Getting Started: CloudStack](docs/getting-started-cloudstack.md)

### Managing state

Expand Down
24 changes: 24 additions & 0 deletions acceptance-tests/actors/cloudstack.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package actors

func NewCloudStackLBHelper() vSphereLBHelper {
return vSphereLBHelper{}
}

type cloudstackHelper struct {
}

func (cloudstackHelper) GetLBArgs() []string {
return []string{}
}

func (cloudstackHelper) VerifyCloudConfigExtensions(vmExtensions []string) {
}

func (cloudstackHelper) ConfirmLBsExist(envID string) {
}

func (cloudstackHelper) ConfirmNoLBsExist(envID string) {
}

func (cloudstackHelper) VerifyBblLBOutput(stdout string) {
}
2 changes: 2 additions & 0 deletions acceptance-tests/actors/iaas_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ func NewIAASLBHelper(iaas string, configuration acceptance.Config) IAASLBHelper
return NewVSphereLBHelper()
case "openstack":
return NewOpenStackLBHelper()
case "cloudstack":
return NewCloudStackLBHelper()
default:
panic(fmt.Sprintf("%s is not a supported iaas", iaas))
}
Expand Down
2 changes: 1 addition & 1 deletion acceptance-tests/no-iaas/flags_error_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var _ = Describe("bbl", func() {
Expect(err).NotTo(HaveOccurred())
Eventually(session).Should(gexec.Exit(1))

Expect(string(session.Err.Contents())).To(ContainSubstring("--iaas [gcp, aws, azure, vsphere, openstack] must be provided or BBL_IAAS must be set"))
Expect(string(session.Err.Contents())).To(ContainSubstring("--iaas [gcp, aws, azure, vsphere, openstack, cloudstack] must be provided or BBL_IAAS must be set"))
Expect(string(session.Err.Contents())).NotTo(ContainSubstring("panic"))
})
})
Expand Down
11 changes: 10 additions & 1 deletion bbl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ import (

awscloudconfig "github.com/cloudfoundry/bosh-bootloader/cloudconfig/aws"
azurecloudconfig "github.com/cloudfoundry/bosh-bootloader/cloudconfig/azure"
cloudstackcloudconfig "github.com/cloudfoundry/bosh-bootloader/cloudconfig/cloudstack"
gcpcloudconfig "github.com/cloudfoundry/bosh-bootloader/cloudconfig/gcp"
openstackcloudconfig "github.com/cloudfoundry/bosh-bootloader/cloudconfig/openstack"
vspherecloudconfig "github.com/cloudfoundry/bosh-bootloader/cloudconfig/vsphere"

awsterraform "github.com/cloudfoundry/bosh-bootloader/terraform/aws"
azureterraform "github.com/cloudfoundry/bosh-bootloader/terraform/azure"
cloudstackterraform "github.com/cloudfoundry/bosh-bootloader/terraform/cloudstack"
gcpterraform "github.com/cloudfoundry/bosh-bootloader/terraform/gcp"
openstackterraform "github.com/cloudfoundry/bosh-bootloader/terraform/openstack"
vsphereterraform "github.com/cloudfoundry/bosh-bootloader/terraform/vsphere"
Expand Down Expand Up @@ -106,7 +108,7 @@ func main() {
terraformCLI = bufferingCLI
out = ioutil.Discard
}
terraformExecutor := terraform.NewExecutor(terraformCLI, bufferingCLI, stateStore, afs, appConfig.Global.Debug, out)
terraformExecutor := terraform.NewExecutor(terraformCLI, bufferingCLI, stateStore, afs, appConfig.Global.Debug, out, globals.NoConfirm)

// BOSH
boshPath, err := config.GetBOSHPath()
Expand Down Expand Up @@ -245,6 +247,13 @@ func main() {
terraformManager = terraform.NewManager(terraformExecutor, templateGenerator, inputGenerator, terraformOutputBuffer, logger)

cloudConfigOpsGenerator = openstackcloudconfig.NewOpsGenerator(terraformManager)
case "cloudstack":
templateGenerator = cloudstackterraform.NewTemplateGenerator()
inputGenerator = cloudstackterraform.NewInputGenerator()

terraformManager = terraform.NewManager(terraformExecutor, templateGenerator, inputGenerator, terraformOutputBuffer, logger)

cloudConfigOpsGenerator = cloudstackcloudconfig.NewOpsGenerator(terraformManager)
}

cloudConfigManager := cloudconfig.NewManager(logger, configUpdater, stateStore, cloudConfigOpsGenerator, terraformManager, afs)
Expand Down
2 changes: 1 addition & 1 deletion bosh/deployments/bosh-deployment
Submodule bosh-deployment updated 59 files
+6 −1 README.md
+5 −5 alicloud/cpi.yml
+6 −0 alicloud/use-bionic.yml
+5 −0 aws/cli-assume-role-credentials.yml
+8 −0 aws/cpi-assume-role-credentials.yml
+5 −5 aws/cpi.yml
+29 −0 aws/s3-blobstore-instance-profile.yml
+6 −0 aws/use-bionic.yml
+5 −5 azure/cpi.yml
+6 −0 azure/use-bionic.yml
+3 −3 bbr.yml
+3 −3 bosh-lite-docker.yml
+0 −38 bosh-lite-jammy.yml
+6 −6 bosh-lite.yml
+14 −10 bosh.yml
+1 −1 ci/assets/zookeeper.yml
+0 −8 ci/bosh-alpha-compiled-releases/configure.sh
+0 −48 ci/bosh-alpha-compiled-releases/pipeline.yml
+0 −5 ci/bosh-alpha-compiled-releases/tasks/build-release.sh
+0 −17 ci/bosh-alpha-compiled-releases/tasks/build-release.yml
+1 −1 ci/compiled-releases/tasks/export-release.yml
+1 −3 ci/configure.sh
+388 −209 ci/pipeline.yml
+2 −2 ci/tasks/test-main-bosh-lite.sh
+2 −2 ci/tasks/test-main-bosh-lite.yml
+1 −1 ci/tasks/test-smoke.yml
+1 −1 ci/tasks/update-cpi.yml
+1 −1 ci/tasks/update-release.yml
+1 −1 ci/tasks/update-stemcell.yml
+3 −3 credhub.yml
+7 −6 docker/cpi.yml
+6 −0 docker/use-bionic.yml
+1 −1 gcp/cloud-config.yml
+5 −5 gcp/cpi.yml
+6 −0 gcp/use-bionic.yml
+5 −5 jumpbox-user.yml
+1 −1 misc/bosh-dev.yml
+1 −1 misc/ipv6/bosh.yml
+3 −3 misc/source-releases/bbr.yml
+6 −6 misc/source-releases/bosh.yml
+3 −3 misc/source-releases/credhub.yml
+3 −3 misc/source-releases/uaa.yml
+5 −5 openstack/cpi.yml
+6 −0 openstack/use-bionic.yml
+2 −2 openstack/use-openstack-raw-stemcell.yml
+3 −3 runtime-configs/dns.yml
+3 −3 syslog.yml
+15 −3 uaa.yml
+2 −2 vcloud/cpi.yml
+6 −0 vcloud/use-bionic.yml
+5 −5 virtualbox/cpi.yml
+6 −0 virtualbox/use-bionic.yml
+3 −3 vsphere/cpi-secondary.yml
+6 −5 vsphere/cpi.yml
+10 −0 vsphere/custom-ca.yml
+6 −0 vsphere/use-bionic.yml
+0 −6 vsphere/use-jammy.yml
+5 −5 warden/cpi.yml
+6 −0 warden/use-bionic.yml
Loading