Skip to content

Commit b44cef2

Browse files
committed
chore(*): update cdn, mixin author
Signed-off-by: Vaughn Dice <[email protected]>
1 parent f599ef3 commit b44cef2

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ publish: bin/porter$(FILE_EXT)
9494
az storage blob upload -c porter -n atom.xml -f bin/atom.xml
9595

9696
bin/porter$(FILE_EXT):
97-
curl -fsSLo bin/porter$(FILE_EXT) https://cdn.deislabs.io/porter/canary/porter-$(CLIENT_PLATFORM)-$(CLIENT_ARCH)$(FILE_EXT)
97+
curl -fsSLo bin/porter$(FILE_EXT) https://cdn.porter.sh/canary/porter-$(CLIENT_PLATFORM)-$(CLIENT_ARCH)$(FILE_EXT)
9898
chmod +x bin/porter$(FILE_EXT)
9999

100100
install:

build/atom-template.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
<feed xmlns="http://www.w3.org/2005/Atom">
2-
<id>https://cdn.deislabs.io/porter</id>
3-
<title>DeisLabs Mixins</title>
2+
<id>https://porter.sh</id>
3+
<title>Porter Mixins</title>
44
<updated>{{Updated}}</updated>
5-
<link rel="self" href="https://cdn.deislabs.io/porter/atom.xml"/>
5+
<link rel="self" href="https://cdn.porter.sh/mixins/atom.xml"/>
66
<author>
7-
<name>DeisLabs</name>
8-
<uri>https://deislabs.io</uri>
7+
<name>Porter Authors</name>
8+
<uri>https://porter.sh/mixins</uri>
99
</author>
1010
{{#Mixins}}
1111
<category term="{{.}}"/>
1212
{{/Mixins}}
1313
{{#Entries}}
1414
<entry>
15-
<id>https://cdn.deislabs.io/porter/mixins/{{Mixin}}/{{Version}}</id>
15+
<id>https://cdn.porter.sh/mixins/{{Mixin}}/{{Version}}</id>
1616
<title>{{Mixin}} @ {{Version}}</title>
1717
<updated>{{Updated}}</updated>
1818
<category term="{{Mixin}}"/>
1919
<content>{{Version}}</content>
2020
{{#Files}}
21-
<link rel="download" href="https://cdn.deislabs.io/porter/mixins/{{Mixin}}/{{Version}}/{{File}}" />
21+
<link rel="download" href="https://cdn.porter.sh/mixins/{{Mixin}}/{{Version}}/{{File}}" />
2222
{{/Files}}
2323
</entry>
2424
{{/Entries}}

pkg/arm/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func (m *Mixin) PrintVersion(opts version.Options) error {
1212
VersionInfo: mixin.VersionInfo{
1313
Version: pkg.Version,
1414
Commit: pkg.Commit,
15-
Author: "DeisLabs",
15+
Author: "Porter Authors",
1616
},
1717
}
1818
return version.PrintVersion(m.Context, opts, metadata)

pkg/arm/version_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func TestPrintVersion(t *testing.T) {
2222
m.PrintVersion(opts)
2323

2424
gotOutput := m.TestContext.GetOutput()
25-
wantOutput := "arm v1.2.3 (abc123) by DeisLabs"
25+
wantOutput := "arm v1.2.3 (abc123) by Porter Authors"
2626
if !strings.Contains(gotOutput, wantOutput) {
2727
t.Fatalf("invalid output:\nWANT:\t%q\nGOT:\t%q\n", wantOutput, gotOutput)
2828
}
@@ -45,7 +45,7 @@ func TestPrintJsonVersion(t *testing.T) {
4545
"name": "arm",
4646
"version": "v1.2.3",
4747
"commit": "abc123",
48-
"author": "DeisLabs"
48+
"author": "Porter Authors"
4949
}
5050
`
5151
if !strings.Contains(gotOutput, wantOutput) {

0 commit comments

Comments
 (0)