Releases: devstream-io/devstream
v0.13.3
What's Changed
- Fix
dtm commit
Command Cannot Get The Message From -m Flag by @daniel-hutao in #1500
Full Changelog: v0.13.2...v0.13.3
v0.13.2
What's Changed
- Fix The CI Error With Wrong Golang Version by @daniel-hutao in #1497
- Feat: Add
dtm commit -m
Command Implementation by @daniel-hutao in #1499
Full Changelog: v0.13.1...v0.13.2
Help
$ ./dtm help
dtm is a tool to manage variaties of development platforms.
Usage:
dtm [command]
Available Commands:
commit commit is used to execute git commit operations
completion Generate the autocompletion script for the specified shell
github github is used to execute github operations
help Help about any command
patch apply a diff file to an original
scaffold scaffold is used to generate folder and file structure
Flags:
--config string config file (default is $HOME/.devstream.yaml)
--debug debug level log
-h, --help help for dtm
-o, --output string Output format. One of: json|yaml|raw (default "raw")
-t, --toggle Help message for toggle
Use "dtm [command] --help" for more information about a command.
New Command
$ ./dtm commit -h
commit is used to execute git commit operations
e.g.
1. dtm commit -m "commit message"
Usage:
dtm commit [flags]
Flags:
-h, --help help for commit
-m, --message string commit message
Global Flags:
--config string config file (default is $HOME/.devstream.yaml)
--debug debug level log
-o, --output string Output format. One of: json|yaml|raw (default "raw")
v0.13.1
What's Changed
- Update CI Workflow and Fix Mixed Tab and Space Indentation in Patch File by @daniel-hutao in #1496
Full Changelog: v0.13.0...v0.13.1
v0.13.0
Hello World Again
This is a special version, starting from this version we are trying to give DevStream a different life. We apologize that we don't have time to provide detailed documentation yet, but don't worry, what should be there will be available soon.
First Command
dtm patch -h
patch will take a patch file containing any of the four forms of difference listing
produced by the diff program and apply those differences to an original file,
producing a patched version. If patchfile is omitted, or is a hyphen,
the patch will be read from the standard input.
- dtm patch file.patch
- dtm patch file.patch -ojson
Usage:
dtm patch [flags]
Flags:
-h, --help help for patch
Global Flags:
--config string config file (default is $HOME/.devstream.yaml)
--debug debug level log
-o, --output string Output format. One of: json|yaml|raw (default "raw")
An Example
- original-772630176
Hello, world!
This is the original file.
- patch-2027931350
--- original-772630176
+++ new-file
@@ -1,2 +1,2 @@
Hello, world!
-This is the original file.
+This is the patched file.
- ./dtm patch patch-2027931350 -o json
{"status":0,"message":"OK","log":""}
- ./dtm patch patch-2027931350 --debug
2023-04-26 16:37:39 ℹ [INFO] Log level is: debug.
2023-04-26 16:37:39 ℹ [INFO] Patching file: patch-2027931350
2023-04-26 16:37:40 ℹ [INFO] Successfully patched the file
2023-04-26 16:37:40 λ [DEBUG] Format: raw
v0.12.0
Official Releases for Different Platforms:
Download from Terminal
# Linux amd64
curl -O https://download.devstream.io/v0.12.0/dtm-linux-amd64
# Darwin amd64
curl -O https://download.devstream.io/v0.12.0/dtm-darwin-amd64
# Darwin arm64
curl -O https://download.devstream.io/v0.12.0/dtm-darwin-arm64
Major Changes since Last Release
We are releasing v0.12 mainly to do an MVP of the new "dtm start/create" feature, which will be talked about in detail in our blog soon. In short, dtm start
and dtm create
aims to bootstrap your DevOps toolchain and a local development environment with interactive CLI with minimum to none configuration.
Other features and improvements:
- Feature: nested variables in the config.
- Feature: support rollback in case of error in intermediate steps, thanks to @0zyt.
- Build: modify GitHub releases URL to AWS S3, thanks to @Shuimo03.
- Others: documentation table of content updated with a few use cases; a few bug fixes, a few CI improvements.
Detailed Changes
- feat: support nested vars by @aFlyBird0 in #1426
- docs: update the table-of-content with use cases by @daniel-hutao in #1427
- ci: new e2e test "gitlabci-argocd" by @aFlyBird0 in #1432
- ci: fix e2e test && argocdapp svc port in gitops docs by @aFlyBird0 in #1434
- build:Modify GitHub releases URL to aws s3 by @Shuimo03 in #1340
- feat: support for rollback in case of error in intermediate steps by @0zyt in #1379
- feat: new commands support: start/create by @daniel-hutao in #1449
- feat: interfaces definition for dtm create command by @daniel-hutao in #1450
- feat: read params from interact CLI by @aFlyBird0 in #1454
- feat: add repo and app creation for cli prompt by @steinliber in #1456
- fix: command-err-when-exit by @steinliber in #1457
- fix: check argo helm repo by @aFlyBird0 in #1459
- fix: devlake helm repo url by @aFlyBird0 in #1458
- chore: use exec to reduce helm log by @aFlyBird0 in #1460
- merge mvp branch to main by @daniel-hutao in #1461
Full Changelog: v0.11.0...v0.12.0
v0.11.0
Official Releases for Different Platforms:
Download from Terminal
# Linux amd64
curl -O https://download.devstream.io/v0.11.0/dtm-linux-amd64
# Darwin amd64
curl -O https://download.devstream.io/v0.11.0/dtm-darwin-amd64
# Darwin arm64
curl -O https://download.devstream.io/v0.11.0/dtm-darwin-arm64
Major Changes since Last Release
This release mainly focuses on the use cases documentation update, with a few new features, bug fixes, and refactoring:
- feature: [ env ENV_VAR ] to use environment variable in the config explicitly
- docs updates: quickstart improvement with GIFs, v0.10.3 demo video, added a bunch of use cases documentation
- bug fixes:
dtm show config
output update, gitlab-ci errors, etc. - refactor: plugins refactor, quality-of-life improvements
- test: improve end-to-end test
Detailed Changes
- docs: add v0.10.3 demo video by @daniel-hutao in #1372
- fix: quickstart ciLocation update to new repo by @steinliber in #1376
- docs: udpate quickstart with 2 gifs by @IronCore864 in #1375
- docs: restructure and rename best practice to use case by @IronCore864 in #1377
- docs: gitops usecase py flask gh actions dtm apps by @IronCore864 in #1383
- fix: add appname variable in ci script by @steinliber in #1384
- docs: add gitlab-jenkins-harbor related use cases by @daniel-hutao in #1385
- ci(linkpr): disable "edit this page" link by @aFlyBird0 in #1387
- docs: update quickstart document by @daniel-hutao in #1388
- fix: gitlab-ci and argocd version error by @steinliber in #1390
- refactor: error message and add app validate by @steinliber in #1382
- feat: use config field instead of env by @steinliber in #1389
- fix: staging reposcaffolding using 80 port as default by @steinliber in #1391
- fix: all staging default port use above 1024 by @steinliber in #1395
- fix: doc link error by @steinliber in #1401
- docs: use case gitops-python-flask-gitlab-apps by @aFlyBird0 in #1392
- chore: set up helm debug mode according to dtm debug mode by @daniel-hutao in #1397
- feat: raise err when config env is not exist by @steinliber in #1399
- refactor: delete trello-github plugin by @steinliber in #1396
- docs: python flask gitops use case with tools by @IronCore864 in #1393
- feat: update docs for env config usage by @steinliber in #1394
- refactor: jira plugin by @steinliber in #1398
- refactor: reposcaffolding plugin use encode logic by @steinliber in #1404
- feat: trello plugin use env to set apiKey and token by @aFlyBird0 in #1405
- refactor: helm-installer to make code more clear by @aFlyBird0 in #1413
- docs: translate github-dtm-apps and tools by @daniel-hutao in #1414
- fix: update all show and plugin docs by @steinliber in #1411
- Docs: update installation related documents by @daniel-hutao in #1415
- docs: gitlab python flask use case in chinese by @IronCore864 in #1418
- refactor: ci plugins and gitlab runner by @steinliber in #1419
- docs: reorganize the use cases directory by @daniel-hutao in #1416
- feat: add use-cases for gitops-python-flask-tools by @steinliber in #1420
- docs: use cases - gitops-flask-overview - cn by @aFlyBird0 in #1422
- docs: use cases - helm installer by @aFlyBird0 in #1421
- test(e2e): the accessibility of flask by @aFlyBird0 in #1417
Full Changelog: v0.10.3...v0.11.0
v0.10.3
Official Releases for Different Platforms:
Download from Terminal
# Linux amd64
curl -O https://download.devstream.io/v0.10.3/dtm-linux-amd64
# Darwin amd64
curl -O https://download.devstream.io/v0.10.3/dtm-darwin-amd64
# Darwin arm64
curl -O https://download.devstream.io/v0.10.3/dtm-darwin-arm64
Major Changes since Last Release
- support using a directory as config
- dtm show config now supports showing config for "apps"
- logging improvement for invalid configurations
- docs: GitOps best practice, quick start, core concepts updated; added a new doc for using "Apps" in the GitOps best practice
- bug fixes
Detailed Changes
- chore: logging improvement for invalid configuration by @IronCore864 in #1319
- feat: check if the number of plugins on s3 is correct by @KeHaohaoke in #1321
- refactor: use git.RepoInfo for all git repo related config by @steinliber in #1323
- feat: support config dir by @aFlyBird0 in #1324
- Docs: Update GitOps Practice Document by @daniel-hutao in #1331
- refactor: move all scaffolding repo to devstream/staging/ by @daniel-hutao in #1338
- feat: add staging repo and delete old repo by @steinliber in #1337
- feat: sync repos under staging folder to individual repos by @aFlyBird0 in #1334
- refactor: delete github-action languages plugin by @steinliber in #1335
- fix: best practice gjh document error by @daniel-hutao in #1339
- docs: update core-concepts by @aFlyBird0 in #1343
- Docs english update by @IronCore864 in #1345
- fix: gitops and quickstart error by @steinliber in #1346
- fix: scm cant get repo name when use url by @steinliber in #1353
- fix: app domain ut error by @steinliber in #1354
- feat: add apps template to dtm show config by @IronCore864 in #1355
- Docs gitops for apps by @IronCore864 in #1356
- refactor: delete old repos by @steinliber in #1349
- refactor: trello plugin with new options config by @steinliber in #1351
- refactor: gitlab ci use same plugin by @steinliber in #1347
- docs: refactor config and output by @aFlyBird0 in #1357
- Prepare to release v0.10.3 by @daniel-hutao in #1359
- fix: jenkins scm default option error by @steinliber in #1361
- docs: fix some document error in best practice gjh by @daniel-hutao in #1362
- docs: gitops-apps cn by @aFlyBird0 in #1358
- bugfix for v0.10.3 by @daniel-hutao in #1363
Full Changelog: v0.10.2...v0.10.3
v0.10.2
Official Releases for Different Platforms:
Major Changes since Last Release
- bug fixes for v0.10.1, including QuickStart workflow issues, etc.
- documents updated, including air-gapped deployment, etc.
- more UTs.
Detailed Changes
- docs: update quickstart by @IronCore864 in #1292
- feat: jenkins pipeline support offline by @steinliber in #1293
- docs: translate and beautify quickstart docs by @aFlyBird0 in #1297
- fix: add docs for jenkins-pipeline offline options by @steinliber in #1294
- docs: add app config detail docs by @steinliber in #1295
- test: enable debug log for e2e by @IronCore864 in #1302
- feat: Use aws s3 to download dtm core by @aFlyBird0 in #1301
- fix: e2e test error in ci file getter by @steinliber in #1304
- fix: typo spring boot by @aFlyBird0 in #1303
- docs: udpate gitops doc by @IronCore864 in #1307
- Docs: Update Air-gapped Deployment Document by @daniel-hutao in #1306
- Fix: Quickstart Workflow Failed With var ImageRepo Error by @daniel-hutao in #1308
- docs: translate gitops by @aFlyBird0 in #1309
- refactor: argocdapp support push helm config files by @steinliber in #1312
- docs: fix typo by @aFlyBird0 in #1313
- main to release-0.10 by @IronCore864 in #1305
- docs: update air-gapped deployment by @daniel-hutao in #1316
- fix: quickstart document error by @daniel-hutao in #1317
- feat: pass variable from ci to cd by @steinliber in #1315
- Merge main to release-0.10 by @daniel-hutao in #1318
Full Changelog: v0.10.1...v0.10.2
v0.10.1
Official Releases for Different Platforms:
Major Changes since Last Release
- bug fixes for v0.10.0, including GitHub webhook issues, etc.
- Jenkins supports offline mode and GitLab status
- Jenkins best practice documentation updated
- support ENV vars
- YAML file lint is added
Detailed Changes
- test: trying to fix e2e by @IronCore864 in #1275
- App centric config e2e test by @IronCore864 in #1276
- Chore: Update Version to 0.10.0 by @daniel-hutao in #1274
- App centric config e2e test by @IronCore864 in #1278
- fix: output not render error by @steinliber in #1277
- fix: gitlab webhook branch error by @steinliber in #1281
- feat: support env vars by @aFlyBird0 in #1279
- App centric config e2e test by @IronCore864 in #1286
- test: fix apps e2e by @IronCore864 in #1287
- test: fix apps e2e by @IronCore864 in #1289
- fix: jenkins support offline and gitlab status by @steinliber in #1288
- docs: update best practice(jenkins) according apps config added by @daniel-hutao in #1280
- fix: e2e test app repo from owner to org by @steinliber in #1290
- ci: yaml lint by @aFlyBird0 in #1284
- Prepare to Release v0.10.1 by @daniel-hutao in #1291
Full Changelog: v0.10.0...v0.10.1
v0.10.0
Official Releases for Different Platforms:
Major Changes since Last Release
This version focuses on one thing: app-centric config, which we will talk about later in the next community meeting.
Core
- automatically detect binary filenames on dtm upgrade, thanks to @CrazyCollin
- process bar during
dtm upgrade
, thanks to @0zyt - app-centric config, which will be talked about in the next community meeting
Plugins
- jenkins-pipeline plugin now supports dingtalk and sonar
- a new plugin for devlake:
devlake-config
- a new helm-installer plugin to replace helm-style plugins
Docs
- pmc guide doc
- core concepts and config updated for new feature: app-centric config
- plugin list updated
- air gapped deployment improved
- new doc for
helm-installer
plugin
Detailed Changes
- Update
main
Branch with Release 0.9.1 by @daniel-hutao in #1126 - docs: add screenshots for air gapped deployment by @daniel-hutao in #1131
- docs: add screenshots for air gapped deployment by @daniel-hutao in #1132
- Docs: Replace All Public IPs With Fake IPs by @daniel-hutao in #1134
- docs: update plugin list by @IronCore864 in #1137
- feat: Support automatically detect binary filenames on dtm upgrade by @CrazyCollin in #1133
- feat: add process bar during
dtm upgrade
by @0zyt in #1149 - feat: remove jenkins-github-integ plugin by @steinliber in #1151
- Docs: Some Documents Enhancement by @daniel-hutao in #1147
- Chore: Add
chart.version
Field And Unify the Indentation Style of the Config Files by @daniel-hutao in #1145 - Feat: Rewrite Plugin
devlake
with Helm Installation by @daniel-hutao in #1135 - feat: jenkins-pipeline support dingtalk and sonar by @steinliber in #1148
- Docs update plugins by @IronCore864 in #1153
- feat: add more ut in plugininstaller by @steinliber in #1158
- docs: refactor installation by @aFlyBird0 in #1155
- docs: replace all English links in Chinese documents with Chinese links by @aFlyBird0 in #1160
- refactor: some refactors and fix some typo by @aFlyBird0 in #1162
- fix: delete crd after argocd is deleted by @steinliber in #1164
- refactor: all downloaders by @aFlyBird0 in #1166
- Feat: Add New Plugin
devlake-config
by @daniel-hutao in #1167 - Feat: State Getting Logic Enhancement with DevLake Plugin by @daniel-hutao in #1169
- feat: ci plugin support update when ci file change by @steinliber in #1168
- fix: avoid flag name colision in viper by @algobot76 in #1152
- refactor: ci generic use go getter to get resource by @steinliber in #1170
- fix: typo currect -> current by @algobot76 in #1174
- feat: use a self-hosted GitHub actions runner that runs as a crd for k8s by @KeHaohaoke in #1175
- Refactor: "GetChanges" for apply/delete by @aFlyBird0 in #1177
- Refactor: Unify the
statekey
Getting Method by @daniel-hutao in #1180 - refactor: pluginstaller scm related info by @steinliber in #1178
- fix: install aws-cli for self-hosted runners by @KeHaohaoke in #1182
- test: uts for plugin downloader and util.md5 by @aFlyBird0 in #1179
- Refactor: Make State/Status/Resource More Readable by @daniel-hutao in #1181
- fix: reposcaffold not valid for orgization by @steinliber in #1184
- fix: install kubectl for self-hosted runner fix kubectl not found error by @KeHaohaoke in #1185
- Refactor: Make Options More Readable by @daniel-hutao in #1186
- fix: fix a problem about link checking on self-runner due to permission by @KeHaohaoke in #1188
- feat: add devlake-config update method by @warren830 in #1176
- refactor: scm and plugin option by @steinliber in #1193
- Feat: Add a New Plugin
helm-installer
by @daniel-hutao in #1196 - fix: reposcaffolding output error by @steinliber in #1198
- docs: refactor docs about development by @aFlyBird0 in #1192
- Feat: Merge All Helm Style Plugins by @daniel-hutao in #1199
- feat: set fake k8s client before calling k8s.NewClient() to test by @aFlyBird0 in #1200
- Fix: gitlabci-xxx Plugins Validation Failed by @daniel-hutao in #1202
- refactor: extract ci step by @steinliber in #1205
- chore: make SetPluginDir function more clear by @daniel-hutao in #1206
- feat: support github-actions plugins by @steinliber in #1212
- Docs: New Documents for
helm-installer
Plugin by @daniel-hutao in #1214 - refactor: jenkins-pipeline folder change to plugin by @steinliber in #1216
- [fix bug] Execute upgrade in a different path by @Shuimo03 in #1190
- update pkg folder links by @Arhell in #1226
- fix: broken links by @aFlyBird0 in #1221
- feat: gitlab ci use generic option by @steinliber in #1220
- chore: update staging folder links by @Arhell in #1229
- feat: new template
golang-cli
forrepo-repo-scaffolding
plugin by @aFlyBird0 in #1231 - chore: update root folder links by @Arhell in #1233
- refactor: use more general ci config by @steinliber in #1234
- docs: add pmc guide doc by @IronCore864 in #1235
- feat: app config && refactor config loader by @aFlyBird0 in #1238
- refactor: configmanager support [[]] format by @steinliber in #1240
- Refactor: configmanager Package's Readability Enhancement by @daniel-hutao in #1246
- refactor: move plugininstaller to plugin/common by @steinliber in #1243
- Refactor: Remove
types
Package(vars.go and error.go) inbackend
Package by @daniel-hutao in #1247 - Refactor:
configmanager
Package Enhancement by @daniel-hutao in #1248 - docs: udpate core concepts and config for app centric config by @IronCore864 in #1242
- Feat: Remove pluginDir Item in Config File by @daniel-hutao in #1252
- refactor: add field for resource downloader by @steinliber in #1250
- Feat: New Config Format Support by @daniel-hutao in #1254
- feat: pipeline support language default config by @steinliber in #1255
- feat: all tools from apps depend on origin tools by @aFlyBird0 in #1257
- Feat: Add More Logs in The Top Level of Plugins by @daniel-hutao in #1261
- feat: app support ci/cd default config for app.spec by @steinliber in #1259
- Test: Add Some UTs for
configmanager
Package by @daniel-hutao in #1258 - fix: reposcaffolding raise error when variable not exist by @steinliber in #1263
- fix: numeric type variables are parsed as strings by @daniel-hutao in #1264
- docs: fix arc...