Comments (9)
Could you share a snippet of your yaml definition with the Azure login and sql-action tasks?
from sql-action.
The error portion Error: Microsoft ODBC Driver 17 for SQL Server
suggests this is an older version of sql-action. Will you try your pipeline with an updated version (v2.1.1 is latest)
from sql-action.
from sql-action.
Formatted yml:
release:
# Set the dependency for the build job
needs: BuildDacpac
# The type of runner that the job will run on
runs-on: windows-latest
environment: PRD
permissions:
id-token: write
contents: read
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: download SQL Pool artifact
# Downloads artifact to dacpac folder
uses: ***@***.******@***.***>
with:
name: SQLPool
# Login using Azure credentials
- name: 'OIDC Login to Azure Public Cloud with AzPowershell'
uses: ***@***.***
with:
client-id: ${{ secrets.CLIENT_ID }}
subscription-id: ${{ secrets.SUBSCRIPTION_ID }}
tenant-id: ${{ secrets.TENANT_ID }}
enable-AzPSSession: true
- name: Azure SQL Deploy
uses: ***@***.******@***.***>
with:
# Name of the SQL Server
server-name: ${{ vars.SQL_SERVER }}
# The connection string, including authentication information for the Azure SQL Database
connection-string: '${{ secrets.AZURE_SQL_CONNECTION_STRING }}'
# Path to the Azure SQL database dacpac file
dacpac-package: 'uda-mcs-sql-db-cloud.dacpac'
# Additional arguments
arguments: '/p:IncludeCompositeObjects=true'
from sql-action.
Looks like the Actions steps themselves were masked (maybe the email client thought they were email addresses), but as @dzsquared mentioned, could you try using [email protected]?
- name: Azure SQL Deploy
uses: azure/[email protected]
with:
# The connection string, including authentication information for the Azure SQL Database
connection-string: '${{ secrets.AZURE_SQL_CONNECTION_STRING }}'
# Path to the Azure SQL database dacpac file
path: 'uda-mcs-sql-db-cloud.dacpac'
action: 'Publish'
# Additional arguments
arguments: '/p:IncludeCompositeObjects=true'
from sql-action.
from sql-action.
This issue is idle because it has been open for 14 days with no activity.
from sql-action.
I'm also encountering this issue when trying to deploy a SQL managed instance.
from sql-action.
This issue is idle because it has been open for 14 days with no activity.
from sql-action.
Related Issues (20)
- Firewall Failure HOT 2
- v2 - Connection string escaping for Authentication option HOT 1
- Action does not work when connection string server name contains "tcp:" HOT 3
- arguments not passing variable to sqlcmd HOT 1
- Expand-Archive : is not a supported archive file format. .zip is the only supported archive file format. HOT 6
- Scripting Variables not being passed to sqlcmd HOT 4
- SQL Managed Instance HOT 8
- Move version numbers to config file so main.js doesn't need to be updated every time HOT 1
- sql-action V2 does not appear to be working with on-premises SQL Server HOT 14
- SQLAction DriftReport fails to execute HOT 2
- pipeline credentials expired
- Not all PR checks are run on forks HOT 1
- Unable to pass variable from sql-action to dacpac HOT 3
- SSDT error while deploying it from GitHub self hosted runner HOT 6
- Getting error Failed to add firewall rule error during sql script execution using GitHub Hosted Runner HOT 5
- I want to comapre only a particular schema in source and destination using dacapac not all schemas HOT 1
- No usable version of libssl was found HOT 2
- The handle is invalid HOT 3
- Feature request: Decouple using managed identity from updating sql network settings HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sql-action.