From 335c7129575611e8b11c35deec64e44cce61d27d Mon Sep 17 00:00:00 2001 From: dhurley Date: Tue, 25 Jun 2024 14:43:28 +0100 Subject: [PATCH] Test --- .github/workflows/ci.yml | 4 ---- Makefile.packaging | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3c54ccce..404cddc2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,10 +56,6 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version-file: 'go.mod' - - name: Run Test - env: - UPLOAD_URL: ${{ secrets.UPLOAD_URL }} - run: make release - name: Run Unit Tests run: make unit-test - name: Upload Test Coverage diff --git a/Makefile.packaging b/Makefile.packaging index 2e259b6cc..c39918b95 100644 --- a/Makefile.packaging +++ b/Makefile.packaging @@ -190,5 +190,5 @@ gpg-key: ## Generate GPG public key release: ## Publish tarball to the UPLOAD_URL echo "Publishing nginx-agent packages to ${UPLOAD_URL}"; \ - # curl -XPOST -F "file=@$(PACKAGES_DIR)/${PACKAGE_PREFIX}.tar.gz" -H "Token: ${TOKEN}" ${UPLOAD_URL}; \ - # curl -XPOST -F "file=@$(GPG_PUBLIC_KEY)" -H "Token: ${TOKEN}" ${UPLOAD_URL}; \ + curl -XPOST -F "file=@$(PACKAGES_DIR)/${PACKAGE_PREFIX}.tar.gz" -H "Token: ${TOKEN}" ${UPLOAD_URL}; \ + curl -XPOST -F "file=@$(GPG_PUBLIC_KEY)" -H "Token: ${TOKEN}" ${UPLOAD_URL}; \