From 5af1845268959771ddb134a3c2392573a7ba84e5 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 11:04:13 +0500 Subject: [PATCH 01/28] version reverted --- .travis.yml | 2 +- tests/__pycache__/__init__.cpython-38.pyc | Bin 0 -> 145 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tests/__pycache__/__init__.cpython-38.pyc diff --git a/.travis.yml b/.travis.yml index 39aeb1f4..0f77956b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,7 @@ jobs: os: linux dist: xenial language: python - python: "3.9" + python: "3.7" install: - pip install -r tests/acceptance/requirements.txt script: diff --git a/tests/__pycache__/__init__.cpython-38.pyc b/tests/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bba47a8698950b201a75df28847c124eb41a1365 GIT binary patch literal 145 zcmWIL<>g`kf}%@v5<&E15P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HSenx(7s(xuz zVrG%POKNd;Nq&KTenClQZe~?#PNjZgdTL&Yeo1O^NwI!>d}dx|NqoFsLFFwDo80`A O(wtN~ka?ehm;nH>$0B0@ literal 0 HcmV?d00001 From aaad38675fa45a31d5fe47a50898d72f5d52de4f Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 11:09:31 +0500 Subject: [PATCH 02/28] pycache removed --- tests/__pycache__/__init__.cpython-38.pyc | Bin 145 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 tests/__pycache__/__init__.cpython-38.pyc diff --git a/tests/__pycache__/__init__.cpython-38.pyc b/tests/__pycache__/__init__.cpython-38.pyc deleted file mode 100644 index bba47a8698950b201a75df28847c124eb41a1365..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 145 zcmWIL<>g`kf}%@v5<&E15P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!HSenx(7s(xuz zVrG%POKNd;Nq&KTenClQZe~?#PNjZgdTL&Yeo1O^NwI!>d}dx|NqoFsLFFwDo80`A O(wtN~ka?ehm;nH>$0B0@ From bd2e02437791aeb14389a32b702b936a8195b302 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 11:53:16 +0500 Subject: [PATCH 03/28] downgrade pip --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 0f77956b..bc5a83c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,6 +78,7 @@ jobs: language: python python: "3.7" install: + - python -m pip install pip==21.3.1 - pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From 458fe5d1bdc89f01e527fcf1541b2b1518f639e1 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 12:14:13 +0500 Subject: [PATCH 04/28] fix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bc5a83c1..d7ce7cc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,7 +79,7 @@ jobs: python: "3.7" install: - python -m pip install pip==21.3.1 - - pip install -r tests/acceptance/requirements.txt + - python -m pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From 434067e92517ff7e814a566378477fa8ba000b5d Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 12:47:24 +0500 Subject: [PATCH 05/28] print downgraded version --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d7ce7cc1..0abb5568 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,8 +78,9 @@ jobs: language: python python: "3.7" install: - - python -m pip install pip==21.3.1 - - python -m pip install -r tests/acceptance/requirements.txt + - pip install pip==21.3.1 + - pip --version + - pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From 6a346e0f9a3f9219b018765918925f04bfb1a5ba Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 12:57:00 +0500 Subject: [PATCH 06/28] fix --- .travis.yml | 2 -- tests/acceptance/requirements.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0abb5568..0f77956b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,8 +78,6 @@ jobs: language: python python: "3.7" install: - - pip install pip==21.3.1 - - pip --version - pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance diff --git a/tests/acceptance/requirements.txt b/tests/acceptance/requirements.txt index b76ed147..f83c3371 100644 --- a/tests/acceptance/requirements.txt +++ b/tests/acceptance/requirements.txt @@ -1,4 +1,4 @@ pytest>=5.3.2 -pytest-clarity>=0.2.0a1 +pytest-clarity>=1.0.1 requests>=2.22.0 openapi_core>=0.13.4 From b02e69c16bb832463d5cf32ffd52656bac9dfab9 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 13:05:43 +0500 Subject: [PATCH 07/28] fix --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0f77956b..0abb5568 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,6 +78,8 @@ jobs: language: python python: "3.7" install: + - pip install pip==21.3.1 + - pip --version - pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From b80af6deeb0832de9a54465fbebc4eeea3549536 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 20:25:20 +0500 Subject: [PATCH 08/28] fix --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0abb5568..6703d7b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,9 +78,7 @@ jobs: language: python python: "3.7" install: - - pip install pip==21.3.1 - - pip --version - - pip install -r tests/acceptance/requirements.txt + - python3.7 -m pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From 3291a15d1391eee24b5d7acdf5c7e30e3cb71398 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 20:33:24 +0500 Subject: [PATCH 09/28] fix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6703d7b5..c37c0148 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,7 +78,7 @@ jobs: language: python python: "3.7" install: - - python3.7 -m pip install -r tests/acceptance/requirements.txt + - python3.7.1 -m pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From 67430004ad44933b443a85cf2e5b38551311607f Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 21:16:14 +0500 Subject: [PATCH 10/28] fix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c37c0148..11cecb6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,7 +78,7 @@ jobs: language: python python: "3.7" install: - - python3.7.1 -m pip install -r tests/acceptance/requirements.txt + - pip install -r tests/acceptance/requirements.txt --use-deprecated=backtrack-on-build-failures script: - MYHOST="http://localhost:8080" make test-acceptance From 49e9e79c87dd147be00f9df555b495611e8aa2bb Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 21:30:02 +0500 Subject: [PATCH 11/28] fix --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 11cecb6e..030d9721 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,7 +78,8 @@ jobs: language: python python: "3.7" install: - - pip install -r tests/acceptance/requirements.txt --use-deprecated=backtrack-on-build-failures + - python3.7 -m pip install pip==21.3.1 + - python3.7 -m pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From b683bef7ddae62f83a850e5f87f3cd5088c49835 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 1 Apr 2022 21:46:01 +0500 Subject: [PATCH 12/28] test --- tests/acceptance/requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/acceptance/requirements.txt b/tests/acceptance/requirements.txt index f83c3371..528e2fc1 100644 --- a/tests/acceptance/requirements.txt +++ b/tests/acceptance/requirements.txt @@ -1,4 +1,3 @@ pytest>=5.3.2 -pytest-clarity>=1.0.1 requests>=2.22.0 openapi_core>=0.13.4 From 9eef41858b97b28e0dcb1b75391081c29d51b669 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Tue, 19 Apr 2022 15:16:06 +0500 Subject: [PATCH 13/28] pytest-clarity readded --- tests/acceptance/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/requirements.txt b/tests/acceptance/requirements.txt index 528e2fc1..b76ed147 100644 --- a/tests/acceptance/requirements.txt +++ b/tests/acceptance/requirements.txt @@ -1,3 +1,4 @@ pytest>=5.3.2 +pytest-clarity>=0.2.0a1 requests>=2.22.0 openapi_core>=0.13.4 From 66532dfc23f8ee6271fe49a3c215f99d55f6768a Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Tue, 19 Apr 2022 15:35:19 +0500 Subject: [PATCH 14/28] pytest-clarity version updated --- tests/acceptance/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/requirements.txt b/tests/acceptance/requirements.txt index b76ed147..2fd6f085 100644 --- a/tests/acceptance/requirements.txt +++ b/tests/acceptance/requirements.txt @@ -1,4 +1,4 @@ pytest>=5.3.2 -pytest-clarity>=0.2.0a1 +pytest-clarity==1.0.1 requests>=2.22.0 openapi_core>=0.13.4 From d292efaa243092cf8c0eac646db594f255fbe5bd Mon Sep 17 00:00:00 2001 From: Mirza Sohail Hussain Date: Mon, 9 May 2022 15:20:21 -0700 Subject: [PATCH 15/28] tr now --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 030d9721..93f5e856 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,6 +79,7 @@ jobs: python: "3.7" install: - python3.7 -m pip install pip==21.3.1 + - pip --version - python3.7 -m pip install -r tests/acceptance/requirements.txt script: - MYHOST="http://localhost:8080" make test-acceptance From a862d9222963608af561740b8af29065af84154a Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Thu, 12 May 2022 19:03:12 +0500 Subject: [PATCH 16/28] acceptance test on git action --- .github/workflows/python.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/python.yml diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 00000000..1fd31280 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,27 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Agent package + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + acceptance-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.7 + uses: actions/setup-python@v3 + with: + python-version: 3.7 + - name: Install dependencies + run: | + pip install -r ./tests/acceptance/requirements.txt + - name: Run acceptance tests + run: | + make -e setup build + MYHOST="http://localhost:8080" make test-acceptance From e5440af5d2f69cbcb73ba50d28df44fd97ad6dc0 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 16:06:01 +0500 Subject: [PATCH 17/28] fmt added --- .github/workflows/{python.yml => agent.yml} | 13 +++++++++++++ 1 file changed, 13 insertions(+) rename .github/workflows/{python.yml => agent.yml} (71%) diff --git a/.github/workflows/python.yml b/.github/workflows/agent.yml similarity index 71% rename from .github/workflows/python.yml rename to .github/workflows/agent.yml index 1fd31280..1cc4be43 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/agent.yml @@ -10,6 +10,19 @@ on: branches: [ master ] jobs: + fmt: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.7 + uses: actions/setup-python@v3 + with: + python-version: 3.7 + - name: Run acceptance tests + env: + run: | + make -e setup build + test -z "$(go fmt ./pkg/...)" acceptance-test: runs-on: ubuntu-latest steps: From 0c3b781d27aa67ab04e123c1813d542c5095a0a6 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 16:32:37 +0500 Subject: [PATCH 18/28] fix --- .github/workflows/agent.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 1cc4be43..7eabc4a7 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -19,7 +19,6 @@ jobs: with: python-version: 3.7 - name: Run acceptance tests - env: run: | make -e setup build test -z "$(go fmt ./pkg/...)" From 90a8f6b1e5bc400de29fcc83da7cddc20737c422 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 19:54:11 +0500 Subject: [PATCH 19/28] hadolint and coveralls added --- .github/workflows/agent.yml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 7eabc4a7..96985ecf 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -18,11 +18,11 @@ jobs: uses: actions/setup-python@v3 with: python-version: 3.7 - - name: Run acceptance tests + - name: fmt run: | make -e setup build test -z "$(go fmt ./pkg/...)" - acceptance-test: + tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -30,10 +30,27 @@ jobs: uses: actions/setup-python@v3 with: python-version: 3.7 - - name: Install dependencies + - name: hadolint + uses: actions/setup-python@v3 + with: + python-version: 3.7 + run: | + make -e lint + for f in `find scripts/dockerfiles -type f`; do echo $f; docker run --rm -i hadolint/hadolint:v2.1.0 < $f; done + - name: coveralls + id: make_coverall + uses: actions/setup-python@v3 + with: + python-version: 3.7 + run: | + make -e cover COVER_FILE=coverage.txt + name: post coverall + if: step.make_coverall.outcome == 'success' run: | - pip install -r ./tests/acceptance/requirements.txt - - name: Run acceptance tests + go get github.com/mattn/goveralls + $GOPATH/bin/goveralls -coverprofile=coverage.txt -service=github + - name: acceptance test run: | + pip install -r ./tests/acceptance/requirements.txt make -e setup build MYHOST="http://localhost:8080" make test-acceptance From b436c5617a781dee2ddf7120f96032988aed74a6 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 19:58:05 +0500 Subject: [PATCH 20/28] fix --- .github/workflows/agent.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 96985ecf..261d73c7 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -31,17 +31,11 @@ jobs: with: python-version: 3.7 - name: hadolint - uses: actions/setup-python@v3 - with: - python-version: 3.7 run: | make -e lint for f in `find scripts/dockerfiles -type f`; do echo $f; docker run --rm -i hadolint/hadolint:v2.1.0 < $f; done - name: coveralls id: make_coverall - uses: actions/setup-python@v3 - with: - python-version: 3.7 run: | make -e cover COVER_FILE=coverage.txt name: post coverall From 41bc31337632815fd56911f3beb6ddf8b87823f9 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 19:59:09 +0500 Subject: [PATCH 21/28] syntax fix --- .github/workflows/agent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 261d73c7..0950a14b 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -38,7 +38,7 @@ jobs: id: make_coverall run: | make -e cover COVER_FILE=coverage.txt - name: post coverall + - name: post coverall if: step.make_coverall.outcome == 'success' run: | go get github.com/mattn/goveralls From 2f8782f423d4dc35176098cff93696ef1ab45023 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 20:00:44 +0500 Subject: [PATCH 22/28] typo fixed --- .github/workflows/agent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 0950a14b..2c5fbdcd 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -39,7 +39,7 @@ jobs: run: | make -e cover COVER_FILE=coverage.txt - name: post coverall - if: step.make_coverall.outcome == 'success' + if: steps.make_coverall.outcome == 'success' run: | go get github.com/mattn/goveralls $GOPATH/bin/goveralls -coverprofile=coverage.txt -service=github From 048280fe85e6ba6edb230ce0abf12285a4c1baf6 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 20:03:45 +0500 Subject: [PATCH 23/28] make build added --- .github/workflows/agent.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 2c5fbdcd..d3c2eaa0 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -32,6 +32,7 @@ jobs: python-version: 3.7 - name: hadolint run: | + make -e setup build make -e lint for f in `find scripts/dockerfiles -type f`; do echo $f; docker run --rm -i hadolint/hadolint:v2.1.0 < $f; done - name: coveralls From febd8ed5b0c027aa5eaa7de70f984bd9a049f686 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 20:28:18 +0500 Subject: [PATCH 24/28] go version set --- .github/workflows/agent.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index d3c2eaa0..17835153 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -26,6 +26,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/setup-go@v2 + with: + go-version: '1.13' + check-latest: true - name: Set up Python 3.7 uses: actions/setup-python@v3 with: From ccb02f9a67e5d2b89a2e4b856711327e1e48555b Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 21:38:49 +0500 Subject: [PATCH 25/28] test with version numbers --- scripts/dockerfiles/Dockerfile.alpine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dockerfiles/Dockerfile.alpine b/scripts/dockerfiles/Dockerfile.alpine index 295f8ba8..2b40487c 100644 --- a/scripts/dockerfiles/Dockerfile.alpine +++ b/scripts/dockerfiles/Dockerfile.alpine @@ -2,13 +2,13 @@ ARG GO_VERSION FROM golang:$GO_VERSION-alpine3.10 as builder # hadolint ignore=DL3018 RUN addgroup -S agentgroup && adduser -S agentuser -G agentgroup -RUN apk add --no-cache make gcc libc-dev git curl +RUN apk add --no-cache make=4.2.1-r2 gcc=8.3.0-r0 libc-dev=0.7.1-r0 git=2.22.5-r0 curl=7.66.0-r4 WORKDIR /go/src/github.com/optimizely/agent COPY . . RUN make setup build FROM alpine:3.10 -RUN apk add --no-cache ca-certificates +RUN apk add --no-cache cca-certificates=20191127-r2 COPY --from=builder /go/src/github.com/optimizely/agent/bin/optimizely /optimizely COPY --from=builder /etc/passwd /etc/passwd USER agentuser From 97a243ae670a67d2e87ef2e67a8fc3ba2cee91fa Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 21:42:59 +0500 Subject: [PATCH 26/28] go path removed --- .github/workflows/agent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 17835153..792d09cd 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -47,7 +47,7 @@ jobs: if: steps.make_coverall.outcome == 'success' run: | go get github.com/mattn/goveralls - $GOPATH/bin/goveralls -coverprofile=coverage.txt -service=github + goveralls -coverprofile=profile.cov -service=github - name: acceptance test run: | pip install -r ./tests/acceptance/requirements.txt From 5214cd8b1199b2d3e7ccc1f3248bbb61b74b868f Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 21:50:54 +0500 Subject: [PATCH 27/28] fix --- .github/workflows/agent.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 792d09cd..f6f2f533 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -47,7 +47,7 @@ jobs: if: steps.make_coverall.outcome == 'success' run: | go get github.com/mattn/goveralls - goveralls -coverprofile=profile.cov -service=github + goveralls -coverprofile=coverage.txt -service=github - name: acceptance test run: | pip install -r ./tests/acceptance/requirements.txt From 9473d6e53619c1b6fa90c2415b840ab6e4f4a151 Mon Sep 17 00:00:00 2001 From: ozayr-zaviar Date: Fri, 13 May 2022 21:54:15 +0500 Subject: [PATCH 28/28] token added --- .github/workflows/agent.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index f6f2f533..447eccd0 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -24,6 +24,8 @@ jobs: test -z "$(go fmt ./pkg/...)" tests: runs-on: ubuntu-latest + env: + COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v2