influxdata / influx-cli

CLI for managing resources in InfluxDB v2
MIT License
61 stars 22 forks source link

chore: cherry pick from main to catch up. #532

Closed davidby-influx closed 3 months ago

davidby-influx commented 3 months ago
* build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 (#531)
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0.    
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
(cherry picked from commit 08605a3f313dacfc2d1648e8ab37d358d333e7f3)

* chore: update MacOS executor to M1 (#521)    
(cherry picked from commit c73d46ed4246ae168a07f70c34474056f54bc4f7)

* fix: Create errors-file if it does not exist (#520)    
When passed `--errors-file`, the file should not
need to already exist on disk to be written into
(cherry picked from commit 9db72b0445b4568436e79ec210b6ff3a0775e1b6)

* fix: supply "VERSION" and "COMMIT" to Makefile (#518)    
* fix: don't import non-existent/unused GPG private key   
* fix: supply "VERSION" when doing release builds
(cherry picked from commit 3a378353865665637cb855440bf6f0e5674011e2)
davidby-influx commented 3 months ago

@bnpfeife - one question. I get this one diff from main in the circleci config. Which is the right version? Doesn't seem to have cherry-picked?

--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -332,8 +332,8 @@ jobs:
       - run:
           command: |
             export DEBIAN_FRONTEND=noninteractive
-            sudo -E apt-get update
-            sudo -E apt-get install --yes awscli
+            sudo apt-get update -y
+            sudo apt-get install -y awscli gnupg
       - when:
           condition: << parameters.is-nightly >>
           steps:
bnpfeife commented 3 months ago

Hey @davidby-influx

It looks like the commit on main came from https://github.com/influxdata/influx-cli/commit/467d545c266748e4958447f63b2974017f329bbb. That commit looks like the correct version to me. However, I think that the workflow should succeed regardless of which is used.