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 static manifests from this repo #237

Merged
merged 1 commit into from
Nov 2, 2021
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
21 changes: 0 additions & 21 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,31 +118,10 @@ jobs:
with:
username: ${{ secrets.FSI_DOCKERHUB_USERNAME }}
password: ${{ secrets.FSI_DOCKERHUB_TOKEN }}
- uses: aws-actions/configure-aws-credentials@v1
if: ${{ !github.event.release.prerelease }} # Note the *not* operator
with:
aws-access-key-id: ${{ secrets.OHAI_AWS_ACCESS_KEY_ID_PRODUCTION }}
aws-secret-access-key: ${{ secrets.OHAI_AWS_SECRET_ACCESS_KEY_PRODUCTION }}
aws-region: us-east-1
role-duration-seconds: 1200
role-to-assume: ${{ secrets.OHAI_AWS_ROLE_ARN_PRODUCTION }}
role-session-name: ${{ secrets.OHAI_AWS_ROLE_SESSION_NAME_PRODUCTION }}
role-skip-session-tagging: true
- uses: aws-actions/configure-aws-credentials@v1
if: ${{ github.event.release.prerelease }}
with:
aws-access-key-id: ${{ secrets.OHAI_AWS_ACCESS_KEY_ID_STAGING }}
aws-secret-access-key: ${{ secrets.OHAI_AWS_SECRET_ACCESS_KEY_STAGING }}
aws-region: us-east-1
role-duration-seconds: 1200
role-to-assume: ${{ secrets.OHAI_AWS_ROLE_ARN_STAGING }}
role-session-name: ${{ secrets.OHAI_AWS_ROLE_SESSION_NAME_STAGING }}
role-skip-session-tagging: true
- name: Test for prerelase
if: ${{ github.event.release.prerelease }}
run: |
echo "TAG_SUFFIX=-pre" >> $GITHUB_ENV
echo "S3_PATH=s3://nr-downloads-ohai-staging/infrastructure_agent" >> $GITHUB_ENV
- name: do the release
run: make release
env:
Expand Down
5 changes: 0 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
before:
hooks:
# Generate yamls pointing to correct versions on release
- go run tools/deploy-yaml/main.go -full-version {{.Version}} -major-minor-version {{.Major}}.{{.Minor}}

builds:
- id: nri-prometheus-nix
main: ./cmd/nri-prometheus/
Expand Down
4 changes: 0 additions & 4 deletions build/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ ifeq ($(UPLOAD_PACKAGES), true)
@bash $(CURDIR)/build/upload_artifacts_gh.sh $(REPO_FULL_NAME)
endif
@echo "===> $(INTEGRATION) === [release/publish] publishing manifests"
# Copy generated manifests to S3
for manifest in $(CURDIR)/target/deploy/*; do \
aws s3 cp $$manifest $$S3_PATH/integrations/kubernetes/; \
done
@$(GORELEASER_BIN) build --config $(CURDIR)/.goreleaser.yml --skip-validate --snapshot --rm-dist


Expand Down
251 changes: 0 additions & 251 deletions deploy/nri-prometheus.tmpl.yaml

This file was deleted.

64 changes: 0 additions & 64 deletions deploy/static/static.yaml

This file was deleted.

Loading