Skip to content

Commit

Permalink
remove static manifests (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilokang authored Nov 2, 2021
1 parent 406d7f5 commit 24a4cbe
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 418 deletions.
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

0 comments on commit 24a4cbe

Please sign in to comment.