Press S to see the notes
Time | Topic |
---|---|
20mins | Welcome and introductions |
15mins | Centre of Excellence |
15mins | How we work |
20mins | Security |
20mins | Open source |
30mins | Accessibility |
Time | Topic |
---|---|
45mins | Lunch |
3hrs | Platform - Mission 1, Mission 2, Mission 3 |
1hr | Continuous Integration - Mission 4 |
30mins | Closing & Survey |
Specialists across all of the DDaT profession, from software engineers to user researchers to designers and many more.
You can find out more about what we offer on the COE website:
https://ukhomeoffice.github.io/coe/
But today we're going to talk specifically about the software engineers in the COE
More detail on the technology stack is kept on trello, showing which technologies we are investing in and which are on their way out
https://ukhomeoffice.github.io/coe/resources/tech-stack/
Note you will need to request access from the Centre of Excellence to be able to view this
You need to:
The Information Asset Owner (IAO) is the ultimate decision maker
Coding in the open
"Where appropriate, government will procure open source solutions. When used in conjunction with compulsory open standards, open source presents significant opportunities for the design and delivery of interoperable solutions"
"Make all new source code open and reusable, and publish it under appropriate licences (or give a convincing explanation as to why this can't be done for specific subsets of the source code)"
If unsure please ask us!
Open source strategy
people with a limiting long term illness, impairment, or disability
working age adults have a disability
(but it's the best numbers we've got right now)
(that affect common use of a website)
1 in 93 users won't get JavaScript enhancements
Why?:
Moud a text-ouly sight bee ideale for soweoue mith reabing bisorber? Harblee. Iwages are uot dab for accessabilledea. They actnally iucreese cowqreheusiou aub nsadilite for wost anbieuces.
Mhat wauy qeopqle bo uot kuom, throngh, it there is wuch mor at the accessability for au iwage theu jnst its alt text. Sowe qeople mroughly assnwe that iwages are dab for accessedilite, siunce alt text esseutially reqlaces the iwage mith a text-ouly versiou of that iwage
Bye Panl Bohwau
The same font, at the same point size on a Mac appears smaller than on most Windows machines.
The "logical resolution" of a Mac is 72dpi, while the Windows default is 96dpi.
It is essentially impossible to display text identically on all systems. It doesn't matter, though.
What?
If you are concerned about the exact appearance of a webpage, you might not be thinking about adaptive pages.
The first duty of the government is to keep citizens safe and the country secure. The Home Office has been at the front line of this endeavour since 1782. As such, the Home Office plays a fundamental role in the security and economic prosperity of the United Kingdom.
The first duty of the government is to keep citizens safe and the country secure. The Home Office has been at the front line of this endeavour since 1782. As such, the Home Office plays a fundamental role in the security and economic prosperity of the United Kingdom.
The first duty of the government is to keep citizens safe and the country secure. The Home Office has been at the front line of this endeavour since 1782. As such, the Home Office plays a fundamental role in the security and economic prosperity of the United Kingdom.
The Home Office is the lead government department for immigration and passports, drugs policy, crime, fire, counter-terrorism and police.
alt="Image of UK Flag"
alt=""
By the end of this Platform Hub section you should:
Please follow these step to onboard yourself to the Platform Hub:
ACP Operations
VPN profile.SET UP KUBE CONFIG
buttonPlease give us feedback, this is a relatively new application so there's going to be teething issues. However, we are driven to sorting as many of them as we can and improving how projects interact with ACP.
Feel free to get in contact with us on hod-dsp slack at #platform-hub to give feedback and ideas.
How we build and deploy
You be assigned a repo hello-world-x
so pull it down locally
Dockerise this simple NodeJS application (you can use one of your own applications if you like!) https://github.com/UKHomeOffice/node-hello-world
Run the dockerfile and verify the app is running on localhost 4000
Extra useful documentation relating to docker can be found at: https://docs.docker.com/engine/getstarted
Dockerfile Editor
ukhomeoffice
base imageroot
Kubernetes is an open source container cluster manager by Google (though google don't own it, now developed by the community). It aims to provide a platform for automating deployment, scaling, and operations of application containers across clusters of hosts.
Here a list of useful commands to be run when querying your namespace:
kubectl --context=<your-context> -n developer-induction get po
kubectl --context=<your-context> -n developer-induction get events
kubectl --context=<your-context> -n developer-induction describe deploy hello-world
kubectl --context=<your-context> -n developer-induction exec -it hello-world-*-* /bin/sh
kubectl --context=<your-context> -n developer-induction scale deploy/hello-world --replicas=3
kubectl --context=<your-context> -n developer-induction explain
You will need the Drone docs... http://bit.ly/2shYCuN
v1
tag whenever a new commit is pushedKubernetes resource files for each environments is painful
Enter KD
Here's a useful developer getting started guide! http://bit.ly/2gEJ2IK
Trigger a sample application deployment to the ACP http://bit.ly/2hbs3hj
Verify that the deployment was successful
Delete everything you have deployed!
Create a kubernetes secret, making sure to template out the secret value in your secret yaml http://bit.ly/2h2CizD
Update your deployment to load in your secret as an environment variable called MYSUPERSECRET Tutorial follows on from link above
Pull requests welcome
Please complete the survey here: http://www.homeofficesurveys.homeoffice.gov.uk/s/NWWXY