Merge branch 'master' of ssh://git.andreafazzi.eu:10022/andrea/oef
This commit is contained in:
commit
5215689301
6 changed files with 102 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.4.3-12-gc1cbe39-master
|
||||
0.4.3-12-gc1cbe39-master
|
6
aws/imagedefinitions.json
Normal file
6
aws/imagedefinitions.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
{
|
||||
"name": "oef",
|
||||
"imageUri": "185273882442.dkr.ecr.eu-central-1.amazonaws.com/oef:latest"
|
||||
}
|
||||
]
|
BIN
aws/imagedefinitions.zip
Normal file
BIN
aws/imagedefinitions.zip
Normal file
Binary file not shown.
93
aws/oef-pipeline.json
Normal file
93
aws/oef-pipeline.json
Normal file
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
"pipeline": {
|
||||
"name": "oef",
|
||||
"roleArn": "arn:aws:iam::185273882442:role/service-role/AWSCodePipelineServiceRole-eu-central-1-oef",
|
||||
"artifactStore": {
|
||||
"type": "S3",
|
||||
"location": "codepipeline-eu-central-1-790111279784"
|
||||
},
|
||||
"stages": [
|
||||
{
|
||||
"name": "Source",
|
||||
"actions": [
|
||||
{
|
||||
"name": "Source",
|
||||
"actionTypeId": {
|
||||
"category": "Source",
|
||||
"owner": "AWS",
|
||||
"provider": "ECR",
|
||||
"version": "1"
|
||||
},
|
||||
"runOrder": 1,
|
||||
"configuration": {
|
||||
"ImageTag": "latest",
|
||||
"RepositoryName": "oef"
|
||||
},
|
||||
"outputArtifacts": [
|
||||
{
|
||||
"name": "SourceArtifact"
|
||||
}
|
||||
],
|
||||
"inputArtifacts": [],
|
||||
"region": "eu-central-1",
|
||||
"namespace": "SourceVariables"
|
||||
},
|
||||
{
|
||||
"name": "imagedefinitions",
|
||||
"actionTypeId": {
|
||||
"category": "Source",
|
||||
"owner": "AWS",
|
||||
"provider": "S3",
|
||||
"version": "1"
|
||||
},
|
||||
"runOrder": 1,
|
||||
"configuration": {
|
||||
"PollForSourceChanges": "false",
|
||||
"S3Bucket": "codepipeline-eu-central-1-790111279784",
|
||||
"S3ObjectKey": "oef/SourceArti/imagedefinitions.zip"
|
||||
},
|
||||
"outputArtifacts": [
|
||||
{
|
||||
"name": "imagedefjson"
|
||||
}
|
||||
],
|
||||
"inputArtifacts": [],
|
||||
"region": "eu-central-1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Deploy",
|
||||
"actions": [
|
||||
{
|
||||
"name": "Deploy",
|
||||
"actionTypeId": {
|
||||
"category": "Deploy",
|
||||
"owner": "AWS",
|
||||
"provider": "ECS",
|
||||
"version": "1"
|
||||
},
|
||||
"runOrder": 1,
|
||||
"configuration": {
|
||||
"ClusterName": "default",
|
||||
"ServiceName": "oef-service"
|
||||
},
|
||||
"outputArtifacts": [],
|
||||
"inputArtifacts": [
|
||||
{
|
||||
"name": "imagedefjson"
|
||||
}
|
||||
],
|
||||
"region": "eu-central-1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 5
|
||||
},
|
||||
"metadata": {
|
||||
"pipelineArn": "arn:aws:codepipeline:eu-central-1:185273882442:oef",
|
||||
"created": "2020-02-29T11:15:29.906000+01:00",
|
||||
"updated": "2020-02-29T11:39:18.093000+01:00"
|
||||
}
|
||||
}
|
|
@ -95,7 +95,7 @@ func version() string {
|
|||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
return string(version)
|
||||
return strings.TrimSpace(string(version))
|
||||
}
|
||||
|
||||
func toInt(value float64) int {
|
||||
|
|
|
@ -37,8 +37,7 @@
|
|||
|
||||
<footer class="footer text-center">
|
||||
<div class="container">
|
||||
<span class="text-center text-muted">Questo software è stato sviluppato da <a href="https://github.com/remogatto">Andrea
|
||||
Fazzi</a> per le <a href="https://www.olimpiadi-economiaefinanza.it">Olimpiadi di Economia e Finanza 2020</a> ({{version}})
|
||||
<span class="text-center text-muted">Piattaforma di gara sviluppata per le <a href="https://www.olimpiadi-economiaefinanza.it">Olimpiadi di Economia e Finanza 2020</a> ({{version}})
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in a new issue