Skip to content

Commit 566c605

Browse files
author
Marcin Przepiorowski
committed
v2.4.14 - final
1 parent 799135f commit 566c605

File tree

3 files changed

+75
-16
lines changed

3 files changed

+75
-16
lines changed

.github/workflows/build.yml

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,34 @@ jobs:
4343
name: cento7build
4444
path: ${{ env.FILENAME }}
4545

46+
docker:
47+
needs: [centos7]
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Checkout
51+
uses: actions/checkout@v2
52+
- name: Docker meta
53+
id: meta
54+
uses: docker/metadata-action@v3
55+
with:
56+
images: pioro/dxtoolkit
57+
- name: Set up QEMU
58+
uses: docker/setup-qemu-action@v1
59+
- name: Set up Docker Buildx
60+
uses: docker/setup-buildx-action@v1
61+
- name: Login to DockerHub
62+
uses: docker/login-action@v1
63+
with:
64+
username: ${{ secrets.DOCKERHUB_USERNAME }}
65+
password: ${{ secrets.DOCKERHUB_TOKEN }}
66+
- name: Build and push
67+
id: docker_build
68+
uses: docker/build-push-action@v2
69+
with:
70+
context: docker/
71+
push: true
72+
tags: ${{ steps.meta.outputs.tags }}
73+
4674

4775
ubuntu:
4876
needs: [centos7]
@@ -185,7 +213,7 @@ jobs:
185213

186214
osx:
187215
needs: [centos7]
188-
runs-on: macos-latest
216+
runs-on: macos-10.15
189217

190218
steps:
191219
- name: checkout dxtoolkit code
@@ -213,10 +241,10 @@ jobs:
213241
#brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/8ff2935985d6da4f2f463ea2666545e6017c4d54/Formula/perl.rb
214242
brew install pioro/repo/[email protected]
215243
brew install cpanminus
216-
# brew install openssl
244+
brew install openssl@1.1
217245
cpanm Crypt::CBC
218246
cpanm Crypt::Blowfish
219-
export OPENSSL_PREFIX=`brew --prefix openssl`
247+
export OPENSSL_PREFIX=`brew --prefix openssl@1.1`
220248
echo $OPENSSL_PREFIX
221249
export LIBS="-d=$OPENSSL_PREFIX"
222250
cpanm --configure-args=$LIBS Filter::Crypto::Decrypt
@@ -229,17 +257,19 @@ jobs:
229257
cpanm Text::CSV
230258
cpanm LWP::UserAgent
231259
cpanm Net::SSLeay
232-
cpanm IO::Socket::SSL
260+
cpanm Mozilla::CA@20180117
261+
cpanm IO::Socket::[email protected]
233262
cpanm LWP::Protocol::https
234263
cpanm Term::ReadKey
235264
cpanm -f Archive::Zip
265+
cpanm utf8
236266
cpanm PAR::Packer
237267
cpanm List::MoreUtils::PP
238268
239269
- name: Compile
240270
run: |
241271
CELL=`brew --prefix pioro/repo/[email protected]`
242-
OPENLIB=`brew --prefix openssl`
272+
OPENLIB=`brew --prefix openssl@1.1`
243273
CDIR=`pwd`
244274
export PP=${CELL}/bin/pp
245275
export LIBS="-l ${OPENLIB}/lib/libssl.dylib -l ${OPENLIB}/lib/libcrypto.dylib"

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
- dx_ctl_engine_upgrade apply action fixed - it monitors now a whole upgrade process, including engine reboot
1313
- [fix for #195](https://github.com/delphix/dxtoolkit/issues/195) - this was generic issue with snapshot paging
1414
- [fix for #193](https://github.com/delphix/dxtoolkit/issues/193) - dx_get_env creates different envtype than what dx_create_env expects
15+
- fix for backup metadata in dx_get_db_env
16+
- fix for printing hierarchy in dx_get_hierarchy for objects with same reference across 2 engines
1517

1618

1719
## 2.4.13

README.md

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## What is it
44

5-
Dxtoolkit is a set of scripts, which are delivered by Delphix professional services team.
5+
Dxtoolkit is a set of scripts, which are delivered by Delphix professional services team.
66
Dxtoolkit scripts look and feel like UNIX executables, following the typical conventions of using flags for arguments. Dxtoolkit is written in Perl, but no knowledge of Perl is required unless you want to extend it. In fact, no programming experience whatsoever is required to use the dxtoolkit.
77

88
## What's new
@@ -12,21 +12,24 @@ Please check a [change log](https://github.com/delphix/dxtoolkit/blob/master/CHA
1212
## How to get started
1313
### Compiled version
1414

15-
**Prerequisites**
16-
* OpenSSL 1.0 library is required for Solaris Sparc, Solaris x64, Red Hat 6 and Red Hat 7
17-
* OpenSSL 0.98 library is required for Red Hat 5
18-
19-
If you don't have required version of OpenSSL library download a version with -openssl- in name, where
20-
those libraries are embbeded.
21-
22-
Download a compiled version of DxToolkit for required platform from a [releases page](https://github.com/delphix/dxtoolkit/releases).
15+
Download a compiled version of DxToolkit for required platform from a [releases page](https://github.com/delphix/dxtoolkit/releases).
2316
Create a configuration file *dxtools.conf* based on dxtools.conf.example or a Wiki page.
2417

2518
Check a [documentation](https://github.com/delphix/dxtoolkit/wiki) for more details
2619

27-
### Known issues
2820

29-
There is no script dx_syslog on Windows and AIX due to lack of support of Log::Syslog::Fast Perl module
21+
### Docker image
22+
23+
Run dxtoolkit using a docker image:
24+
1. Create configuration file *dxtools.conf* based on dxtools.conf.example or a Wiki page.
25+
2. Run a docker image with the following parameters:
26+
* path redirection: `-v /path/to/your/configfile:/config`
27+
* image name: `pioro/dxtoolkit:develop`
28+
* `dxtoolkit_command dxtoolkit_command_params`
29+
30+
31+
ex: `docker run -v /configdir:/config pioro/dxtoolkit:latest dx_get_appliance -d myengine`
32+
3033

3134
### Source version
3235

@@ -48,6 +51,30 @@ Perl version 5.16 or higher
4851
- Term::ReadKey
4952
- Log::Syslog::Fast
5053

54+
55+
### Known issues
56+
57+
There is no script dx_syslog on Windows and AIX due to lack of support of Log::Syslog::Fast Perl module
58+
59+
60+
### Support matrix
61+
62+
New releases of dxtoolkit are tested with Delphix Engines, which are in primary or extended support.
63+
Ex. 2.4.14 release was tested with version 5.3.9 and 6.0.X engines.
64+
65+
Dxtoolkit is designed to support many versions of Delphix Engines, although if a new version is released after dxtoolkit release
66+
it may stop working due to API changes. To mitigate this issue until next dxtoolkit version will be release, please add
67+
-dever parameter to your commands with the following values:
68+
69+
|parameter|Delphix Engine version|API version|
70+
| :--- | :---: | :--- |
71+
| -dever 6.0.11| Delphix Engine 6.0.11 | API 1.11.11|
72+
| -dever 6.0| Delphix Engine 6.0 | API 1.11.00|
73+
| -dever 5.3| Delphix Engine 5.3 | API 1.10.00|
74+
| -dever 5.2| Delphix Engine 5.2 | API 1.9.00|
75+
76+
77+
5178
## <a id="contribute"></a>Contribute
5279

5380
1. Fork the project.

0 commit comments

Comments
 (0)