Skip to content

Commit

Permalink
Merge pull request #952 from turbot/v1.0.x
Browse files Browse the repository at this point in the history
Release Flowpipe v1.0.0 (final)
  • Loading branch information
kaidaguerre authored Oct 22, 2024
2 parents d09cbdf + 9c7cdf7 commit 41536e6
Show file tree
Hide file tree
Showing 211 changed files with 10,491 additions and 2,133 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/go:1-1.22-bullseye
FROM mcr.microsoft.com/devcontainers/go:1-1.23-bookworm

ARG DEVCONTAINER_VERSION

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flowpipe-devcontainer",
"image": "ghcr.io/turbot/flowpipe-devcontainer:2.6.0",
"image": "ghcr.io/turbot/flowpipe-devcontainer:2.7.0",

"mounts": [
"source=${localWorkspaceFolder}/../pipe-fittings,target=/workspaces/pipe-fittings,type=bind,consistency=cached",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/01-flowpipe-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
version:
description: "Version (without 'v')"
required: true
default: 0.7.\invalid
default: 1.0.\invalid
confirmDevelop:
description: Confirm running on develop branch
required: true
Expand Down Expand Up @@ -90,15 +90,15 @@ jobs:
ssh-key: ${{ secrets.PIPE_FITTINGS_DEPLOY_PRIVATE_KEY }}
repository: turbot/pipe-fittings
path: pipe-fittings
ref: develop
ref: v1.6.x

- name: Checkout Flowpipe SDK Go repository
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.FLOWPIPE_GO_SDK_DEPLOY_PRIVATE_KEY }}
repository: turbot/flowpipe-sdk-go
path: flowpipe-sdk-go
ref: develop
ref: v1.0.x

# - name: Unshallow
# run: git fetch --prune --unshallow
Expand All @@ -123,7 +123,7 @@ jobs:
# this is required, check golangci-lint-action docs
- uses: actions/setup-go@v4
with:
go-version: '1.22'
go-version: '1.23'
cache: false # setup-go v4 caches by default, do not change this parameter, check golangci-lint-action doc: https://github.com/golangci/golangci-lint-action/pull/704

- uses: actions/setup-node@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/10-test-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,20 @@ jobs:
ssh-key: ${{ secrets.PIPE_FITTINGS_DEPLOY_PRIVATE_KEY }}
repository: turbot/pipe-fittings
path: pipe-fittings
ref: develop
ref: v1.6.x

- name: Checkout Flowpipe SDK Go repository
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.FLOWPIPE_GO_SDK_DEPLOY_PRIVATE_KEY }}
repository: turbot/flowpipe-sdk-go
path: flowpipe-sdk-go
ref: develop
ref: v1.0.x

# this is required, check golangci-lint-action docs
- uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.23"
cache: false # setup-go v4 caches by default, do not change this parameter, check golangci-lint-action doc: https://github.com/golangci/golangci-lint-action/pull/704

- uses: actions/setup-node@v4
Expand All @@ -94,7 +94,7 @@ jobs:
uses: golangci/golangci-lint-action@v3

with:
version: v1.59.1
version: v1.61.0
args: --timeout=15m
working-directory: flowpipe

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/11-test-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@ jobs:
ssh-key: ${{ secrets.PIPE_FITTINGS_DEPLOY_PRIVATE_KEY }}
repository: turbot/pipe-fittings
path: pipe-fittings
ref: develop
ref: v1.6.x

- name: Checkout Flowpipe SDK Go repository
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.FLOWPIPE_GO_SDK_DEPLOY_PRIVATE_KEY }}
repository: turbot/flowpipe-sdk-go
path: flowpipe-sdk-go
ref: develop
ref: v1.0.x

- uses: actions/setup-go@v4
with:
go-version: '1.22'
go-version: '1.23'
cache: false # setup-go v4 caches by default, do not change this parameter, check golangci-lint-action doc: https://github.com/golangci/golangci-lint-action/pull/704

- uses: actions/setup-node@v4
Expand Down
6 changes: 5 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ run:
timeout: 5m
modules-download-mode: readonly

issues:
exclude-dirs:
- scripts/mockserver

linters:
enable:
- asasalint
Expand All @@ -10,7 +14,7 @@ linters:
- depguard
- durationcheck
# - exhaustive
- exportloopref
- copyloopvar
- forbidigo
- gocritic
- gocheckcompilerdirectives
Expand Down
45 changes: 43 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,52 @@
# Flowpipe

## v0.7.2 [TBC]
## v1.0.0 [2024-10-22]

_What's new?_

* `connection` resource to manage credentials. [Documentation](https://flowpipe.io/docs/reference/config-files/connection).
* `connection` and `notifier` types for variables and params. ([#871](https://github.com/turbot/flowpipe/issues/871))
* `enum` validation for [variables](https://flowpipe.io/docs/flowpipe-hcl/variable#variable-types) and [params](https://flowpipe.io/docs/flowpipe-hcl/pipeline#arguments-1).
* Defined exit codes for various CLI operations. [Documentation](https://flowpipe.io/docs/reference/cli#exit-codes).

_Bug fixes_

* Passing pipeline references to nested mods for execution. ([#908](https://github.com/turbot/flowpipe/issues/908))
* Do not crash if pipeline reference is set to a string. ([#911](https://github.com/turbot/flowpipe/issues/911))

_Deprecation_

* `credential` and `credential_import` are deprecated to be replaced with `connection` and `connection_import`.

## v0.9.1 [2024-09-09]

_Bug fixes_

* `trigger` introspection output correctly shows `param` attribute. ([#900](https://github.com/turbot/flowpipe/issues/900))

## v0.9.0 [2024-09-04]

_What's new?_

* `tags` attribute in `pipeline param` and `mod variable` resources. ([#898](https://github.com/turbot/flowpipe/issues/898)).
* Updated `Docker` dependency to v27.1.2.

## v0.8.1 [2024-08-30]

_Bug fixes_

* `source` attribute in function step is now evaluated relative to the its mod directory rather than the root mod directory. ([#895](https://github.com/turbot/flowpipe/issues/895)).

## v0.8.0 [2024-08-26]

_What's new?_

* `trigger list` command includes triggers from root mod's immediate dependencies. ([#892](https://github.com/turbot/flowpipe/issues/892)).

_Bug fixes_

* Function step will no longer randomly fail in slower host machines. ([#888](https://github.com/turbot/flowpipe/issues/888)).
* Mod variable definition matches Powerpipe's definition. ([#889](https://github.com/turbot/flowpipe/issues/889)).
* Mod variable definition now matches Powerpipe's definition. ([#889](https://github.com/turbot/flowpipe/issues/889)).

## v0.7.1 [2024-08-14]

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ build: build-ui
go build .

run-mod:
go run . server --mod-location ./internal/es/estest/trigger_mod
FLOWPIPE_LOG_LEVEL=debug go run . server --mod-location ./internal/es/estest/trigger_mod

run-test-mod:
FP_VAR_var_from_env="from env var" go run . server --mod-location ./internal/es/estest/test_suite_mod
FP_VAR_var_from_env="from env var" go run . server --mod-location ./internal/es/estest/test_suite_mod_2

run-pipeline:
FLOWPIPE_LOG_LEVEL=INFO go run . server --mod-location ./internal/es/estest/pipelines
Expand Down
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<a href="https://flowpipe.io"><img width="67%" src="https://flowpipe.io/images/flowpipe_wordmark_outline.png"></a>

[![libraries](https://img.shields.io/badge/mods-62-blue)](https://hub.flowpipe.io) &nbsp;
[![pipelines](https://img.shields.io/badge/pipelines-510-blue)](https://hub.flowpipe.io/mods) &nbsp;
[![slack](https://img.shields.io/badge/slack-2297-blue)](https://turbot.com/community/join) &nbsp;
[![libraries](https://img.shields.io/badge/mods-76-blue)](https://hub.flowpipe.io) &nbsp;
[![pipelines](https://img.shields.io/badge/pipelines-1041-blue)](https://hub.flowpipe.io/mods) &nbsp;
[![slack](https://img.shields.io/badge/slack-2695-blue)](https://turbot.com/community/join) &nbsp;
[![maintained by](https://img.shields.io/badge/maintained%20by-Turbot-blue)](https://turbot.com)

[Flowpipe](https://flowpipe.io) is **Workflow for DevOps**. Automation and workflow to connect your clouds to the people, systems and data that matter.
Expand Down Expand Up @@ -34,18 +34,16 @@ See the [documentation](https://flowpipe.io/docs) for:

## Install Flowpipe

The <a href="https://flowpipe.io/downloads">downloads</a> page shows you how but tl;dr:

Linux or WSL
Install Flowpipe from the [downloads](https://flowpipe.io/downloads) page:

```sh
sudo /bin/sh -c "$(curl -fsSL https://flowpipe.io/install/flowpipe.sh)"
# MacOS
brew install turbot/tap/flowpipe
```

MacOS

```sh
brew install turbot/tap/flowpipe
# Linux or Windows (WSL)
sudo /bin/sh -c "$(curl -fsSL https://flowpipe.io/install/flowpipe.sh)"
```

Now, [create and run your first pipeline →](https://flowpipe.io/docs).
Expand Down Expand Up @@ -170,7 +168,7 @@ If you're interested in developing [Flowpipe mods](https://hub.flowpipe.io), see

## Turbot Pipes

Coming soon: bring your team to [Turbot Pipes](https://turbot.com/pipes) to use Flowpipe together in the cloud.
Coming soon: bring your team to [Turbot Pipes](https://turbot.com/pipes) to use Flowpipe together in the cloud.

## Open source and contributing
This repository is published under the [AGPL 3.0](https://www.gnu.org/licenses/agpl-3.0.html) license. Please see our [code of conduct](https://github.com/turbot/.github/blob/main/CODE_OF_CONDUCT.md). Contributors must sign our [Contributor License Agreement](https://turbot.com/open-source#cla) as part of their first pull request. We look forward to collaborating with you!
Expand Down
Loading

0 comments on commit 41536e6

Please sign in to comment.