mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
Remove edge releases (#8615)
Signed-off-by: Sebastian Spaink <sebastianspaink@gmail.com>
This commit is contained in:
@@ -172,42 +172,6 @@ jobs:
|
||||
name: binaries-darwin
|
||||
path: _release
|
||||
|
||||
deploy-edge:
|
||||
name: Push Edge Release
|
||||
runs-on: ubuntu-24.04
|
||||
needs: [release-build, release-build-darwin]
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Test
|
||||
run: make ci-release-test
|
||||
timeout-minutes: 60
|
||||
|
||||
- name: Download release binaries
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
pattern: binaries-*
|
||||
merge-multiple: true
|
||||
path: _release
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||
|
||||
- name: Deploy OPA Edge
|
||||
env:
|
||||
DOCKER_USER: ${{ secrets.DOCKER_USER }} # zizmor: ignore[secrets-outside-env]
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} # zizmor: ignore[secrets-outside-env]
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # zizmor: ignore[secrets-outside-env]
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # zizmor: ignore[secrets-outside-env]
|
||||
DOCKER_IMAGE: ${{ secrets.DOCKER_IMAGE }} # zizmor: ignore[secrets-outside-env]
|
||||
S3_RELEASE_BUCKET: ${{ secrets.S3_RELEASE_BUCKET }} # zizmor: ignore[secrets-outside-env]
|
||||
# Only run if required secrets are provided
|
||||
if: ${{ env.S3_RELEASE_BUCKET && env.AWS_ACCESS_KEY_ID && env.AWS_SECRET_ACCESS_KEY && env.DOCKER_USER && env.DOCKER_PASSWORD }}
|
||||
run: make deploy-ci
|
||||
|
||||
deploy-wasm-builder:
|
||||
name: Deploy WASM Builder
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
@@ -426,10 +426,6 @@ ci-image-smoke-test-%: image-quick-%
|
||||
eval --fail --format raw --stdin-input 'input[0].Config.User = "1000:1000"'
|
||||
$(DOCKER) run --platform linux/$* $(DOCKER_IMAGE):$(VERSION)-static version
|
||||
|
||||
.PHONY: push-binary-edge
|
||||
push-binary-edge:
|
||||
aws s3 sync $(RELEASE_DIR) s3://$(S3_RELEASE_BUCKET)/edge/ --no-progress --region us-west-1
|
||||
|
||||
.PHONY: docker-login
|
||||
docker-login:
|
||||
@echo "Docker Login..."
|
||||
@@ -443,7 +439,7 @@ push-wasm-builder-image: docker-login
|
||||
$(MAKE) -C wasm push-builder
|
||||
|
||||
.PHONY: deploy-ci
|
||||
deploy-ci: push-image push-manifest-list-edge push-binary-edge
|
||||
deploy-ci: push-image push-manifest-list-edge
|
||||
|
||||
.PHONY: release-ci
|
||||
# Don't tag and push "latest" image tags if the version is a release candidate or a bugfix branch
|
||||
|
||||
Vendored
+1
-2
@@ -80,6 +80,5 @@
|
||||
# Redirects relating to github asset downloads
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
/downloads/edge/* https://opa-releases.s3.amazonaws.com/edge/:splat 200
|
||||
/downloads/latest/* https://github.com/open-policy-agent/opa/releases/latest/download/:splat 200
|
||||
/downloads/latest/* https://github.com/open-policy-agent/opa/releases/latest/tag/:splat 200
|
||||
/downloads/* https://github.com/open-policy-agent/opa/releases/download/:splat 200
|
||||
|
||||
Reference in New Issue
Block a user