Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: build

on:
push:
branches:
branches:
- 'main'
- 'release/**'

env:
Expand Down Expand Up @@ -108,7 +109,8 @@ jobs:
- name: Remove + from version
run: |
echo "version=$(echo $version | sed 's/+ent//g')" >> $GITHUB_ENV
- name: Docker Build (Action)

- name: Docker Build
uses: hashicorp/actions-docker-build@v1
with:
version: ${{env.version}}
Expand All @@ -117,4 +119,5 @@ jobs:
tags: |
docker.io/hashicorp/${{env.repo}}:${{env.version}}
dev_tags: |
docker.io/hashicorppreview/${{env.repo}}:${{env.version}}
docker.io/hashicorppreview/${{env.repo}}:${{env.version}}-dev
docker.io/hashicorppreview/${{env.repo}}:${{env.version}}-${{github.sha}}-dev
4 changes: 2 additions & 2 deletions .release/ci.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ schema = "1"
project "consul-api-gateway" {
team = "consul-api-gateway"
slack {
notification_channel = "C01RWVBQ6GJ"
notification_channel = "C03BY5JVCKS"
}
github {
organization = "hashicorp"
repository = "consul-api-gateway"
release_branches = ["release/0.1.x", "release/0.2.x"]
release_branches = ["main", "release/0.1.x", "release/0.2.x"]
}
}

Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ endif
test:
go test ./...

generate-golden-files:
GENERATE=true go test ./internal/envoy
GENERATE=true go test ./internal/k8s/builder

.PHONY: changelog
changelog:
ifeq (, $(shell which changelog-build))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
- cp
- /bin/consul-api-gateway
- /bootstrap/consul-api-gateway
image: hashicorp/consul-api-gateway:0.2.1
image: hashicorp/consul-api-gateway:0.3.0
name: consul-api-gateway-init
resources: {}
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ spec:
- cp
- /bin/consul-api-gateway
- /bootstrap/consul-api-gateway
image: hashicorp/consul-api-gateway:0.2.1
image: hashicorp/consul-api-gateway:0.3.0
name: consul-api-gateway-init
resources: {}
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- cp
- /bin/consul-api-gateway
- /bootstrap/consul-api-gateway
image: hashicorp/consul-api-gateway:0.2.1
image: hashicorp/consul-api-gateway:0.3.0
name: consul-api-gateway-init
resources: {}
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
- cp
- /bin/consul-api-gateway
- /bootstrap/consul-api-gateway
image: hashicorp/consul-api-gateway:0.2.1
image: hashicorp/consul-api-gateway:0.3.0
name: consul-api-gateway-init
resources: {}
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
//
// Version must conform to the format expected by
// github.com/hashicorp/go-version for tests to work.
Version = "0.2.1"
Version = "0.3.0"

// A pre-release marker for the version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release
Expand Down