Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Linux Az DevOps agents #53

Closed
rdagumampan opened this issue Jan 26, 2020 · 1 comment
Closed

Support Linux Az DevOps agents #53

rdagumampan opened this issue Jan 26, 2020 · 1 comment

Comments

@rdagumampan
Copy link
Owner

No description provided.

@rdagumampan
Copy link
Owner Author

Done. The next release of yuniql az pipeline tasks supports Linux build agents. The extensions has been tested to work with Ubuntu-based agents.

trigger:
- master

pool:
  vmImage: 'ubuntu-latest'

steps:

- task: CmdLine@2
  displayName: clone postgresql samples repo
  inputs:
    script: |
      git clone https://github.com/rdagumampan/yuniql $(Build.SourcesDirectory)/yuniql

- task: UseYUNIQLCLI@1
  displayName: yuniql install
  inputs:
    version: 'latest'

- task: EraseYuniqlCLI@1
  displayName: yuniql erase
  inputs:
    version: 'latest'
    connectionString: '$(AwsPostgreSqlDemoDatabase)'
    workspacePath: '$(Build.SourcesDirectory)/yuniql/samples/basic-postgresql-sample'
    targetPlatform: 'postgresql'
    additionalArguments: '--debug'

- task: RunYUNIQLCLI@1
  displayName: yuniql run
  inputs:
    version: 'latest'
    connectionString: '$(AwsPostgreSqlDemoDatabase)'
    workspacePath: '$(Build.SourcesDirectory)/yuniql/samples/basic-postgresql-sample'
    targetPlatform: 'PostgreSql'
    additionalArguments: '--debug'

- task: VerifyYuniqlCLI@1
  displayName: yuniql verify
  inputs:
    version: 'latest'
    connectionString: '$(AwsPostgreSqlDemoDatabase)'
    workspacePath: '$(Build.SourcesDirectory)/yuniql/samples/basic-postgresql-sample'
    targetPlatform: 'PostgreSql'
    additionalArguments: '--debug'

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant