Skip to content

Commit

Permalink
Add resource files
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Grawert committed Jun 12, 2016
1 parent f4a9433 commit d32dab3
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 0 deletions.
34 changes: 34 additions & 0 deletions resources/cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQCWfdjpUpk873mFaBjyo81GPQ31HRkregB6p0v6AwcSOe/tVZ1f
HzWXn3UYaXNn2MhK//pbZRZt1aI3BdyTkMh/kes1RtThamhitCQe5J6PXGmSZeyq
WANENPMFxT+dFDbNdoT0ZL3q/N0IQBp0crkXYJceIgeE6e+5nCAylHMvwQIDAQAB
AoGAegijFNE+IgOvb1bypA/gLczkvJdUCcVtDgkLuzkpSsZgoPyEGNaeBs3vjlQ0
mUlZYjghNGvMvFQ4rpW6QI9vhYTT4U1qpoicJ3JT2zA0w4u1SbpR6xyU4zMRDfFY
rGAUWf8Taxtb4osk/mVXjNSdOwdF0Wt8ABrwzj3BxC/iAeECQQDH38RUCBXmlBZV
p6SgUnYZbpYUiV/5OHOqiaxLGP/+o+OVlEKhYlICchJzI2exM7h1yA233a3IxhsY
+IGXE3PDAkEAwMAmOCWuLDjhDShdHQdK2zJgF3MQfscduuirlmesugHGI3eZ6itS
MNWByynobyhr9aI0NYja1YyJmADgHMBqKwJASttqq1Iv6aCy0Lett4HKy3GYce6V
bECRSWCwj5u4XMVCukXBwrGRJ2tTr52l+z70qeAYCzHSIWzYvzxrRIq7gwJBAKlR
ocE8yG2sYXXPeUwgtc8rx2GSAHF9tE4WSXTMCd0z5bwOOjSMbZzcUTII1FehKIUU
QcytNZ7V36CZVEWteRUCQQCFwnvCIUmmOfwEfhcxho6k9M20ojpeFpIwDHeXBtfj
eDygIcthfu7eG/OU/r0/qQ378g6gM1IOi3JQ9qasb9Gu
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIIDATCCAmq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E-----
59 changes: 59 additions & 0 deletions resources/custom-config-files.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version='1.0' encoding='UTF-8'?>
<org.jenkinsci.plugins.configfiles.custom.CustomConfigProvider plugin="config-file-provider">
<configs>
<entry>
<string>imgbuild_heat_test_stack</string>
<org.jenkinsci.lib.configprovider.model.Config>
<id>imgbuild_heat_test_stack</id>
<name>imgbuild_heat_test_stack</name>
<comment></comment>
<content><![CDATA[
heat_template_version: 2014-10-16
description: imgbuild test stack
parameters:
key_name:
type: string
description: Name of keypair to assign to servers
image_name:
type: string
description: Image to create instance from
private_net_id:
type: string
description: ID of private network
default: imgbuild
floating_ip_pool:
type: string
description: Pool name from which floating IP is taken
default: public
security_group:
type: string
description: Name of security group to assign
default: ssh
resources:
instance:
type: OS::Nova::Server
properties:
key_name: { get_param: key_name }
image: { get_param: image_name }
flavor: standard.tiny
networks:
- network: { get_param: private_net_id }
security_groups:
- { get_param: security_group }
floating_ip:
type: OS::Nova::FloatingIP
properties:
pool: { get_param: floating_ip_pool }
association:
type: OS::Nova::FloatingIPAssociation
properties:
floating_ip: { get_resource: floating_ip }
server_id: { get_resource: instance }
]]></content>
<providerId>org.jenkinsci.plugins.configfiles.custom.CustomConfig</providerId>
</org.jenkinsci.lib.configprovider.model.Config>
</entry>
</configs>
</org.jenkinsci.plugins.configfiles.custom.CustomConfigProvider>
26 changes: 26 additions & 0 deletions resources/example.ldif
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
dn: dc=example,dc=com
objectClass: dcObject
objectClass: organization
objectClass: top
dc: example
o: Example

dn: ou=Users,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: Users

dn: cn=alice,ou=Users,dc=example,dc=com
objectClass: person
objectClass: top
sn: Alice
cn: alice
userPassword: secret

dn: cn=bobby,ou=Users,dc=example,dc=com
objectClass: person
objectClass: top
sn: Bobby
cn: bobby
userPassword: secret

5 changes: 5 additions & 0 deletions resources/rdo.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[openstack-mitaka]
name=OpenStack Mitaka Repository
baseurl=http://mirror.centos.org/centos/7/cloud/x86_64/openstack-mitaka/
enabled=1
gpgcheck=0

0 comments on commit d32dab3

Please sign in to comment.