Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

chore: add back traces when extracting the files from the box #946

Merged
merged 2 commits into from
Mar 26, 2021

Conversation

mdelapenya
Copy link
Contributor

What does this PR do?

This PR adds back the log traces when a file was extracted from the box. While adding them, and testing it locally, I found that the initialisation order provided by Go init() method is not deterministic, because of that I checked that the logger init was not called at the right time. With change we ensure that the Init is:

  1. called first
  2. exiting if the config was already populated

Why is it important?

It adds verbose messages about what files are bundled in the tool.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the Unit tests for the CLI, and they are passing locally
  • I have run the End-2-End tests for the suite I'm working on, and they are passing locally
  • I have noticed new Go dependencies (run make notice in the proper directory)

How to test this PR locally

GO111MODULE=on OP_LOG_LEVEL=TRACE go run main.go run profile fleet

Logs

TRAC[0037] 'op' workdirs created. profilesPath=/Users/mdelapenya/.op/compose/profiles servicesPath=/Users/mdelapenya/.op/compose/services
TRAC[0043] Extracting boxed file dir=/Users/mdelapenya/.op/compose/profiles/fleet/configurations file=/Users/mdelapenya/.op/compose/profiles/fleet/configurations/kibana.config.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/profiles/fleet file=/Users/mdelapenya/.op/compose/profiles/fleet/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/profiles/helm file=/Users/mdelapenya/.op/compose/profiles/helm/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/profiles/metricbeat file=/Users/mdelapenya/.op/compose/profiles/metricbeat/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/apm-server file=/Users/mdelapenya/.op/compose/services/apm-server/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/centos-systemd file=/Users/mdelapenya/.op/compose/services/centos-systemd/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/centos file=/Users/mdelapenya/.op/compose/services/centos/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/debian-systemd file=/Users/mdelapenya/.op/compose/services/debian-systemd/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/debian file=/Users/mdelapenya/.op/compose/services/debian/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/elastic-agent file=/Users/mdelapenya/.op/compose/services/elastic-agent/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/elasticsearch file=/Users/mdelapenya/.op/compose/services/elasticsearch/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/kibana file=/Users/mdelapenya/.op/compose/services/kibana/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/metricbeat file=/Users/mdelapenya/.op/compose/services/metricbeat/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/opbeans-go file=/Users/mdelapenya/.op/compose/services/opbeans-go/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/opbeans-java file=/Users/mdelapenya/.op/compose/services/opbeans-java/docker-compose.yml
TRAC[0052] Extracting boxed file dir=/Users/mdelapenya/.op/compose/services/vsphere file=/Users/mdelapenya/.op/compose/services/vsphere/docker-compose.yml

As go init() method is not deterministic, I found that the logger init was
not called at the right time. With change we ensure that the Init is:
1) called first
2) existing it the config was already populated
@elasticmachine
Copy link
Contributor

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: Pull request #946 opened

  • Start Time: 2021-03-26T16:25:45.849+0000

  • Duration: 62 min 52 sec

  • Commit: 789bcd7

Test stats 🧪

Test Results
Failed 15
Passed 87
Skipped 0
Total 102

Trends 🧪

Image of Build Times

Image of Tests

Test errors 15

Expand to view the tests failures

> Show only the first 10 test failures

Initializing / End-To-End Tests / ubuntu-18.04_metricbeat_integrations && apache / [empty] – TEST-metricbeat.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-metricbeat.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_metricbeat_integrations && envoyproxy / [empty] – TEST-metricbeat.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-metricbeat.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_helm_apm-server / [empty] – TEST-helm.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-helm.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_metricbeat_integrations && etcd / [empty] – TEST-metricbeat.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-metricbeat.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_metricbeat_integrations && haproxy / [empty] – TEST-metricbeat.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-metricbeat.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_metricbeat_metricbeat / [empty] – TEST-metricbeat.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-metricbeat.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_metricbeat_integrations && mysql / [empty] – TEST-metricbeat.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-metricbeat.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Log output

Expand to view the last 100 lines of log output

[2021-03-26T17:27:24.192Z] 22262b2b858608419d4ad1b459ba83f12f5ef1b4e4d83cc3f8f0775080ed5230
[2021-03-26T17:27:24.207Z] Recording test results
[2021-03-26T17:27:24.230Z] Archiving artifacts
[2021-03-26T17:27:24.261Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.314Z] Recording test results
[2021-03-26T17:27:24.385Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.411Z] Recording test results
[2021-03-26T17:27:24.440Z] Archiving artifacts
[2021-03-26T17:27:24.461Z] Archiving artifacts
[2021-03-26T17:27:24.462Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.492Z] Recording test results
[2021-03-26T17:27:24.541Z] Recording test results
[2021-03-26T17:27:24.549Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.608Z] Archiving artifacts
[2021-03-26T17:27:24.609Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.644Z] Recording test results
[2021-03-26T17:27:24.670Z] Archiving artifacts
[2021-03-26T17:27:24.710Z] Archiving artifacts
[2021-03-26T17:27:24.728Z] Recording test results
[2021-03-26T17:27:24.745Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.773Z] Recording test results
[2021-03-26T17:27:24.779Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.825Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:24.869Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:25.021Z] Recording test results
[2021-03-26T17:27:25.053Z] Archiving artifacts
[2021-03-26T17:27:25.075Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:25.081Z] Recording test results
[2021-03-26T17:27:25.121Z] Archiving artifacts
[2021-03-26T17:27:25.133Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:25.160Z] Recording test results
[2021-03-26T17:27:25.195Z] Recording test results
[2021-03-26T17:27:25.206Z] + go clean -modcache
[2021-03-26T17:27:25.228Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:25.312Z] Archiving artifacts
[2021-03-26T17:27:25.348Z] Recording test results
[2021-03-26T17:27:25.382Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:25.443Z] Archiving artifacts
[2021-03-26T17:27:25.482Z] Recording test results
[2021-03-26T17:27:25.514Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:25.537Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:25.575Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:25.610Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:25.830Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:25.885Z] Archiving artifacts
[2021-03-26T17:27:25.923Z] Archiving artifacts
[2021-03-26T17:27:25.958Z] + go clean -modcache
[2021-03-26T17:27:26.009Z] + go clean -modcache
[2021-03-26T17:27:26.051Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:26.059Z] + go clean -modcache
[2021-03-26T17:27:26.081Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:26.158Z] Archiving artifacts
[2021-03-26T17:27:26.203Z] Recording test results
[2021-03-26T17:27:26.421Z] Archiving artifacts
[2021-03-26T17:27:26.471Z] Archiving artifacts
[2021-03-26T17:27:26.502Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:26.507Z] + go clean -modcache
[2021-03-26T17:27:26.553Z] + go clean -modcache
[2021-03-26T17:27:26.647Z] [Checks API] No suitable checks publisher found.
[2021-03-26T17:27:26.668Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:26.745Z] Archiving artifacts
[2021-03-26T17:27:26.876Z] + go clean -modcache
[2021-03-26T17:27:26.946Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:27.005Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:27.049Z] + go clean -modcache
[2021-03-26T17:27:27.269Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:27.352Z] + go clean -modcache
[2021-03-26T17:27:27.411Z] + go clean -modcache
[2021-03-26T17:27:27.597Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:27.629Z] + go clean -modcache
[2021-03-26T17:27:27.629Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:27.701Z] Archiving artifacts
[2021-03-26T17:27:27.926Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:28.013Z] + go clean -modcache
[2021-03-26T17:27:28.060Z] + go clean -modcache
[2021-03-26T17:27:28.293Z] + go clean -modcache
[2021-03-26T17:27:28.840Z] Running in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946/src/github.com/elastic/e2e-testing
[2021-03-26T17:27:29.202Z] + go clean -modcache
[2021-03-26T17:27:30.195Z] Failed in branch ubuntu-18.04_metricbeat_integrations && apache
[2021-03-26T17:27:30.835Z] Failed in branch ubuntu-18.04_metricbeat_integrations && envoyproxy
[2021-03-26T17:27:31.246Z] Failed in branch ubuntu-18.04_helm_apm-server
[2021-03-26T17:27:31.559Z] Failed in branch ubuntu-18.04_metricbeat_integrations && etcd
[2021-03-26T17:27:31.632Z] Failed in branch ubuntu-18.04_metricbeat_integrations && haproxy
[2021-03-26T17:27:31.743Z] Failed in branch ubuntu-18.04_metricbeat_metricbeat
[2021-03-26T17:27:31.934Z] Failed in branch ubuntu-18.04_metricbeat_integrations && mysql
[2021-03-26T17:27:32.100Z] Failed in branch ubuntu-18.04_fleet_agent_endpoint_integration
[2021-03-26T17:27:32.349Z] Failed in branch ubuntu-18.04_fleet_fleet_mode_agent
[2021-03-26T17:27:32.432Z] Failed in branch ubuntu-18.04_fleet_backend_processes
[2021-03-26T17:27:32.665Z] Failed in branch ubuntu-18.04_helm_filebeat
[2021-03-26T17:27:32.760Z] Failed in branch ubuntu-18.04_fleet_stand_alone_agent
[2021-03-26T17:27:32.862Z] Failed in branch ubuntu-18.04_metricbeat_integrations && redis
[2021-03-26T17:27:32.939Z] Failed in branch ubuntu-18.04_metricbeat_integrations && dropwizard
[2021-03-26T17:27:33.196Z] Failed in branch ubuntu-18.04_helm_metricbeat
[2021-03-26T17:27:35.195Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-26T17:27:36.901Z] Running on beats-ci-immutable-ubuntu-2004-1616777333213226653 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-946
[2021-03-26T17:27:37.010Z] [INFO] getVaultSecret: Getting secrets
[2021-03-26T17:27:37.121Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-26T17:27:38.304Z] + chmod 755 generate-build-data.sh
[2021-03-26T17:27:38.304Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-946/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-946/runs/1 ABORTED 3712082
[2021-03-26T17:27:38.304Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-946/runs/1/steps/?limit=10000 -o steps-info.json

@adam-stokes
Copy link
Contributor

this LGTM 👍🏼

@adam-stokes adam-stokes marked this pull request as ready for review March 26, 2021 20:29
@adam-stokes adam-stokes merged commit b96d41a into elastic:gh-fix-933 Mar 26, 2021
adam-stokes added a commit that referenced this pull request Mar 29, 2021
* cli: enable loading default profiles turnkey

Fixes #933
* update NOTICE
* Fix additional lint issues in ingest_manager_test
* Cleanup comment and trace log in GetComposeFile
* Provide better trace feedback if missing docker-compose
* Update cli/config/config.go
* chore: add back traces when extracting the files from the box (#946)
* fix: use a more comprehensive initialisation method for configs
   As go init() method is not deterministic, I found that the logger init was
   not called at the right time. With change we ensure that the Init is:
   1) called first
   2) existing it the config was already populated
* chore: add back traces when extracting the files from the box

Signed-off-by: Adam Stokes <[email protected]>
Co-authored-by: Manuel de la Peña <[email protected]>
@mdelapenya mdelapenya deleted the gh-fix-933 branch March 30, 2021 14:27
mergify bot pushed a commit that referenced this pull request Apr 22, 2021
* cli: enable loading default profiles turnkey

Fixes #933
* update NOTICE
* Fix additional lint issues in ingest_manager_test
* Cleanup comment and trace log in GetComposeFile
* Provide better trace feedback if missing docker-compose
* Update cli/config/config.go
* chore: add back traces when extracting the files from the box (#946)
* fix: use a more comprehensive initialisation method for configs
   As go init() method is not deterministic, I found that the logger init was
   not called at the right time. With change we ensure that the Init is:
   1) called first
   2) existing it the config was already populated
* chore: add back traces when extracting the files from the box

Signed-off-by: Adam Stokes <[email protected]>
Co-authored-by: Manuel de la Peña <[email protected]>
(cherry picked from commit ae5b9fe)

# Conflicts:
#	cli/go.mod
#	cli/go.sum
#	e2e/_suites/fleet/ingest_manager_test.go
mergify bot pushed a commit that referenced this pull request Apr 22, 2021
* cli: enable loading default profiles turnkey

Fixes #933
* update NOTICE
* Fix additional lint issues in ingest_manager_test
* Cleanup comment and trace log in GetComposeFile
* Provide better trace feedback if missing docker-compose
* Update cli/config/config.go
* chore: add back traces when extracting the files from the box (#946)
* fix: use a more comprehensive initialisation method for configs
   As go init() method is not deterministic, I found that the logger init was
   not called at the right time. With change we ensure that the Init is:
   1) called first
   2) existing it the config was already populated
* chore: add back traces when extracting the files from the box

Signed-off-by: Adam Stokes <[email protected]>
Co-authored-by: Manuel de la Peña <[email protected]>
(cherry picked from commit ae5b9fe)

# Conflicts:
#	cli/go.mod
#	cli/go.sum
#	e2e/_suites/fleet/ingest_manager_test.go
mergify bot pushed a commit that referenced this pull request Apr 22, 2021
* cli: enable loading default profiles turnkey

Fixes #933
* update NOTICE
* Fix additional lint issues in ingest_manager_test
* Cleanup comment and trace log in GetComposeFile
* Provide better trace feedback if missing docker-compose
* Update cli/config/config.go
* chore: add back traces when extracting the files from the box (#946)
* fix: use a more comprehensive initialisation method for configs
   As go init() method is not deterministic, I found that the logger init was
   not called at the right time. With change we ensure that the Init is:
   1) called first
   2) existing it the config was already populated
* chore: add back traces when extracting the files from the box

Signed-off-by: Adam Stokes <[email protected]>
Co-authored-by: Manuel de la Peña <[email protected]>
(cherry picked from commit ae5b9fe)

# Conflicts:
#	cli/go.mod
#	cli/go.sum
#	e2e/_suites/fleet/ingest_manager_test.go
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 22, 2021
* cli: enable loading default profiles turnkey

Fixes elastic#933
* update NOTICE
* Fix additional lint issues in ingest_manager_test
* Cleanup comment and trace log in GetComposeFile
* Provide better trace feedback if missing docker-compose
* Update cli/config/config.go
* chore: add back traces when extracting the files from the box (elastic#946)
* fix: use a more comprehensive initialisation method for configs
   As go init() method is not deterministic, I found that the logger init was
   not called at the right time. With change we ensure that the Init is:
   1) called first
   2) existing it the config was already populated
* chore: add back traces when extracting the files from the box

Signed-off-by: Adam Stokes <[email protected]>
Co-authored-by: Manuel de la Peña <[email protected]>
mdelapenya added a commit that referenced this pull request Apr 22, 2021
* cli: enable loading default profiles turnkey (#943)

* cli: enable loading default profiles turnkey

Fixes #933
* update NOTICE
* Fix additional lint issues in ingest_manager_test
* Cleanup comment and trace log in GetComposeFile
* Provide better trace feedback if missing docker-compose
* Update cli/config/config.go
* chore: add back traces when extracting the files from the box (#946)
* fix: use a more comprehensive initialisation method for configs
   As go init() method is not deterministic, I found that the logger init was
   not called at the right time. With change we ensure that the Init is:
   1) called first
   2) existing it the config was already populated
* chore: add back traces when extracting the files from the box

Signed-off-by: Adam Stokes <[email protected]>
Co-authored-by: Manuel de la Peña <[email protected]>

* Add basic check on correct service is defined for profile runs (#957)

Fixes #944

This adds a length check on the string split for verifying that the
<service/image name>:<tag> is defined when adding additional services to a
profile deployment.

Signed-off-by: Adam Stokes <[email protected]>

* Update NOTICE (#969)

Adds additional overrides to pulling in the proper licenses

Signed-off-by: Adam Stokes <[email protected]>

* Build binaries via goreleaser (#977)

This handles building for all supported architectures including running packr
for embedding the binary files.

This allows us to easily extend our release process for tagging official cli
releases, building in various package formats and publishing to different
package registries

Signed-off-by: Adam Stokes <[email protected]>

* chore: simplify release process on Jenkins (#980)

* chore: archive releases in Jenkins UI

* chore: simplify release process on Jenkins

* chore: remove garbage

* chore: support retrying fetching the goreleaser script

It will also retry in the case the release command fails

* chore: set GITHUB_TOKEN

* chore: ensure workspace is clean in the worker

* chore: add release information for goreleaser

* Remove the agent config file parameters for stand alone (#983)

Signed-off-by: Adam Stokes <[email protected]>

Co-authored-by: Manuel de la Peña <[email protected]>

* fix: run unit tests after refactor (#1067)

* chore: remove unused files after refactor

* chore: run unit tests with new layout

* fix: run unit tests on CI

* chore: include unit tests for the e2e dir

* fix: move unit tests resources for installer tests

* fix: move more test resources for unit tests

* fix: abstract path calculation from OS

Co-authored-by: Adam Stokes <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants