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

Remove v1 code #681

Merged
merged 10 commits into from
Sep 25, 2024
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
90 changes: 0 additions & 90 deletions .github/workflows/master.yaml

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ jobs:
- name: Login to Docker Hub
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login docker.io -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: GoReleaser
uses: goreleaser/goreleaser-action@v2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: v1.26.2
args: release --skip-sign
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98 changes: 0 additions & 98 deletions .github/workflows/run-acceptance-tests.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,4 @@ tags
### IntelliJ ###
.idea
.envrc
bin/*
33 changes: 6 additions & 27 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ version: 2
project_name: pulumi-kubernetes-operator

builds:
- ldflags:
- -X github.com/pulumi/pulumi-kubernetes-operator/version.Version={{.Tag}}
- id: pulumi-kubernetes-operator
ldflags:
- -X github.com/pulumi/pulumi-kubernetes-operator/operator/version.Version={{.Tag}}
- -w -extldflags "-static"
flags:
- -a
Expand All @@ -16,7 +17,8 @@ builds:
env:
- CGO_ENABLED=0
- GO111MODULE=on
main: ./cmd/manager/main.go
main: ./cmd/main.go
dir: operator
binary: pulumi-kubernetes-operator

- id: pulumi-kubernetes-agent
Expand Down Expand Up @@ -72,7 +74,7 @@ dockers:
goarch: amd64

# Path to the Dockerfile (from the project root).
dockerfile: Dockerfile
dockerfile: operator/Dockerfile

# Templates of the Docker image names.
image_templates:
Expand All @@ -85,26 +87,3 @@ dockers:
- "--label=org.label-schema.name={{ .ProjectName }}"
- "--label=org.label-schema.vcs-ref={{ .ShortCommit }}"
- "--label=org.label-schema.vcs-url='{{ .GitURL }}'"

- id: pulumi-kubernetes-agent
# GOOS of the built binary that should be used.
goos: linux

# GOARCH of the built binary that should be used.
goarch: amd64

# Path to the Dockerfile (from the project root).
dockerfile: agent/Dockerfile

# Templates of the Docker image names.
image_templates:
- "pulumi/pulumi-kubernetes-agent:latest"
- "pulumi/pulumi-kubernetes-agent:{{ .Version }}"

build_flag_templates:
- "--pull"
- "--label=org.label-schema.build-date={{.Date}}"
- "--label=org.label-schema.name={{ .ProjectName }}"
- "--label=org.label-schema.vcs-ref={{ .ShortCommit }}"
- "--label=org.label-schema.vcs-url='{{ .GitURL }}'"

22 changes: 0 additions & 22 deletions Dockerfile

This file was deleted.

Loading
Loading