зеркало из https://github.com/Azure/ipam.git
Merge pull request #258 from Azure/build-workflow-fix13
Split Build Workflow
This commit is contained in:
Коммит
d7e1ac567a
|
@ -32,8 +32,9 @@ jobs:
|
|||
with:
|
||||
node-version: 18
|
||||
|
||||
- uses: actions/github-script@v7
|
||||
- name: "Extract Pull Request Details"
|
||||
id: getPullRequestData
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
return (
|
||||
|
@ -143,7 +144,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: [ version, release ]
|
||||
steps:
|
||||
- name: Azure login
|
||||
- name: Azure Login
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
|
@ -167,6 +168,32 @@ jobs:
|
|||
az acr build -r $ACR_NAME -t ipam:$IPAM_VERSION -t ipam:latest -f ./Dockerfile.deb .
|
||||
az acr build -r $ACR_NAME -t ipamfunc:$IPAM_VERSION -t ipamfunc:latest -f ./Dockerfile.func .
|
||||
|
||||
build-legacy:
|
||||
name: Build Legacy Azure IPAM Containers
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ version, release ]
|
||||
steps:
|
||||
- name: Azure Login
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
||||
enable-AzPSSession: true
|
||||
|
||||
- name: Checkout Azure IPAM Code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ needs.version.outputs.commitHash }}
|
||||
sparse-checkout: |
|
||||
engine
|
||||
ui
|
||||
lb
|
||||
|
||||
- name: Build Legacy Azure IPAM Containers
|
||||
env:
|
||||
IPAM_VERSION: ${{ needs.version.outputs.ipamVersion }}
|
||||
run: |
|
||||
az acr build -r $ACR_NAME -t ipam-engine:$IPAM_VERSION -t ipam-engine:latest -f ./engine/Dockerfile.deb ./engine
|
||||
az acr build -r $ACR_NAME -t ipam-func:$IPAM_VERSION -t ipam-func:latest -f ./engine/Dockerfile.func ./engine
|
||||
az acr build -r $ACR_NAME -t ipam-ui:$IPAM_VERSION -t ipam-ui:latest -f ./ui/Dockerfile.deb ./ui
|
||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
Install-Module Az, Microsoft.Graph -AllowClobber -Force
|
||||
|
||||
- name: Azure Login
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ secrets.AZURE_CREDENTIALS }}
|
||||
enable-AzPSSession: true
|
||||
|
@ -132,7 +132,7 @@ jobs:
|
|||
Install-Module Az, Pester -AllowClobber -Force
|
||||
|
||||
- name: Azure Login
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ secrets.AZURE_CREDENTIALS }}
|
||||
enable-AzPSSession: true
|
||||
|
@ -180,7 +180,7 @@ jobs:
|
|||
Install-Module Az -AllowClobber -Force
|
||||
|
||||
- name: Azure Login
|
||||
uses: azure/login@v1
|
||||
uses: azure/login@v2
|
||||
with:
|
||||
creds: ${{ secrets.AZURE_CREDENTIALS }}
|
||||
enable-AzPSSession: true
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
![logo](./images/ipam-logo.png ':size=45%')
|
||||
|
||||
# IPAM <small>3.1.0</small>
|
||||
# IPAM <small>3.0.0</small>
|
||||
> Azure IP Address Management Made Easy
|
||||
|
||||
[GitHub](https://github.com/Azure/ipam)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"version": "3.1.0"
|
||||
"version": "3.0.0"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-ipam-ui",
|
||||
"version": "3.1.0",
|
||||
"version": "3.0.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче