Skip to content

Commit

Permalink
Build packages in makefile (influxdata#7759)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson authored Jun 30, 2020
1 parent 063c61f commit b6560c8
Show file tree
Hide file tree
Showing 15 changed files with 554 additions and 1,092 deletions.
22 changes: 12 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ defaults:
GOFLAGS: -p=8
go-1_13: &go-1_13
docker:
- image: 'quay.io/influxdb/telegraf-ci:1.13.11'
- image: 'quay.io/influxdb/telegraf-ci:1.13.12'
go-1_14: &go-1_14
docker:
- image: 'quay.io/influxdb/telegraf-ci:1.14.3'
- image: 'quay.io/influxdb/telegraf-ci:1.14.4'
mac: &mac
macos:
xcode: 11.3.1
Expand Down Expand Up @@ -109,26 +109,28 @@ jobs:
at: '/go'
- run: 'make package'
- store_artifacts:
path: './build'
destination: 'build'
path: './build/dist'
destination: 'build/dist'

release:
<<: [ *defaults, *go-1_14 ]
steps:
- attach_workspace:
at: '/go'
- run: 'make package-release'
- run: 'make package'
- store_artifacts:
path: './build'
destination: 'build'
path: './build/dist'
destination: 'build/dist'
nightly:
<<: [ *defaults, *go-1_14 ]
steps:
- attach_workspace:
at: '/go'
- run: 'make package-nightly'
- run: 'NIGHTLY=1 make package'
- run: 'make upload-nightly'
- store_artifacts:
path: './build'
destination: 'build'
path: './build/dist'
destination: 'build/dist'

workflows:
version: 2
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2019 InfluxData Inc.
Copyright (c) 2015-2020 InfluxData Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit b6560c8

Please sign in to comment.