-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump agent version and support airgapped compatibilities + deprecations
The deprecations and compatibilities checkers currently poll github to get the freshest matrices needed, but that can break down for orgs with strict firewalls. A stale but airgapped option is ideal there.
- Loading branch information
1 parent
1c5d12c
commit 21a7c3b
Showing
8 changed files
with
139 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.4.13 | ||
v0.4.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
defmodule Console.Deployments.Static do | ||
@moduledoc """ | ||
Static values needed to help airgap the deployment. We ping github for some important data that can | ||
be embedded at compile time for orgs that do not permit egress there or run fully airgapped. | ||
""" | ||
alias Console.Deployments | ||
|
||
@compatibilities Deployments.Compatibilities.Table.static() | ||
@deprecations Deployments.Deprecations.Table.static() | ||
|
||
def compatibilities(), do: @compatibilities | ||
def deprecations(), do: @deprecations | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,71 @@ | ||
{ | ||
"text": "Service <%= @service.name %> for cluster <%= @service.cluster.name %> has a new revision", | ||
"blocks": [ | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "Service <%= @service.name %> for cluster <%= @service.cluster.name %> has a new revision" | ||
} | ||
}, | ||
{ | ||
"type": "divider" | ||
"text": "🆕 Service <%= @service.name %> for cluster <%= @service.cluster.name %> has a new revision", | ||
"blocks": [ | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "🆕 *Service <%= @service.name %> for cluster <%= @service.cluster.name %> has a new revision*" | ||
} | ||
}, | ||
{ | ||
"type": "section", | ||
"fields": [ | ||
{"type": "mrkdwn", "text": "*Url*\n<%= Console.url("/cd/clusters/#{@service.cluster_id}/services/#{@service.id}/components") %>"}, | ||
{"type": "mrkdwn", "text": "*Revision*\n<%= @service.sha %>"}, | ||
{"type": "mrkdwn", "text": "*Source*\n<%= @source.url %> <%= @source.ref %>"} | ||
] | ||
} | ||
] | ||
{ | ||
"type": "rich_text", | ||
"elements": [ | ||
{ | ||
"type": "rich_text_section", | ||
"elements": [ | ||
{ | ||
"type": "text", | ||
"text": "URL", | ||
"style": { | ||
"bold": true | ||
} | ||
}, | ||
{ | ||
"type": "text", | ||
"text": ": " | ||
}, | ||
{ | ||
"type": "link", | ||
"url": "<%= Console.url("/cd/clusters/#{@service.cluster_id}/services/#{@service.id}/components") %>" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "\n\n" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "Revision", | ||
"style": { | ||
"bold": true | ||
} | ||
}, | ||
{ | ||
"type": "text", | ||
"text": ": <%= @service.sha %>\n\n" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": "Source", | ||
"style": { | ||
"bold": true | ||
} | ||
}, | ||
{ | ||
"type": "text", | ||
"text": ": " | ||
}, | ||
{ | ||
"type": "link", | ||
"url": "<%= @source.url %>" | ||
}, | ||
{ | ||
"type": "text", | ||
"text": " <%= @source.ref %>" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters