Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
6b1ccd3
Added support for adding/updating mailbox display name.
rj11 May 10, 2019
a4cf795
Added support for adding/updating mailbox display name.
rj11 May 10, 2019
236130f
Added support for v1.2.0
rj11 Jul 1, 2020
9822b8d
Merge branch 'master' of https://github.com/bubbapizza/iredmail-cli
rj11 Jul 1, 2020
c043c9a
Update to 1.3.2
KostaGorod Jun 16, 2021
2dfd0f6
Delete url to original repo
KostaGorod Jun 16, 2021
3cc4d66
Update version.go
KostaGorod Jun 16, 2021
0c1f1f3
Update main.go
KostaGorod Jun 16, 2021
bbaa333
Update mailboxAdd.go
KostaGorod Jun 16, 2021
abb70ea
Merge pull request #1 from KostaGorod/KostaGorod-patch-1
KostaGorod Jun 16, 2021
a3bdcbe
Update aliasAdd.go
KostaGorod Jun 16, 2021
936a94b
Update aliasAddForwarding.go
KostaGorod Jun 16, 2021
1d7d238
Update aliasDelete.go
KostaGorod Jun 16, 2021
b8cdd32
Update aliasDeleteForwarding.go
KostaGorod Jun 16, 2021
0fcbdb6
Update aliasInfo.go
KostaGorod Jun 16, 2021
6407179
Update aliasList.go
KostaGorod Jun 16, 2021
12ae83b
Update domainAdd.go
KostaGorod Jun 16, 2021
26ab6e6
Update domainAliasDelete.go
KostaGorod Jun 16, 2021
4f3fc8f
Update domainCatchallAdd.go
KostaGorod Jun 16, 2021
f6f2927
Update domainCatchallDelete.go
KostaGorod Jun 16, 2021
bc3906b
Update domainDelete.go
KostaGorod Jun 16, 2021
90ebb1b
Update forwardingAdd.go
KostaGorod Jun 16, 2021
d45b72f
Update forwardingDelete.go
KostaGorod Jun 16, 2021
7956c9c
Update mailboxAliasAdd.go
KostaGorod Jun 16, 2021
fed5bfc
Update mailboxAliasDelete.go
KostaGorod Jun 16, 2021
c9483d8
Update mailboxDelete.go
KostaGorod Jun 16, 2021
dc698a3
Update mailboxInfo.go
KostaGorod Jun 16, 2021
a4b5d02
Update mailboxList.go
KostaGorod Jun 16, 2021
86366d5
Update mailboxUpdate.go
KostaGorod Jun 16, 2021
ffffe94
Update root.go
KostaGorod Jun 16, 2021
bdb521e
Update version.go
KostaGorod Jun 16, 2021
66cc4b1
Merge pull request #2 from KostaGorod/KostaGorod-patch-1
KostaGorod Jun 16, 2021
b3bb061
Update forwardingList.go
KostaGorod Jun 16, 2021
2cb481c
Update domainList.go
KostaGorod Jun 16, 2021
8e9c711
Update domainAliasAdd.go
KostaGorod Jun 16, 2021
cffedbb
Update aliasAdd.go
KostaGorod Jun 16, 2021
2063633
Update aliasAddForwarding.go
KostaGorod Jun 16, 2021
c5504ba
Update aliasDelete.go
KostaGorod Jun 16, 2021
cbe789a
Update aliasDeleteForwarding.go
KostaGorod Jun 16, 2021
9ea5052
Update aliasInfo.go
KostaGorod Jun 16, 2021
4277b03
Update aliasList.go
KostaGorod Jun 16, 2021
d90be87
Update domainAdd.go
KostaGorod Jun 16, 2021
f4703b2
Update domainAliasAdd.go
KostaGorod Jun 16, 2021
6b5bf6d
Update domainAliasDelete.go
KostaGorod Jun 16, 2021
d29673a
Update domainCatchallAdd.go
KostaGorod Jun 16, 2021
5fa200f
Update domainCatchallDelete.go
KostaGorod Jun 16, 2021
520203c
Update domainDelete.go
KostaGorod Jun 16, 2021
efcb701
Update domainList.go
KostaGorod Jun 16, 2021
5a0067c
Update forwardingAdd.go
KostaGorod Jun 16, 2021
ceb4213
Update forwardingDelete.go
KostaGorod Jun 16, 2021
3796184
Update forwardingList.go
KostaGorod Jun 16, 2021
486bff0
Update mailboxAdd.go
KostaGorod Jun 16, 2021
451eb2d
Update mailboxAliasAdd.go
KostaGorod Jun 16, 2021
af68fbb
Update mailboxAliasDelete.go
KostaGorod Jun 16, 2021
d6fb3d4
Update mailboxDelete.go
KostaGorod Jun 16, 2021
38adbf3
Update mailboxInfo.go
KostaGorod Jun 16, 2021
9ec3374
Update mailboxList.go
KostaGorod Jun 16, 2021
98bf417
Update mailboxUpdate.go
KostaGorod Jun 16, 2021
94b0703
Update root.go
KostaGorod Jun 16, 2021
09beb1c
Update version.go
KostaGorod Jun 16, 2021
98b4474
Update version.go
noxpost Nov 4, 2021
43f1dcc
Update version.go
noxpost Nov 4, 2021
991ec25
Update version.go
noxpost Nov 4, 2021
a51b4c5
Update version.go
noxpost Nov 4, 2021
fd06ac5
Update aliasAdd.go
noxpost Nov 5, 2021
1b90829
Update aliasAddForwarding.go
noxpost Nov 5, 2021
48e7f4b
Update aliasDelete.go
noxpost Nov 5, 2021
9e614bf
Update aliasDeleteForwarding.go
noxpost Nov 5, 2021
03d8c6a
Update aliasInfo.go
noxpost Nov 5, 2021
e8ec4de
Update aliasList.go
noxpost Nov 5, 2021
cc0ebf3
Update domainAdd.go
noxpost Nov 5, 2021
79c85ff
Update domainAliasAdd.go
noxpost Nov 5, 2021
9fd6f17
Update domainAliasDelete.go
noxpost Nov 5, 2021
58f713c
Update domainCatchallAdd.go
noxpost Nov 5, 2021
79fe1c2
Update domainCatchallDelete.go
noxpost Nov 5, 2021
84c9f6e
Update domainDelete.go
noxpost Nov 5, 2021
b6b75d4
Update domainList.go
noxpost Nov 5, 2021
1167146
Update forwardingAdd.go
noxpost Nov 5, 2021
4202eda
Update forwardingDelete.go
noxpost Nov 5, 2021
9d532f4
Update forwardingList.go
noxpost Nov 5, 2021
2bc83bb
Update mailboxAdd.go
noxpost Nov 5, 2021
45cfd50
Update mailboxAliasAdd.go
noxpost Nov 5, 2021
53895f5
Update mailboxAliasDelete.go
noxpost Nov 5, 2021
e2e43ad
Update mailboxDelete.go
noxpost Nov 5, 2021
eb2d220
Update mailboxInfo.go
noxpost Nov 5, 2021
19773f9
Update mailboxList.go
noxpost Nov 5, 2021
76b3057
Update mailboxUpdate.go
noxpost Nov 5, 2021
a45fe8b
Update root.go
noxpost Nov 5, 2021
eae31ec
Update main.go
noxpost Nov 5, 2021
557996b
Update config.yml
eddiewebb Dec 14, 2021
d69f4da
Update config.yml
eddiewebb Dec 14, 2021
338110c
Update config.yml
eddiewebb Dec 14, 2021
69d9ad8
use go mod
eddiewebb Dec 18, 2021
b054aac
add mariadb container
eddiewebb Dec 18, 2021
3539918
add mariadb container
eddiewebb Dec 18, 2021
f1dcf20
add mariadb container
eddiewebb Dec 18, 2021
74cb049
add mariadb container
eddiewebb Dec 18, 2021
844a640
add mariadb container
eddiewebb Dec 18, 2021
2c0e5d4
add mariadb container
eddiewebb Dec 18, 2021
6e5a839
add mariadb container
eddiewebb Dec 18, 2021
5748d1d
add mariadb container
eddiewebb Dec 18, 2021
444f001
add mariadb container
eddiewebb Dec 18, 2021
c3f3327
add mariadb container
eddiewebb Dec 18, 2021
6002829
fix readme badge
eddiewebb Dec 18, 2021
1dd1259
fix release
eddiewebb Dec 18, 2021
f437463
wtf
eddiewebb Dec 18, 2021
60d8122
support easy version
eddiewebb Dec 18, 2021
382b6d6
fix test failures with updated output
eddiewebb Dec 18, 2021
ff9fdba
update validator to require emails for #1
eddiewebb Dec 25, 2021
8999b56
update tests to use full domain
eddiewebb Dec 25, 2021
f9f6cb4
#1: fix test data
eddiewebb Dec 25, 2021
eac1811
#1: fix alias tests
eddiewebb Dec 25, 2021
007538e
#1: fixes golden checks and prints domain
eddiewebb Dec 25, 2021
64a58a3
#1: fixes golden checks and prints domain
eddiewebb Dec 25, 2021
73a6c11
#1: fixes golden checks and prints domain
eddiewebb Dec 25, 2021
c82a30d
bump version
eddiewebb Dec 25, 2021
b605c11
Merge pull request #2 from eddiewebb/issue-1
eddiewebb Dec 25, 2021
7750fbe
try auto release
eddiewebb Dec 26, 2021
1745e27
tag passing builds on main
eddiewebb Dec 26, 2021
94aca9d
it works, use real name
eddiewebb Dec 26, 2021
16244ff
it works, use real name[skip ci]
eddiewebb Dec 26, 2021
fafa190
Clarify commands in docs [skip ci]
eddiewebb Dec 26, 2021
d115d94
xclean up command help
eddiewebb Dec 26, 2021
ed6d9f0
rev version
eddiewebb Dec 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 38 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,53 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
version: 2.1
jobs:
integration-test:
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/drlogout/iredmail-cli
- image: cimg/go:1.17
- image: mariadb:10.7.1
environment:
MARIADB_USER: vmail
MARIADB_PASSWORD: itslocalletmein
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: "true"
MARIADB_DATABASE: vmail
#parallelism: 4
steps:
- checkout
- run: sudo cp .circleci/iredmail-release /etc/iredmail-release
- run: sudo cp .circleci/doveadm /usr/local/bin/doveadm
- run: sudo chmod a+x /usr/local/bin/doveadm
- run: cp .circleci/my.cnf-vmailadmin $HOME/.my.cnf-vmailadmin
- run: go get -v -t -d ./...
- run: go install
- run: sudo apt-get update && sudo apt-get install mysql-client
- run:
name: install dockerize
command: wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
environment:
DOCKERIZE_VERSION: v0.3.0
- run:
name: Wait for db
command: dockerize -wait tcp://localhost:3306 -timeout 1m
#- run: go test -v $(go list ./... | circleci tests split)
- run: mysql -h 127.0.0.1 -uroot vmail < .circleci/define_tables.sql
- run: go test -v ./integration_test

- when:
condition:
equal: [ "master", << pipeline.git.branch >> ]
steps:
- run:
name: Tag it
command: |
TAG_VERSION=$(go run ./ version | head -n1 | cut -d":" -f2 | tr -d " ")
echo "tagging as: ${TAG_VERSION}"
git tag "v${TAG_VERSION}"
git push --tags

release:
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/drlogout/iredmail-cli
- image: cimg/go:1.17
steps:
- checkout
- run: go get -v -t -d ./...
- run: git config --global user.name drlogout
- run: go install
- run: git config --global user.name eddiewebb
- run: make dist
- run: make release

Expand All @@ -34,14 +58,12 @@ workflows:
- integration-test:
filters:
tags:
ignore: /.*/
branches:
ignore: /.*/
only: /^v.*/
- release:
requires:
- integration-test
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
ignore: /.*/
Loading