Giter Site home page Giter Site logo

analytics-platform-common-concourse-tasks's Introduction

Useful tasks

  • decrypt-gitcrypt.yaml DEPRECATED This functionality is provided by the git resource.

  • ec2-metadata.yaml Fetches AWS credentials from the EC2 instance metadata and saves it in a credentials.json file

  • extract-release-tarball.yaml Extracts a Github release asset tarball into a specified directory

  • get-iam-role.yaml Accesses the Control Panel API and fetches the IAM role name for an app associated with a specified Github repository URL

  • parse-deploy-file.yaml Parses the deploy.json file users must create in their app repositories and outputs configuration ready to be passed to Helm values command line arguments

  • webapp-docker-image.yaml Allows building and pushing a Docker image to a specified Docker repository, without having to specify the repository URL and credentials before build-time.

analytics-platform-common-concourse-tasks's People

Contributors

andyhd avatar andylightfoot avatar isichei avatar r4vi avatar s-block avatar xoen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

analytics-platform-common-concourse-tasks's Issues

Default branch is not main

Hi there
The default branch for this repository is not set to main
See repository settings/settings/branches to rename the default branch to main and ensure the Branch protection rules is set to main as well
See the repository standards: https://github.com/ministryofjustice/github-repository-standards
See the report: https://operations-engineering-reports.cloud-platform.service.justice.gov.uk/github_repositories
Please contact Operations Engineering on Slack #ask-operations-engineering, if you need any assistance

diff-iam-policy needs to account for concourse adding params to policies

concourse-task

Example:

airflow-xhibit-ap
airflow_xhibit_etl
Change in iam_policy.json
--- current.json
+++ new.json
@@ -230,20 +230,6 @@
         "arn:aws:s3:::test_bucket_read_only"
       ],
       "Sid": "list"
-    },
-    {
-      "Action": [
-        "ssm:GetParameter",
-        "ssm:GetParameters",
-        "ssm:GetParameterHistory"
-      ],
-      "Condition": {
-        "StringNotLike": {
-          "ssm:resourceTag/role": "airflow_xhibit_etl"
-        }
-      },
-      "Effect": "Deny",
-      "Resource": "arn:aws:ssm:*::parameter/*"
     }
   ],
   "Version": "2012-10-17"

Because parameter actions are added onto the IAM policy this task will always show a failure due to it being different from the iam policy in the repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.